OpenCloudOS-Kernel/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 ath5k: use tracing for packet tx/rx dump 2011-01-28 15:44:27 -05:00
Makefile ath5k: Move mac80211 functions into new file 2011-01-04 14:35:11 -05:00
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 ath5k: remove last references to "softc" 2011-08-08 16:04:14 -04:00
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 ath5k: clean up base.h and its use 2011-08-08 16:04:14 -04:00
eeprom.h ath5k: fix typos, bad comment formatting and GHz in place of MHz 2011-07-11 15:02:16 -04:00
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 ath5k: clean up base.h and its use 2011-08-08 16:04:14 -04:00
mac80211-ops.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
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 ath5k: clean up base.h and its use 2011-08-08 16:04:14 -04:00
sysfs.c ath5k: clean up base.h and its use 2011-08-08 16:04:14 -04:00
trace.h ath5k: clean up base.h and its use 2011-08-08 16:04:14 -04:00