Lines Matching full:eeprom
11 #include "iwl-eeprom-read.h"
17 * EEPROM access time values:
19 * Driver initiates EEPROM read by writing byte address << 1 to CSR_EEPROM_REG.
27 * The device's EEPROM semaphore prevents conflicts between driver and uCode
28 * when accessing the EEPROM; each access is a series of pulses to/from the
29 * EEPROM chip, not a single event, so even reads could conflict if they
72 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); in iwl_eeprom_verify_signature()
77 IWL_ERR(trans, "EEPROM with bad signature: 0x%08x\n", in iwl_eeprom_verify_signature()
92 "bad EEPROM/OTP signature, type=%s, EEPROM_GP=0x%08x\n", in iwl_eeprom_verify_signature()
93 nvm_is_otp ? "OTP" : "EEPROM", gp); in iwl_eeprom_verify_signature()
223 * iwl_find_otp_image: find EEPROM image in OTP
224 * finding the OTP block that contains the EEPROM image.
281 * iwl_read_eeprom - read EEPROM contents
283 * Load the EEPROM contents from adapter and return it
288 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom() argument
299 if (!eeprom || !eeprom_size) in iwl_read_eeprom()
315 IWL_ERR(trans, "EEPROM not found, EEPROM_GP=0x%08x\n", gp); in iwl_read_eeprom()
319 /* Make sure driver (instead of uCode) is allowed to read EEPROM */ in iwl_read_eeprom()
322 IWL_ERR(trans, "Failed to acquire EEPROM semaphore.\n"); in iwl_read_eeprom()
357 /* eeprom is an array of 16bit values */ in iwl_read_eeprom()
370 "Time out reading EEPROM[%d]\n", addr); in iwl_read_eeprom()
379 nvm_is_otp ? "OTP" : "EEPROM"); in iwl_read_eeprom()
384 *eeprom = (u8 *)e; in iwl_read_eeprom()