Lines Matching defs:chain

1164      * check chain value
1519 u_int16_t ar9300_ant_ctrl_chain_get(struct ath_hal *ah, int chain,
1523 if (chain >= 0 && chain < OSPREY_MAX_CHAINS) {
1525 return eep->modal_header_2g.ant_ctrl_chain[chain];
1527 return eep->modal_header_5g.ant_ctrl_chain[chain];
1725 ar9300_attenuation_chain_get(struct ath_hal *ah, int chain, u_int16_t channel)
1730 if (chain >= 0 && chain < OSPREY_MAX_CHAINS) {
1732 return eep->modal_header_2g.xatten1_db[chain];
1734 if (eep->base_ext2.xatten1_db_low[chain] != 0) {
1735 t[0] = eep->base_ext2.xatten1_db_low[chain];
1737 t[1] = eep->modal_header_5g.xatten1_db[chain];
1739 t[2] = eep->base_ext2.xatten1_db_high[chain];
1744 return eep->modal_header_5g.xatten1_db[chain];
1752 ar9300_attenuation_margin_chain_get(struct ath_hal *ah, int chain,
1758 if (chain >= 0 && chain < OSPREY_MAX_CHAINS) {
1760 return eep->modal_header_2g.xatten1_margin[chain];
1762 if (eep->base_ext2.xatten1_margin_low[chain] != 0) {
1763 t[0] = eep->base_ext2.xatten1_margin_low[chain];
1765 t[1] = eep->modal_header_5g.xatten1_margin[chain];
1767 t[2] = eep->base_ext2.xatten1_margin_high[chain];
1772 return eep->modal_header_5g.xatten1_margin[chain];
1819 int chain, u_int16_t channel)
1896 "%s: Invalid chain index, must be less than %d\n",
2160 * Scorpion has individual chain tempslope values
2185 /*Scorpion has tempSlope register for each chain*/
2370 * per chain tx power level
2898 /* Adjusting maxpower based on chain */
2908 /* Adjusting maxpower based on chain */
2921 /* Transmit Power per-rate per-chain are computed here. A separate
2924 * The reason for maintaing each of these tables per chain is that
2953 * Disable per chain power reduction since we are already