Lines Matching full:otp
57 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7615_efuse_init()
58 dev->mt76.otp.size = len; in mt7615_efuse_init()
59 if (!dev->mt76.otp.data) in mt7615_efuse_init()
62 buf = dev->mt76.otp.data; in mt7615_efuse_init()
278 u8 *otp = dev->mt76.otp.data; in mt7615_apply_cal_free_data() local
281 if (!otp) in mt7615_apply_cal_free_data()
285 if (!otp[ical[i]]) in mt7615_apply_cal_free_data()
289 eeprom[ical[i]] = otp[ical[i]]; in mt7615_apply_cal_free_data()
292 eeprom[ical_nocheck[i]] = otp[ical_nocheck[i]]; in mt7615_apply_cal_free_data()
301 u8 *otp = dev->mt76.otp.data; in mt7622_apply_cal_free_data() local
304 if (!otp) in mt7622_apply_cal_free_data()
308 if (!otp[ical[i]]) in mt7622_apply_cal_free_data()
311 eeprom[ical[i]] = otp[ical[i]]; in mt7622_apply_cal_free_data()
319 if (!np || !of_property_read_bool(np, "mediatek,eeprom-merge-otp")) in mt7615_cal_free_data()
342 if (ret && dev->mt76.otp.data) { in mt7615_eeprom_init()
343 memcpy(dev->mt76.eeprom.data, dev->mt76.otp.data, in mt7615_eeprom_init()
344 dev->mt76.otp.size); in mt7615_eeprom_init()