Home
last modified time | relevance | path

Searched refs:eep (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c2976 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep; in ath9k_hw_ar9300_get_eeprom() local
2977 struct ar9300_base_eep_hdr *pBase = &eep->baseEepHeader; in ath9k_hw_ar9300_get_eeprom()
2981 return get_unaligned_be16(eep->macAddr); in ath9k_hw_ar9300_get_eeprom()
2983 return get_unaligned_be16(eep->macAddr + 2); in ath9k_hw_ar9300_get_eeprom()
2985 return get_unaligned_be16(eep->macAddr + 4); in ath9k_hw_ar9300_get_eeprom()
3006 return eep->base_ext1.ant_div_control; in ath9k_hw_ar9300_get_eeprom()
3008 return eep->modalHeader5G.antennaGain; in ath9k_hw_ar9300_get_eeprom()
3010 return eep->modalHeader2G.antennaGain; in ath9k_hw_ar9300_get_eeprom()
3188 const struct ar9300_eeprom *eep = NULL; in ar9300_compress_decision() local
3205 eep = ar9003_eeprom_struct_find_by_id(reference); in ar9300_compress_decision()
[all …]
Deeprom_def.c207 struct ar5416_eeprom_def *eep = &ah->eeprom.def; in ath9k_hw_def_dump_eeprom() local
208 struct base_eep_header *pBase = &eep->baseEepHeader; in ath9k_hw_def_dump_eeprom()
215 &eep->modalHeader[0]); in ath9k_hw_def_dump_eeprom()
219 &eep->modalHeader[1]); in ath9k_hw_def_dump_eeprom()
266 struct ar5416_eeprom_def *eep = &ah->eeprom.def; in ath9k_hw_def_check_eeprom() local
277 el = swab16((__force u16)eep->baseEepHeader.length); in ath9k_hw_def_check_eeprom()
279 el = le16_to_cpu(eep->baseEepHeader.length); in ath9k_hw_def_check_eeprom()
288 EEPROM_FIELD_SWAB16(eep->baseEepHeader.length); in ath9k_hw_def_check_eeprom()
289 EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum); in ath9k_hw_def_check_eeprom()
290 EEPROM_FIELD_SWAB16(eep->baseEepHeader.version); in ath9k_hw_def_check_eeprom()
[all …]
Deeprom_9287.c40 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
130 struct base_eep_ar9287_header *pBase = &eep->baseEepHeader; in ath9k_hw_ar9287_dump_eeprom()
137 &eep->modalHeader); in ath9k_hw_ar9287_dump_eeprom()
189 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in ath9k_hw_ar9287_check_eeprom() local
196 el = swab16((__force u16)eep->baseEepHeader.length); in ath9k_hw_ar9287_check_eeprom()
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()
206 EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum); in ath9k_hw_ar9287_check_eeprom()
[all …]
Deeprom_4k.c133 struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k; in ath9k_hw_4k_dump_eeprom() local
134 struct base_eep_header_4k *pBase = &eep->baseEepHeader; in ath9k_hw_4k_dump_eeprom()
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
198 el = swab16((__force u16)eep->baseEepHeader.length); in ath9k_hw_4k_check_eeprom()
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()
210 EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[0]); in ath9k_hw_4k_check_eeprom()
[all …]
Dar9003_paprd.c24 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep; in ar9003_paprd_enable() local
41 if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20) in ar9003_paprd_enable()
45 if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20) in ar9003_paprd_enable()
49 if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20) in ar9003_paprd_enable()
Dar9003_phy.c529 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep; in ar9003_hw_spur_mitigate_ofdm() local
532 spurChansPtr = &(eep->modalHeader5G.spurChans[0]); in ar9003_hw_spur_mitigate_ofdm()
536 spurChansPtr = &(eep->modalHeader2G.spurChans[0]); in ar9003_hw_spur_mitigate_ofdm()
Dxmit.c1151 struct ar5416_eeprom_def *eep = &ah->eeprom.def; in ath_get_rate_txpower() local
1159 pmodal = &eep->modalHeader[is_2ghz]; in ath_get_rate_txpower()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Deeprom.h114 u8 *eep = dev->mt76.eeprom.data; in mt7915_tssi_enabled() local
118 return eep[MT_EE_WIFI_CONF + 7] & MT_EE_WIFI_CONF_TSSI0_5G; in mt7915_tssi_enabled()
120 return eep[MT_EE_WIFI_CONF + 7] & MT_EE_WIFI_CONF_TSSI0_2G; in mt7915_tssi_enabled()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Deeprom.h108 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()
Dinit.c251 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7615_init_txpower() local
256 rate_val = eep[delta_idx]; in mt7615_init_txpower()
278 target_power = max(target_power, eep[index]); in mt7615_init_txpower()
Dtestmode.c55 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()
Dmcu.c2529 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7615_mcu_set_eeprom() local
2556 skb_put_data(skb, eep + offset, eep_len); in mt7615_mcu_set_eeprom()
3397 u8 *eep = dev->mt76.eeprom.data; in mt7615_mcu_apply_rx_dcoc() local
3399 if (!(eep[MT_EE_CALDATA_FLASH] & MT_EE_CALDATA_FLASH_RX_CAL)) in mt7615_mcu_apply_rx_dcoc()
3413 memcpy(req.dcoc_data, eep + MT7615_EEPROM_DCOC_OFFSET + in mt7615_mcu_apply_rx_dcoc()
3518 u8 *eep = dev->mt76.eeprom.data; in mt7615_mcu_apply_tx_dpd() local
3520 if (!(eep[MT_EE_CALDATA_FLASH] & MT_EE_CALDATA_FLASH_TX_DPD)) in mt7615_mcu_apply_tx_dpd()
3534 memcpy(&req.dpd_data, eep + MT7615_EEPROM_TXDPD_OFFSET + in mt7615_mcu_apply_tx_dpd()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmcu.c362 u8 *req, *eep = (u8 *)dev->mt76.eeprom.data; in mt7603_mcu_set_eeprom() local
377 data[i].val = eep[req_fields[i]]; in mt7603_mcu_set_eeprom()
419 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7603_mcu_set_tx_power() local
421 memcpy(req.rate_power_delta, eep + MT_EE_TX_POWER_CCK, in mt7603_mcu_set_tx_power()
424 memcpy(req.temp_comp_power, eep + MT_EE_STEP_NUM_NEG_6_7, in mt7603_mcu_set_tx_power()
/kernel/linux/linux-5.10/include/linux/mfd/
Djanz.h43 u8 eep; member