Home
last modified time | relevance | path

Searched refs:rx_chainmask (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c109 if (!(ah->caps.rx_chainmask & (1 << chain))) in ar9003_hw_rtt_load_hist()
174 if (!(ah->caps.rx_chainmask & (1 << chain))) in ar9003_hw_rtt_fill_hist()
196 if (!(ah->caps.rx_chainmask & (1 << chain))) in ar9003_hw_rtt_clear_hist()
H A Dar5008_phy.c592 int rx_chainmask, tx_chainmask; in ar5008_hw_init_chain_masks() local
594 rx_chainmask = ah->rxchainmask; in ar5008_hw_init_chain_masks()
598 switch (rx_chainmask) { in ar5008_hw_init_chain_masks()
614 REG_WRITE(ah, AR_PHY_RX_CHAINMASK, rx_chainmask); in ar5008_hw_init_chain_masks()
615 REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, rx_chainmask); in ar5008_hw_init_chain_masks()
905 int rx_chainmask = ah->rxchainmask; in ar5008_restore_chainmask() local
907 if ((rx_chainmask == 0x5) || (rx_chainmask == 0x3)) { in ar5008_restore_chainmask()
908 REG_WRITE(ah, AR_PHY_RX_CHAINMASK, rx_chainmask); in ar5008_restore_chainmask()
909 REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, rx_chainmask); in ar5008_restore_chainmask()
H A Dhw.c2491 u8 ant_div_ctl1, tx_chainmask, rx_chainmask; in ath9k_hw_fill_cap_info() local
2554 pCap->rx_chainmask = ath9k_hw_gpio_get(ah, 0) ? 0x5 : 0x7; in ath9k_hw_fill_cap_info()
2556 pCap->rx_chainmask = 0x7; in ath9k_hw_fill_cap_info()
2559 pCap->rx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_RX_MASK); in ath9k_hw_fill_cap_info()
2562 pCap->rx_chainmask = fixup_chainmask(pCap->chip_chainmask, pCap->rx_chainmask); in ath9k_hw_fill_cap_info()
2564 ah->rxchainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2661 rx_chainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2662 while (tx_chainmask || rx_chainmask) { in ath9k_hw_fill_cap_info()
2665 if (rx_chainmask & BIT(0)) in ath9k_hw_fill_cap_info()
2669 rx_chainmask >>= 1; in ath9k_hw_fill_cap_info()
H A Dmain.c2335 return (ah->caps.rx_chainmask == 1); in validate_antenna_mask()
2346 if (ah->caps.rx_chainmask != 1) in ath9k_set_antenna()
2355 if (ah->caps.rx_chainmask == 1) in ath9k_set_antenna()
2362 ah->rxchainmask = fill_chainmask(ah->caps.rx_chainmask, rx_ant); in ath9k_set_antenna()
H A Dar9003_calib.c1407 ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); in ar9003_hw_init_cal_pcoem()
1588 ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); in ar9003_hw_init_cal_soc()
H A Dar9003_phy.c669 if (ah->caps.tx_chainmask == 5 || ah->caps.rx_chainmask == 5) in ar9003_hw_set_chain_masks()
1299 if (ah->caps.rx_chainmask == 1) in ar9003_hw_ani_control()
H A Dhw.h299 u8 rx_chainmask; member