Lines Matching defs:ah
27 void ath9k_hw_analog_shift_regwrite(struct ath_hw *ah, u32 reg, u32 val)
29 REG_WRITE(ah, reg, val);
31 if (ah->config.analog_shiftreg)
35 void ath9k_hw_analog_shift_rmw(struct ath_hw *ah, u32 reg, u32 mask,
40 regVal = REG_READ(ah, reg) & ~mask;
43 REG_WRITE(ah, reg, regVal);
45 if (ah->config.analog_shiftreg)
124 void ath9k_hw_get_legacy_target_powers(struct ath_hw *ah,
137 ath9k_hw_get_channel_centers(ah, chan, ¢ers);
179 void ath9k_hw_get_target_powers(struct ath_hw *ah,
192 ath9k_hw_get_channel_centers(ah, chan, ¢ers);
261 void ath9k_hw_update_regulatory_maxpower(struct ath_hw *ah)
263 struct ath_common *common = ath9k_hw_common(ah);
264 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
266 switch (ar5416_get_ntxchains(ah->txchainmask)) {
282 int ath9k_hw_eeprom_init(struct ath_hw *ah)
286 if (AR_SREV_9300_20_OR_LATER(ah))
287 ah->eep_ops = &eep_ar9300_ops;
288 else if (AR_SREV_9287(ah)) {
289 ah->eep_ops = &eep_ar9287_ops;
290 } else if (AR_SREV_9285(ah) || AR_SREV_9271(ah)) {
291 ah->eep_ops = &eep_4k_ops;
293 ah->eep_ops = &eep_def_ops;
296 if (!ah->eep_ops->fill_eeprom(ah))
299 status = ah->eep_ops->check_eeprom(ah);