Searched refs:eep_ops (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | eeprom.c | 565 ah->eep_ops = &eep_ar9300_ops; in ath9k_hw_eeprom_init() 567 ah->eep_ops = &eep_ar9287_ops; in ath9k_hw_eeprom_init() 569 ah->eep_ops = &eep_4k_ops; in ath9k_hw_eeprom_init() 571 ah->eep_ops = &eep_def_ops; in ath9k_hw_eeprom_init() 574 if (!ah->eep_ops->fill_eeprom(ah)) in ath9k_hw_eeprom_init() 577 status = ah->eep_ops->check_eeprom(ah); in ath9k_hw_eeprom_init()
|
D | ar9002_hw.c | 111 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()
|
D | hw.c | 484 eeval = ah->eep_ops->get_eeprom(ah, EEP_MAC[i]); in ath9k_hw_init_macaddr() 524 ah->eep_ops->get_eeprom_ver(ah), in ath9k_hw_post_init() 525 ah->eep_ops->get_eeprom_rev(ah)); in ath9k_hw_post_init() 534 u16 regdmn = ah->eep_ops->get_eeprom(ah, EEP_REG_0); in ath9k_hw_post_init() 1473 if (ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL)) in ath9k_hw_chip_reset() 1552 ah->eep_ops->set_board_values(ah, chan); in ath9k_hw_channel_change() 1935 ah->eep_ops->set_board_values(ah, chan); in ath9k_hw_reset() 2387 eeval = ah->eep_ops->get_eeprom(ah, EEP_REG_0); in ath9k_hw_fill_cap_info() 2401 eeval = ah->eep_ops->get_eeprom(ah, EEP_OP_MODE); in ath9k_hw_fill_cap_info() 2437 pCap->tx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_TX_MASK); in ath9k_hw_fill_cap_info() [all …]
|
D | ar5008_phy.c | 434 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar5008_hw_spur_mitigate() 530 eepMinorRev = ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV); in ar5008_hw_set_rf_regs() 538 ob2GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_2); in ar5008_hw_set_rf_regs() 539 db2GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_2); in ar5008_hw_set_rf_regs() 545 ob5GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_5); in ar5008_hw_set_rf_regs() 546 db5GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_5); in ar5008_hw_set_rf_regs() 730 if (ah->eep_ops->set_addac) in ar5008_hw_process_ini() 731 ah->eep_ops->set_addac(ah, chan); in ar5008_hw_process_ini()
|
D | common-debug.c | 31 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()
|
D | calib.c | 153 *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()
|
D | eeprom_def.c | 359 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()
|
D | ar9002_phy.c | 112 switch (ah->eep_ops->get_eeprom(ah, EEP_FRAC_N_5G)) { in ar9002_hw_set_channel() 188 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar9002_hw_spur_mitigate()
|
D | ar9002_calib.c | 384 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()
|
D | eeprom.h | 104 ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL)) 106 ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL))
|
D | eeprom_9287.c | 273 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()
|
D | eeprom_4k.c | 286 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()
|
D | hw.h | 788 const struct eeprom_ops *eep_ops; member
|
D | ar9003_phy.c | 1598 ant_div_ctl1 = ah->eep_ops->get_eeprom(ah, EEP_ANT_DIV_CTL1); in ar9003_hw_set_bt_ant_diversity()
|
D | xmit.c | 1130 power_offset = ah->eep_ops->get_eeprom(ah, in ath_get_rate_txpower()
|