Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
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()
Dar5008_phy.c579 int rx_chainmask, tx_chainmask; in ar5008_hw_init_chain_masks() local
581 rx_chainmask = ah->rxchainmask; in ar5008_hw_init_chain_masks()
585 switch (rx_chainmask) { in ar5008_hw_init_chain_masks()
599 REG_WRITE(ah, AR_PHY_RX_CHAINMASK, rx_chainmask); in ar5008_hw_init_chain_masks()
600 REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, rx_chainmask); in ar5008_hw_init_chain_masks()
890 int rx_chainmask = ah->rxchainmask; in ar5008_restore_chainmask() local
892 if ((rx_chainmask == 0x5) || (rx_chainmask == 0x3)) { in ar5008_restore_chainmask()
893 REG_WRITE(ah, AR_PHY_RX_CHAINMASK, rx_chainmask); in ar5008_restore_chainmask()
894 REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, rx_chainmask); in ar5008_restore_chainmask()
Dhw.c2403 u8 ant_div_ctl1, tx_chainmask, rx_chainmask; in ath9k_hw_fill_cap_info() local
2464 pCap->rx_chainmask = ath9k_hw_gpio_get(ah, 0) ? 0x5 : 0x7; in ath9k_hw_fill_cap_info()
2466 pCap->rx_chainmask = 0x7; in ath9k_hw_fill_cap_info()
2469 pCap->rx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_RX_MASK); in ath9k_hw_fill_cap_info()
2472 pCap->rx_chainmask = fixup_chainmask(pCap->chip_chainmask, pCap->rx_chainmask); in ath9k_hw_fill_cap_info()
2474 ah->rxchainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2586 rx_chainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2587 while (tx_chainmask || rx_chainmask) { in ath9k_hw_fill_cap_info()
2590 if (rx_chainmask & BIT(0)) in ath9k_hw_fill_cap_info()
2594 rx_chainmask >>= 1; in ath9k_hw_fill_cap_info()
Dmain.c2283 return (ah->caps.rx_chainmask == 1); in validate_antenna_mask()
2294 if (ah->caps.rx_chainmask != 1) in ath9k_set_antenna()
2303 if (ah->caps.rx_chainmask == 1) in ath9k_set_antenna()
2310 ah->rxchainmask = fill_chainmask(ah->caps.rx_chainmask, rx_ant); in ath9k_set_antenna()
Dar9003_calib.c1398 ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); in ar9003_hw_init_cal_pcoem()
1595 ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); in ar9003_hw_init_cal_soc()
Dar9003_phy.c695 if (ah->caps.tx_chainmask == 5 || ah->caps.rx_chainmask == 5) in ar9003_hw_set_chain_masks()
1323 if (ah->caps.rx_chainmask == 1) in ar9003_hw_ani_control()
Dhw.h299 u8 rx_chainmask; member