Lines Matching full:mt76
54 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7615_efuse_init()
55 dev->mt76.otp.size = len; in mt7615_efuse_init()
56 if (!dev->mt76.otp.data) in mt7615_efuse_init()
59 buf = dev->mt76.otp.data; in mt7615_efuse_init()
75 ret = mt76_eeprom_init(&dev->mt76, MT7615_EEPROM_FULL_SIZE); in mt7615_eeprom_load()
99 u8 val, *eeprom = dev->mt76.eeprom.data; in mt7615_eeprom_parse_hw_band_cap()
101 if (is_mt7663(&dev->mt76)) { in mt7615_eeprom_parse_hw_band_cap()
108 if (is_mt7622(&dev->mt76)) { in mt7615_eeprom_parse_hw_band_cap()
114 if (is_mt7611(&dev->mt76)) { in mt7615_eeprom_parse_hw_band_cap()
141 u8 *eeprom = dev->mt76.eeprom.data; in mt7615_eeprom_parse_hw_cap()
146 if (is_mt7663(&dev->mt76)) { in mt7615_eeprom_parse_hw_cap()
195 if (is_mt7663(&dev->mt76)) in mt7615_eeprom_get_target_power_index()
241 if (is_mt7663(&dev->mt76)) { in mt7615_eeprom_get_power_delta_index()
272 u8 *eeprom = dev->mt76.eeprom.data; in mt7615_apply_cal_free_data()
273 u8 *otp = dev->mt76.otp.data; in mt7615_apply_cal_free_data()
295 u8 *eeprom = dev->mt76.eeprom.data; in mt7622_apply_cal_free_data()
296 u8 *otp = dev->mt76.otp.data; in mt7622_apply_cal_free_data()
312 struct device_node *np = dev->mt76.dev->of_node; in mt7615_cal_free_data()
317 switch (mt76_chip(&dev->mt76)) { in mt7615_cal_free_data()
336 ret = mt7615_check_eeprom(&dev->mt76); in mt7615_eeprom_init()
337 if (ret && dev->mt76.otp.data) { in mt7615_eeprom_init()
338 memcpy(dev->mt76.eeprom.data, dev->mt76.otp.data, in mt7615_eeprom_init()
346 memcpy(dev->mphy.macaddr, dev->mt76.eeprom.data + MT_EE_MAC_ADDR, in mt7615_eeprom_init()