Home
last modified time | relevance | path

Searched refs:eep_ops (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Deeprom.c566 ah->eep_ops = &eep_ar9300_ops; in ath9k_hw_eeprom_init()
568 ah->eep_ops = &eep_ar9287_ops; in ath9k_hw_eeprom_init()
570 ah->eep_ops = &eep_4k_ops; in ath9k_hw_eeprom_init()
572 ah->eep_ops = &eep_def_ops; in ath9k_hw_eeprom_init()
575 if (!ah->eep_ops->fill_eeprom(ah)) in ath9k_hw_eeprom_init()
578 status = ah->eep_ops->check_eeprom(ah); in ath9k_hw_eeprom_init()
Dar9002_hw.c111 if (ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) >= in ar9280_20_hw_init_rxgain_ini()
113 rxgain_type = ah->eep_ops->get_eeprom(ah, EEP_RXGAIN_TYPE); in ar9280_20_hw_init_rxgain_ini()
132 if (ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) >= in ar9280_20_hw_init_txgain_ini()
158 u32 txgain_type = ah->eep_ops->get_eeprom(ah, EEP_TXGAIN_TYPE); in ar9002_hw_init_mode_gain_regs()
Dhw.c483 eeval = ah->eep_ops->get_eeprom(ah, EEP_MAC[i]); in ath9k_hw_init_macaddr()
523 ah->eep_ops->get_eeprom_ver(ah), in ath9k_hw_post_init()
524 ah->eep_ops->get_eeprom_rev(ah)); in ath9k_hw_post_init()
533 u16 regdmn = ah->eep_ops->get_eeprom(ah, EEP_REG_0); in ath9k_hw_post_init()
1471 if (ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL)) in ath9k_hw_chip_reset()
1550 ah->eep_ops->set_board_values(ah, chan); in ath9k_hw_channel_change()
1933 ah->eep_ops->set_board_values(ah, chan); in ath9k_hw_reset()
2385 eeval = ah->eep_ops->get_eeprom(ah, EEP_REG_0); in ath9k_hw_fill_cap_info()
2399 eeval = ah->eep_ops->get_eeprom(ah, EEP_OP_MODE); in ath9k_hw_fill_cap_info()
2435 pCap->tx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_TX_MASK); in ath9k_hw_fill_cap_info()
[all …]
Dar5008_phy.c297 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar5008_hw_spur_mitigate()
521 eepMinorRev = ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV); in ar5008_hw_set_rf_regs()
529 ob2GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_2); in ar5008_hw_set_rf_regs()
530 db2GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_2); in ar5008_hw_set_rf_regs()
536 ob5GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_5); in ar5008_hw_set_rf_regs()
537 db5GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_5); in ar5008_hw_set_rf_regs()
721 if (ah->eep_ops->set_addac) in ar5008_hw_process_ini()
722 ah->eep_ops->set_addac(ah, chan); in ar5008_hw_process_ini()
Dcommon-debug.c31 len = ah->eep_ops->dump_eeprom(ah, false, buf, len, size); in read_file_modal_eeprom()
67 len = ah->eep_ops->dump_eeprom(ah, true, buf, len, size); in read_file_base_eeprom()
Dcalib.c153 *nft = (int8_t)ah->eep_ops->get_eeprom(ah, EEP_NFTHRESH_5); in ath9k_hw_get_nf_thresh()
156 *nft = (int8_t)ah->eep_ops->get_eeprom(ah, EEP_NFTHRESH_2); in ath9k_hw_get_nf_thresh()
Deeprom_def.c359 if (sum != 0xffff || ah->eep_ops->get_eeprom_ver(ah) != AR5416_EEP_VER || in ath9k_hw_def_check_eeprom()
360 ah->eep_ops->get_eeprom_rev(ah) < AR5416_EEP_NO_BACK_VER) { in ath9k_hw_def_check_eeprom()
362 sum, ah->eep_ops->get_eeprom_ver(ah)); in ath9k_hw_def_check_eeprom()
693 if (ah->eep_ops->get_eeprom_rev(ah) < AR5416_EEP_MINOR_VER_7) in ath9k_hw_def_set_addac()
830 pwr_table_offset = ah->eep_ops->get_eeprom(ah, EEP_PWR_TABLE_OFFSET); in ath9k_hw_set_def_power_cal_table()
1234 pwr_table_offset = ah->eep_ops->get_eeprom(ah, in ath9k_hw_def_set_txpower()
Dar9002_phy.c112 switch (ah->eep_ops->get_eeprom(ah, EEP_FRAC_N_5G)) { in ar9002_hw_set_channel()
205 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar9002_hw_spur_mitigate()
Dar9002_calib.c384 slope = ah->eep_ops->get_eeprom(ah, EEP_TEMPSENSE_SLOPE); in ar9287_hw_olc_temp_compensation()
409 if (ah->eep_ops->get_eeprom(ah, EEP_DAC_HPWR_5G)) in ar9280_hw_olc_temp_compensation()
551 if (ah->eep_ops->get_eeprom(ah, EEP_TXGAIN_TYPE) == in ar9285_hw_pa_cal()
Deeprom.h104 ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL))
106 ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL))
Deeprom_9287.c273 if (sum != 0xffff || ah->eep_ops->get_eeprom_ver(ah) != AR9287_EEP_VER in ath9k_hw_ar9287_check_eeprom()
274 || ah->eep_ops->get_eeprom_rev(ah) < AR5416_EEP_NO_BACK_VER) { in ath9k_hw_ar9287_check_eeprom()
276 sum, ah->eep_ops->get_eeprom_ver(ah)); in ath9k_hw_ar9287_check_eeprom()
Deeprom_4k.c286 if (sum != 0xffff || ah->eep_ops->get_eeprom_ver(ah) != AR5416_EEP_VER || in ath9k_hw_4k_check_eeprom()
287 ah->eep_ops->get_eeprom_rev(ah) < AR5416_EEP_NO_BACK_VER) { in ath9k_hw_4k_check_eeprom()
289 sum, ah->eep_ops->get_eeprom_ver(ah)); in ath9k_hw_4k_check_eeprom()
Dhw.h788 const struct eeprom_ops *eep_ops; member
Dar9003_phy.c1599 ant_div_ctl1 = ah->eep_ops->get_eeprom(ah, EEP_ANT_DIV_CTL1); in ar9003_hw_set_bt_ant_diversity()
Dxmit.c1141 power_offset = ah->eep_ops->get_eeprom(ah, in ath_get_rate_txpower()