freebsd-src/sys/dev/aic7xxx
Doug Moore f0a0420dfd powerof2: replace loops with fls or ilog2
In several places, a loop tests for powers of two, or iterates through
powers of two.  In those places, replace the loop with an invocation
of fls or ilog2 without changing the meaning of the code.

Reviewed by:	alc, markj, kib, np, erj, avg (previous version)
Differential Revision:	https://reviews.freebsd.org/D45494
2024-06-12 05:00:48 -05:00
..
aicasm aic7xxx: aicasm correct include file 2024-05-04 08:39:02 -06:00
ahc_isa.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
ahc_pci.c ahc(4): Default to memory mapped IO 2024-05-09 20:15:08 -06:00
ahd_pci.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic7xxx.c aic7xxx: make target mode enable a device hint 2024-05-04 08:40:38 -06:00
aic7xxx.h ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic7xxx.reg sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic7xxx.seq aic7xxx: Fix two typos in source code comments 2024-01-22 21:47:23 +01:00
aic7xxx_93cx6.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic7xxx_93cx6.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic7xxx_inline.h ahc(4): resolve some minor nits 2024-04-20 22:04:04 -05:00
aic7xxx_osm.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic7xxx_osm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic7xxx_pci.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic7xxx_reg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic7xxx_reg_print.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic7xxx_seq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic79xx.c powerof2: replace loops with fls or ilog2 2024-06-12 05:00:48 -05:00
aic79xx.h ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic79xx.reg sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic79xx.seq aic7xxx: Fix two typos in source code comments 2024-01-22 21:47:23 +01:00
aic79xx_inline.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic79xx_osm.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic79xx_osm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic79xx_pci.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic79xx_reg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic79xx_reg_print.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic79xx_seq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
aic7770.c ahc(4) clean up old Linux defines 2024-04-23 14:56:11 -06:00
aic_osm_lib.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
aic_osm_lib.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00