Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Deeprom.c209 if (ah->eep_ops->get_eepmisc(ah) & AR5416_EEPMISC_BIG_ENDIAN) { in ath9k_hw_nvram_swap_data()
241 if (ah->eep_ops->get_eeprom_ver(ah) != version || in ath9k_hw_nvram_check_version()
242 ah->eep_ops->get_eeprom_rev(ah) < minrev) { in ath9k_hw_nvram_check_version()
244 ah->eep_ops->get_eeprom_ver(ah), in ath9k_hw_nvram_check_version()
245 ah->eep_ops->get_eeprom_rev(ah)); in ath9k_hw_nvram_check_version()
674 ah->eep_ops = &eep_ar9300_ops; in ath9k_hw_eeprom_init()
676 ah->eep_ops = &eep_ar9287_ops; in ath9k_hw_eeprom_init()
678 ah->eep_ops = &eep_4k_ops; in ath9k_hw_eeprom_init()
680 ah->eep_ops = &eep_def_ops; in ath9k_hw_eeprom_init()
683 if (!ah->eep_ops->fill_eeprom(ah)) in ath9k_hw_eeprom_init()
[all …]
H A Dar9002_hw.c111 if (ah->eep_ops->get_eeprom_rev(ah) >= AR5416_EEP_MINOR_VER_17) { in ar9280_20_hw_init_rxgain_ini()
112 rxgain_type = ah->eep_ops->get_eeprom(ah, EEP_RXGAIN_TYPE); in ar9280_20_hw_init_rxgain_ini()
131 if (ah->eep_ops->get_eeprom_rev(ah) >= AR5416_EEP_MINOR_VER_19) { in ar9280_20_hw_init_txgain_ini()
156 u32 txgain_type = ah->eep_ops->get_eeprom(ah, EEP_TXGAIN_TYPE); in ar9002_hw_init_mode_gain_regs()
H A Dhw.c498 eeval = ah->eep_ops->get_eeprom(ah, EEP_MAC[i]); in ath9k_hw_init_macaddr()
537 ah->eep_ops->get_eeprom_ver(ah), in ath9k_hw_post_init()
538 ah->eep_ops->get_eeprom_rev(ah)); in ath9k_hw_post_init()
1519 if (ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL)) in ath9k_hw_chip_reset()
1598 ah->eep_ops->set_board_values(ah, chan); in ath9k_hw_channel_change()
1986 ah->eep_ops->set_board_values(ah, chan); in ath9k_hw_reset()
2493 eeval = ah->eep_ops->get_eeprom(ah, EEP_REG_0); in ath9k_hw_fill_cap_info()
2507 eeval = ah->eep_ops->get_eeprom(ah, EEP_OP_MODE); in ath9k_hw_fill_cap_info()
2681 ah->eep_ops->get_eeprom(ah, EEP_PAPRD)) in ath9k_hw_fill_cap_info()
2951 return ah->eep_ops->get_eeprom(ah, gain_param); in get_antenna_gain()
[all …]
H A Dar5008_phy.c447 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar5008_hw_spur_mitigate()
543 eepMinorRev = ah->eep_ops->get_eeprom_rev(ah); in ar5008_hw_set_rf_regs()
551 ob2GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_2); in ar5008_hw_set_rf_regs()
552 db2GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_2); in ar5008_hw_set_rf_regs()
558 ob5GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_5); in ar5008_hw_set_rf_regs()
559 db5GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_5); in ar5008_hw_set_rf_regs()
745 if (ah->eep_ops->set_addac) in ar5008_hw_process_ini()
746 ah->eep_ops->set_addac(ah, chan); in ar5008_hw_process_ini()
H A 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()
H A Dcalib.c159 *nft = (int8_t)ah->eep_ops->get_eeprom(ah, EEP_NFTHRESH_5); in ath9k_hw_get_nf_thresh()
162 *nft = (int8_t)ah->eep_ops->get_eeprom(ah, EEP_NFTHRESH_2); in ath9k_hw_get_nf_thresh()
H A Dar9002_phy.c112 switch (ah->eep_ops->get_eeprom(ah, EEP_FRAC_N_5G)) { in ar9002_hw_set_channel()
189 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar9002_hw_spur_mitigate()
H A Dar9002_calib.c393 slope = ah->eep_ops->get_eeprom(ah, EEP_TEMPSENSE_SLOPE); in ar9287_hw_olc_temp_compensation()
418 if (ah->eep_ops->get_eeprom(ah, EEP_DAC_HPWR_5G)) in ar9280_hw_olc_temp_compensation()
560 if (ah->eep_ops->get_eeprom(ah, EEP_TXGAIN_TYPE) == in ar9285_hw_pa_cal()
H A Deeprom.h114 _ah->eep_ops->get_eeprom(_ah, EEP_OL_PWRCTRL))
116 _ah->eep_ops->get_eeprom(_ah, EEP_OL_PWRCTRL))
H A Deeprom_def.c648 if (ah->eep_ops->get_eeprom_rev(ah) < AR5416_EEP_MINOR_VER_7) in ath9k_hw_def_set_addac()
785 pwr_table_offset = ah->eep_ops->get_eeprom(ah, EEP_PWR_TABLE_OFFSET); in ath9k_hw_set_def_power_cal_table()
1186 pwr_table_offset = ah->eep_ops->get_eeprom(ah, in ath9k_hw_def_set_txpower()
H A Dhw.h793 const struct eeprom_ops *eep_ops; member
H A Dxmit.c1215 u16 eeprom_rev = ah->eep_ops->get_eeprom_rev(ah); in ath_get_rate_txpower()
1234 power_offset = ah->eep_ops->get_eeprom(ah, in ath_get_rate_txpower()
H A Dar9003_phy.c1577 ant_div_ctl1 = ah->eep_ops->get_eeprom(ah, EEP_ANT_DIV_CTL1); in ar9003_hw_set_bt_ant_diversity()