Lines Matching full:otp
81 /* OTP base information*/ in imx214_otp_read_gz()
85 otp_ptr->flag = 0x80; /* valid INFO in OTP */ in imx214_otp_read_gz()
106 /* OTP WB calibration data */ in imx214_otp_read_gz()
110 otp_ptr->flag |= 0x40; /* valid AWB in OTP */ in imx214_otp_read_gz()
146 dev_err(dev, "otp awb info: check sum (%d,%d),ret = %d !\n", in imx214_otp_read_gz()
159 /* OTP LSC calibration data */ in imx214_otp_read_gz()
163 otp_ptr->flag |= 0x10; /* valid LSC in OTP */ in imx214_otp_read_gz()
171 "otp read lsc addr = 0x%04x, lenc[%d] = %d\n", in imx214_otp_read_gz()
178 "otp lsc info: check sum (%d,%d),ret = %d !\n", in imx214_otp_read_gz()
185 /* OTP VCM calibration data */ in imx214_otp_read_gz()
189 otp_ptr->flag |= 0x20; /* valid VCM in OTP */ in imx214_otp_read_gz()
211 "otp VCM info: check sum (%d,%d),ret = %d !\n", in imx214_otp_read_gz()
222 /* OTP SPC calibration data */ in imx214_otp_read_gz()
226 otp_ptr->flag |= 0x08; /* valid LSC in OTP */ in imx214_otp_read_gz()
234 "otp read spc addr = 0x%04x, spc[%d] = %d\n", in imx214_otp_read_gz()
241 "otp spc info: check sum (%d,%d),ret = %d !\n", in imx214_otp_read_gz()
248 imx214_eeprom_dev->otp = otp_ptr; in imx214_otp_read_gz()
250 imx214_eeprom_dev->otp = NULL; in imx214_otp_read_gz()
256 imx214_eeprom_dev->otp = NULL; in imx214_otp_read_gz()
278 if (arg && imx214_eeprom_dev->otp) in imx214_eeprom_ioctl()
279 memcpy(arg, imx214_eeprom_dev->otp, in imx214_eeprom_ioctl()
329 kfree(imx214_eeprom_dev->otp); in imx214_eeprom_remove()
376 MODULE_DESCRIPTION("IMX214 OTP driver");