Searched refs:AR5K_PHY_NF_M (Results 1 – 2 of 2) sorted by relevance
2026 #define AR5K_PHY_NF_M 0x000001ff /* Noise floor, written to hardware in 1/2 dBm units */ macro2027 #define AR5K_PHY_NF_SVAL(_n) (((_n) & AR5K_PHY_NF_M) | (1 << 9))
1630 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()