Lines Matching full:eeprom
75 * igc_raise_eec_clk - Raise EEPROM clock
77 * @eecd: pointer to the EEPROM
79 * Enable/Raise the EEPROM clock bit.
90 * igc_lower_eec_clk - Lower EEPROM clock
92 * @eecd: pointer to the EEPROM
94 * Clear/Lower the EEPROM clock bit.
105 * igc_shift_out_eec_bits - Shift data bits our to the EEPROM
107 * @data: data to send to the EEPROM
110 * We need to shift 'count' bits out to the EEPROM. So, the value in the
111 * "data" parameter will be shifted out to the EEPROM one bit at a time.
148 * igc_shift_in_eec_bits - Shift data bits in from the EEPROM
152 * In order to read a register from the EEPROM, we need to shift 'count' bits
153 * in from the EEPROM. Bits are "shifted in" by raising the clock input to
154 * the EEPROM (setting the SK bit), and then reading the value of the data out
188 * igc_poll_eerd_eewr_done - Poll for EEPROM read/write completion
190 * @ee_reg: EEPROM flag for polling
192 * Polls the EEPROM status bit for either read or write completion based
218 * igc_acquire_nvm_generic - Generic request for access to EEPROM
221 * Set the EEPROM access request bit and wait for EEPROM access grant bit.
223 * EEPROM access and return -IGC_ERR_NVM (-1).
254 * igc_standby_nvm - Return EEPROM to standby state
257 * Return the EEPROM to a standby state.
280 * igc_stop_nvm - Terminate EEPROM command
283 * Terminates the current command by inverting the EEPROM's chip select pin.
300 * igc_release_nvm_generic - Release exclusive access to EEPROM
303 * Stop any current commands to the EEPROM and clear the EEPROM request bit.
319 * igc_ready_nvm_eeprom - Prepares EEPROM for read/write
322 * Setups the EEPROM for reading and writing.
342 * The EEPROM will signal that the command has been completed
368 * igc_read_nvm_eerd - Reads EEPROM using EERD register
370 * @offset: offset of word in the EEPROM to read
372 * @data: word read from the EEPROM
374 * Reads a 16 bit word from the EEPROM using the EERD register.
413 * igc_write_nvm_spi - Write to EEPROM using SPI
415 * @offset: offset within the EEPROM to be written to
417 * @data: 16 bit word(s) to be written to the EEPROM
419 * Writes data to EEPROM at offset using SPI interface.
422 * EEPROM will most likely contain an invalid checksum.
473 /* Loop to allow for up to whole page write of eeprom */
498 * Reads the product board assembly (PBA) number from the EEPROM and stores
610 * Reads the device MAC address from the EEPROM and stores the value.
611 * Since devices with two ports use the same EEPROM, we increment the
636 * igc_validate_nvm_checksum_generic - Validate EEPROM checksum
639 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM
640 * and then verifies that the sum of the EEPROM is equal to 0xBABA.
668 * igc_update_nvm_checksum_generic - Update EEPROM checksum
671 * Updates the EEPROM checksum by reading/adding each word of the EEPROM
672 * up to the checksum. Then calculates the EEPROM checksum and writes the
673 * value to the EEPROM.
700 * igc_reload_nvm_generic - Reloads EEPROM
703 * Reloads the EEPROM by setting the "Reinitialize from EEPROM" bit in the
735 * basic eeprom version numbers, bits used vary by part and by tool