Lines Matching full:otp
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()
272 u8 *otp = dev->mt76.otp.data; in mt7615_apply_cal_free_data() local
275 if (!otp) in mt7615_apply_cal_free_data()
279 if (!otp[ical[i]]) in mt7615_apply_cal_free_data()
283 eeprom[ical[i]] = otp[ical[i]]; in mt7615_apply_cal_free_data()
286 eeprom[ical_nocheck[i]] = otp[ical_nocheck[i]]; in mt7615_apply_cal_free_data()
295 u8 *otp = dev->mt76.otp.data; in mt7622_apply_cal_free_data() local
298 if (!otp) in mt7622_apply_cal_free_data()
302 if (!otp[ical[i]]) in mt7622_apply_cal_free_data()
305 eeprom[ical[i]] = otp[ical[i]]; in mt7622_apply_cal_free_data()
313 if (!np || !of_property_read_bool(np, "mediatek,eeprom-merge-otp")) in mt7615_cal_free_data()
336 if (ret && dev->mt76.otp.data) { in mt7615_eeprom_init()
337 memcpy(dev->mt76.eeprom.data, dev->mt76.otp.data, in mt7615_eeprom_init()