Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c559 int rx_chainmask, tx_chainmask; in ar5008_hw_init_chain_masks() local
561 rx_chainmask = ah->rxchainmask; in ar5008_hw_init_chain_masks()
565 switch (rx_chainmask) { in ar5008_hw_init_chain_masks()
579 REG_WRITE(ah, AR_PHY_RX_CHAINMASK, rx_chainmask); in ar5008_hw_init_chain_masks()
580 REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, rx_chainmask); in ar5008_hw_init_chain_masks()
880 int rx_chainmask = ah->rxchainmask; in ar5008_restore_chainmask() local
882 if ((rx_chainmask == 0x5) || (rx_chainmask == 0x3)) { in ar5008_restore_chainmask()
883 REG_WRITE(ah, AR_PHY_RX_CHAINMASK, rx_chainmask); in ar5008_restore_chainmask()
884 REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, rx_chainmask); in ar5008_restore_chainmask()
Dhw.c2411 u8 ant_div_ctl1, tx_chainmask, rx_chainmask; in ath9k_hw_fill_cap_info() local
2463 pCap->rx_chainmask = ath9k_hw_gpio_get(ah, 0) ? 0x5 : 0x7; in ath9k_hw_fill_cap_info()
2465 pCap->rx_chainmask = 0x7; in ath9k_hw_fill_cap_info()
2468 pCap->rx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_RX_MASK); in ath9k_hw_fill_cap_info()
2471 pCap->rx_chainmask = fixup_chainmask(chip_chainmask, pCap->rx_chainmask); in ath9k_hw_fill_cap_info()
2473 ah->rxchainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2588 rx_chainmask = pCap->rx_chainmask; in ath9k_hw_fill_cap_info()
2589 while (tx_chainmask || rx_chainmask) { in ath9k_hw_fill_cap_info()
2592 if (rx_chainmask & BIT(0)) in ath9k_hw_fill_cap_info()
2596 rx_chainmask >>= 1; in ath9k_hw_fill_cap_info()
Dmain.c1943 return (ah->caps.rx_chainmask == 1); in validate_antenna_mask()
1954 if (ah->caps.rx_chainmask != 1) in ath9k_set_antenna()
1963 if (ah->caps.rx_chainmask == 1) in ath9k_set_antenna()
1970 ah->rxchainmask = fill_chainmask(ah->caps.rx_chainmask, rx_ant); in ath9k_set_antenna()
Dhw.h269 u8 rx_chainmask; member
Dar9003_calib.c1027 ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); in ar9003_hw_init_cal()
Dar9003_phy.c595 if (ah->caps.tx_chainmask == 5 || ah->caps.rx_chainmask == 5) in ar9003_hw_set_chain_masks()
Ddebug.c164 ah->caps.rx_chainmask = mask; in write_file_rx_chainmask()