Lines Matching full:otp
148 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp); in iwl_eeprom_verify_signature()
155 "bad EEPROM/OTP signature, type=%s, EEPROM_GP=0x%08x\n", in iwl_eeprom_verify_signature()
156 nvm_is_otp ? "OTP" : "EEPROM", gp); in iwl_eeprom_verify_signature()
163 * OTP related functions
179 /* OTP only valid for CP/PP and after */ in iwl_nvm_is_otp()
212 IWL_ERR(trans, "Time out access OTP\n"); in iwl_init_otp_access()
222 * this is only applicable for HW with OTP shadow RAM in iwl_init_otp_access()
245 IWL_ERR(trans, "Time out reading OTP[%d]\n", addr); in iwl_read_otp_word()
253 /* set the uncorrectable OTP ECC bit for acknowledgment */ in iwl_read_otp_word()
256 IWL_ERR(trans, "Uncorrectable OTP ECC error, abort OTP read\n"); in iwl_read_otp_word()
261 /* set the correctable OTP ECC bit for acknowledgment */ in iwl_read_otp_word()
264 IWL_ERR(trans, "Correctable OTP ECC error, continue read\n"); in iwl_read_otp_word()
271 * iwl_is_otp_empty: check for empty OTP
279 /* locate the beginning of OTP link list */ in iwl_is_otp_empty()
282 IWL_ERR(trans, "OTP is empty\n"); in iwl_is_otp_empty()
286 IWL_ERR(trans, "Unable to read first block of OTP list.\n"); in iwl_is_otp_empty()
295 * iwl_find_otp_image: find EEPROM image in OTP
296 * finding the OTP block that contains the EEPROM image.
299 * If all the available OTP blocks are full, the last block will be the block
313 /* checking for empty OTP or error */ in iwl_find_otp_image()
319 * until reach the max number of OTP blocks in iwl_find_otp_image()
320 * different devices have different number of OTP blocks in iwl_find_otp_image()
328 IWL_DEBUG_EEPROM(trans->dev, "OTP blocks %d addr 0x%x\n", in iwl_find_otp_image()
347 /* OTP has no valid blocks */ in iwl_find_otp_image()
348 IWL_DEBUG_EEPROM(trans->dev, "OTP has no valid blocks\n"); in iwl_find_otp_image()
401 IWL_ERR(trans, "Failed to initialize OTP access.\n"); in iwl_read_eeprom()
451 nvm_is_otp ? "OTP" : "EEPROM"); in iwl_read_eeprom()