Searched refs:rx_chainmask (Results 1 – 7 of 7) sorted by relevance
/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 559 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()
|
D | hw.c | 2411 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()
|
D | main.c | 1943 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()
|
D | hw.h | 269 u8 rx_chainmask; member
|
D | ar9003_calib.c | 1027 ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); in ar9003_hw_init_cal()
|
D | ar9003_phy.c | 595 if (ah->caps.tx_chainmask == 5 || ah->caps.rx_chainmask == 5) in ar9003_hw_set_chain_masks()
|
D | debug.c | 164 ah->caps.rx_chainmask = mask; in write_file_rx_chainmask()
|