Home
last modified time | relevance | path

Searched refs:AR5K_PHY_NF_M (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/ath/ath5k/
Dreg.h2026 #define AR5K_PHY_NF_M 0x000001ff /* Noise floor, written to hardware in 1/2 dBm units */ macro
2027 #define AR5K_PHY_NF_SVAL(_n) (((_n) & AR5K_PHY_NF_M) | (1 << 9))
Dphy.c1630 val = ath5k_hw_reg_read(ah, AR5K_PHY_NF) & ~AR5K_PHY_NF_M; in ath5k_hw_update_noise_floor()
1631 val |= (nf * 2) & AR5K_PHY_NF_M; in ath5k_hw_update_noise_floor()
1646 val = (val & ~AR5K_PHY_NF_M) | ((-50 * 2) & AR5K_PHY_NF_M); in ath5k_hw_update_noise_floor()