/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_eeprom.c | 3206 if (eep == NULL) { in ar9300_compress_decision() 3279 struct ar9300_eeprom *eep; in ar9300_eeprom_restore_internal() local 3450 pBase = &eep->baseEepHeader; in ar9003_dump_cal_data() 3504 &eep->modalHeader2G); in ath9k_hw_ar9003_dump_eeprom() 3512 &eep->modalHeader5G); in ath9k_hw_ar9003_dump_eeprom() 3520 pBase = &eep->baseEepHeader; in ath9k_hw_ar9003_dump_eeprom() 3599 return &eep->modalHeader2G; in ar9003_modal_header() 3601 return &eep->modalHeader5G; in ar9003_modal_header() 5161 &eep->ctl_freqbin_2G[idx][0] : in ar9003_hw_get_indirect_edge_power() 5162 &eep->ctl_freqbin_5G[idx][0]; in ar9003_hw_get_indirect_edge_power() [all …]
|
A D | eeprom_def.c | 215 &eep->modalHeader[0]); in ath9k_hw_def_dump_eeprom() 219 &eep->modalHeader[1]); in ath9k_hw_def_dump_eeprom() 279 el = le16_to_cpu(eep->baseEepHeader.length); in ath9k_hw_def_check_eeprom() 299 &eep->modalHeader[j]; in ath9k_hw_def_check_eeprom() 321 (eep->baseEepHeader.pwdclkind == 0)) in ath9k_hw_def_check_eeprom() 326 eep->modalHeader[0].xpaBiasLvl = 0; in ath9k_hw_def_check_eeprom() 418 struct ar5416_eeprom_def *eep, in ath9k_hw_def_set_gain() argument 619 eep->baseEepHeader.dacLpMode); in ath9k_hw_def_set_board_values() 620 else if (eep->baseEepHeader.dacHiPwrMode_5G) in ath9k_hw_def_set_board_values() 624 eep->baseEepHeader.dacLpMode); in ath9k_hw_def_set_board_values() [all …]
|
A D | eeprom_9287.c | 40 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in __ath9k_hw_ar9287_fill_eeprom() local 43 eep_data = (u16 *)eep; in __ath9k_hw_ar9287_fill_eeprom() 129 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in ath9k_hw_ar9287_dump_eeprom() local 137 &eep->modalHeader); in ath9k_hw_ar9287_dump_eeprom() 189 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in ath9k_hw_ar9287_check_eeprom() local 198 el = le16_to_cpu(eep->baseEepHeader.length); in ath9k_hw_ar9287_check_eeprom() 205 EEPROM_FIELD_SWAB16(eep->baseEepHeader.length); in ath9k_hw_ar9287_check_eeprom() 207 EEPROM_FIELD_SWAB16(eep->baseEepHeader.version); in ath9k_hw_ar9287_check_eeprom() 220 eep->modalHeader.spurChans[i].spurChan); in ath9k_hw_ar9287_check_eeprom() 235 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in ath9k_hw_ar9287_get_eeprom() local [all …]
|
A D | eeprom_4k.c | 133 struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k; in ath9k_hw_4k_dump_eeprom() local 141 &eep->modalHeader); in ath9k_hw_4k_dump_eeprom() 188 struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k; in ath9k_hw_4k_check_eeprom() local 200 el = le16_to_cpu(eep->baseEepHeader.length); in ath9k_hw_4k_check_eeprom() 207 EEPROM_FIELD_SWAB16(eep->baseEepHeader.length); in ath9k_hw_4k_check_eeprom() 208 EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum); in ath9k_hw_4k_check_eeprom() 209 EEPROM_FIELD_SWAB16(eep->baseEepHeader.version); in ath9k_hw_4k_check_eeprom() 222 eep->modalHeader.spurChans[i].spurChan); in ath9k_hw_4k_check_eeprom() 237 struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k; in ath9k_hw_4k_get_eeprom() local 701 struct ar5416_eeprom_4k *eep, in ath9k_hw_4k_set_gain() argument [all …]
|
A D | xmit.c | 1192 struct ar5416_eeprom_def *eep = &ah->eeprom.def; in ath_get_rate_txpower() local 1200 pmodal = &eep->modalHeader[is_2ghz]; in ath_get_rate_txpower()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | eeprom.h | 108 u8 *eep = dev->mt76.eeprom.data; in mt7615_ext_pa_enabled() local 111 return !(eep[MT_EE_NIC_CONF_1 + 1] & MT_EE_NIC_CONF_TSSI_5G); in mt7615_ext_pa_enabled() 113 return !(eep[MT_EE_NIC_CONF_1 + 1] & MT_EE_NIC_CONF_TSSI_2G); in mt7615_ext_pa_enabled()
|
A D | testmode.c | 55 u8 *data, *eep = (u8 *)dev->mt76.eeprom.data; in mt7615_tm_set_tx_power() local 79 data = skb_put_data(skb, eep + MT_EE_NIC_CONF_0, len); in mt7615_tm_set_tx_power()
|
A D | init.c | 277 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7615_init_txpower() local 283 rate_val = eep[delta_idx]; in mt7615_init_txpower() 305 target_power = max(target_power, eep[index]); in mt7615_init_txpower()
|
A D | mcu.c | 1749 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7615_mcu_set_eeprom() local 1776 skb_put_data(skb, eep + offset, eep_len); in mt7615_mcu_set_eeprom() 2334 u8 *eep = dev->mt76.eeprom.data; in mt7615_mcu_apply_rx_dcoc() local 2336 if (!(eep[MT_EE_CALDATA_FLASH] & MT_EE_CALDATA_FLASH_RX_CAL)) in mt7615_mcu_apply_rx_dcoc() 2350 memcpy(req.dcoc_data, eep + MT7615_EEPROM_DCOC_OFFSET + in mt7615_mcu_apply_rx_dcoc() 2455 u8 *eep = dev->mt76.eeprom.data; in mt7615_mcu_apply_tx_dpd() local 2457 if (!(eep[MT_EE_CALDATA_FLASH] & MT_EE_CALDATA_FLASH_TX_DPD)) in mt7615_mcu_apply_tx_dpd() 2471 memcpy(&req.dpd_data, eep + MT7615_EEPROM_TXDPD_OFFSET + in mt7615_mcu_apply_tx_dpd()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | eeprom.h | 146 u8 *eep = dev->mt76.eeprom.data; in mt7915_tssi_enabled() local 147 u8 val = eep[MT_EE_WIFI_CONF + 7]; in mt7915_tssi_enabled()
|
A D | mcu.c | 2795 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7915_mcu_set_eeprom_flash() local 2799 for (i = 0; i < total; i++, eep += eep_len) { in mt7915_mcu_set_eeprom_flash() 2818 skb_put_data(skb, eep, eep_len); in mt7915_mcu_set_eeprom_flash() 2923 u8 idx = 0, *cal = dev->cal, *eep = dev->mt76.eeprom.data; in mt7915_mcu_apply_group_cal() local 2926 if (!(eep[MT_EE_DO_PRE_CAL] & MT_EE_WIFI_CAL_GROUP)) in mt7915_mcu_apply_group_cal() 3007 u8 *cal = dev->cal, *eep = dev->mt76.eeprom.data; in mt7915_mcu_apply_tx_dpd() local 3010 if (!(eep[MT_EE_DO_PRE_CAL] & MT_EE_WIFI_CAL_DPD)) in mt7915_mcu_apply_tx_dpd()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | eeprom.c | 12 int mt76_get_of_eeprom(struct mt76_dev *dev, void *eep, int offset, int len) in mt76_get_of_eeprom() argument 33 memcpy(eep, data, size); in mt76_get_of_eeprom() 66 ret = mtd_read(mtd, offset, len, &retlen, eep); in mt76_get_of_eeprom() 82 u8 *data = (u8 *)eep; in mt76_get_of_eeprom()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | mcu.c | 315 u8 *req, *eep = (u8 *)dev->mt76.eeprom.data; in mt7603_mcu_set_eeprom() local 330 data[i].val = eep[req_fields[i]]; in mt7603_mcu_set_eeprom() 372 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7603_mcu_set_tx_power() local 374 memcpy(req.rate_power_delta, eep + MT_EE_TX_POWER_CCK, in mt7603_mcu_set_tx_power() 377 memcpy(req.temp_comp_power, eep + MT_EE_STEP_NUM_NEG_6_7, in mt7603_mcu_set_tx_power()
|
/linux-6.3-rc2/include/linux/mfd/ |
A D | janz.h | 43 u8 eep; member
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7996/ |
A D | mcu.c | 2980 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7996_mcu_set_eeprom_flash() local 2983 for (i = 0; i < total; i++, eep += eep_len) { in mt7996_mcu_set_eeprom_flash() 3003 skb_put_data(skb, eep, eep_len); in mt7996_mcu_set_eeprom_flash()
|