Lines Matching refs:eeprom

12 	u8 *eeprom = dev->mt76.eeprom.data;  in mt7996_check_eeprom()  local
13 u16 val = get_unaligned_le16(eeprom); in mt7996_check_eeprom()
32 u8 *eeprom = dev->mt76.eeprom.data; in mt7996_eeprom_load_default() local
46 memcpy(eeprom, fw->data, MT7996_EEPROM_SIZE); in mt7996_eeprom_load_default()
114 u8 *eeprom = phy->dev->mt76.eeprom.data; in mt7996_eeprom_parse_band_config() local
115 u32 val = eeprom[MT_EE_WIFI_CONF]; in mt7996_eeprom_parse_band_config()
123 val = eeprom[MT_EE_WIFI_CONF + 1]; in mt7996_eeprom_parse_band_config()
156 u8 *eeprom = dev->mt76.eeprom.data; in mt7996_eeprom_parse_hw_cap() local
163 eeprom[MT_EE_WIFI_CONF + 2]); in mt7996_eeprom_parse_hw_cap()
165 eeprom[MT_EE_WIFI_CONF + 5]); in mt7996_eeprom_parse_hw_cap()
169 eeprom[MT_EE_WIFI_CONF + 2]); in mt7996_eeprom_parse_hw_cap()
171 eeprom[MT_EE_WIFI_CONF + 5]); in mt7996_eeprom_parse_hw_cap()
175 eeprom[MT_EE_WIFI_CONF + 1]); in mt7996_eeprom_parse_hw_cap()
177 eeprom[MT_EE_WIFI_CONF + 4]); in mt7996_eeprom_parse_hw_cap()
219 memcpy(dev->mphy.macaddr, dev->mt76.eeprom.data + MT_EE_MAC_ADDR, ETH_ALEN); in mt7996_eeprom_init()
228 u8 *eeprom = dev->mt76.eeprom.data; in mt7996_eeprom_get_target_power() local
232 target_power = eeprom[MT_EE_TX0_POWER_5G + in mt7996_eeprom_get_target_power()
235 target_power = eeprom[MT_EE_TX0_POWER_6G + in mt7996_eeprom_get_target_power()
238 target_power = eeprom[MT_EE_TX0_POWER_2G]; in mt7996_eeprom_get_target_power()
245 u8 *eeprom = dev->mt76.eeprom.data; in mt7996_eeprom_get_power_delta() local
250 val = eeprom[MT_EE_RATE_DELTA_5G]; in mt7996_eeprom_get_power_delta()
252 val = eeprom[MT_EE_RATE_DELTA_6G]; in mt7996_eeprom_get_power_delta()
254 val = eeprom[MT_EE_RATE_DELTA_2G]; in mt7996_eeprom_get_power_delta()