Lines Matching full:otp
720 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp); in iwl_eeprom_verify_signature()
727 "bad EEPROM/OTP signature, type=%s, EEPROM_GP=0x%08x\n", in iwl_eeprom_verify_signature()
728 nvm_is_otp ? "OTP" : "EEPROM", gp); in iwl_eeprom_verify_signature()
735 * OTP related functions
751 /* OTP only valid for CP/PP and after */ in iwl_nvm_is_otp()
785 * this is only applicable for HW with OTP shadow RAM in iwl_init_otp_access()
808 IWL_ERR(trans, "Time out reading OTP[%d]\n", addr); in iwl_read_otp_word()
816 /* set the uncorrectable OTP ECC bit for acknowledgment */ in iwl_read_otp_word()
819 IWL_ERR(trans, "Uncorrectable OTP ECC error, abort OTP read\n"); in iwl_read_otp_word()
824 /* set the correctable OTP ECC bit for acknowledgment */ in iwl_read_otp_word()
827 IWL_ERR(trans, "Correctable OTP ECC error, continue read\n"); in iwl_read_otp_word()
834 * iwl_is_otp_empty: check for empty OTP
842 /* locate the beginning of OTP link list */ in iwl_is_otp_empty()
845 IWL_ERR(trans, "OTP is empty\n"); in iwl_is_otp_empty()
849 IWL_ERR(trans, "Unable to read first block of OTP list.\n"); in iwl_is_otp_empty()
858 * iwl_find_otp_image: find EEPROM image in OTP
859 * finding the OTP block that contains the EEPROM image.
862 * If all the available OTP blocks are full, the last block will be the block
876 /* checking for empty OTP or error */ in iwl_find_otp_image()
882 * until reach the max number of OTP blocks in iwl_find_otp_image()
883 * different devices have different number of OTP blocks in iwl_find_otp_image()
891 IWL_DEBUG_EEPROM(trans->dev, "OTP blocks %d addr 0x%x\n", in iwl_find_otp_image()
910 /* OTP has no valid blocks */ in iwl_find_otp_image()
911 IWL_DEBUG_EEPROM(trans->dev, "OTP has no valid blocks\n"); in iwl_find_otp_image()
964 IWL_ERR(trans, "Failed to initialize OTP access.\n"); in iwl_read_eeprom()
1014 nvm_is_otp ? "OTP" : "EEPROM"); in iwl_read_eeprom()