linux/drivers/net/wireless/ath/ath5k
Nick Kossifidis 9a39169105 ath5k: Optimize ath5k_cw_validate
Optimize ath5k_cw_validate by using the classic (X & (X - 1)) == 0
check to see if a number is power of 2.

v2: Use functions from log2.h instead

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-28 14:44:23 -05:00
..
Kconfig
Makefile
ahb.c ath5k: MRR support and 2GHz radio override belong in ah_capabilities 2011-11-28 14:44:19 -05:00
ani.c ath5k: ath5k_ani_period_restart only touches struct ath5k_ani_state 2011-11-28 14:44:21 -05:00
ani.h ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
ath5k.h ath5k: Renumber hw queue ids 2011-11-28 14:44:22 -05:00
attach.c ath5k: MRR support and 2GHz radio override belong in ah_capabilities 2011-11-28 14:44:19 -05:00
base.c ath5k: MRR support and 2GHz radio override belong in ah_capabilities 2011-11-28 14:44:19 -05:00
base.h
caps.c ath5k: MRR support and 2GHz radio override belong in ah_capabilities 2011-11-28 14:44:19 -05:00
debug.c drivers/net: wireless/ath/ath5k/debug.c does not need module.h 2011-10-31 19:31:09 -04:00
debug.h treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
desc.c ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
desc.h ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
dma.c ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
eeprom.c
eeprom.h
gpio.c ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
initvals.c ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
led.c
mac80211-ops.c
pci.c ath5k: Use usleep_range where possible 2011-11-28 14:44:15 -05:00
pcu.c ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
phy.c ath5k: We always do full calibration on AR5210 2011-11-28 14:44:17 -05:00
qcu.c ath5k: Optimize ath5k_cw_validate 2011-11-28 14:44:23 -05:00
reg.h ath5k: Switch from read-and-clear to write-to-clear method when handling PISR/SISR registers 2011-11-28 14:44:10 -05:00
reset.c ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
rfbuffer.h ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
rfgain.h ath5k: Cleanups v2 + add kerneldoc on all hw functions 2011-11-28 14:44:16 -05:00
rfkill.c
sysfs.c
trace.h