Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
s32 | igb_acquire_nvm_i210 (struct e1000_hw *hw) |
void | igb_release_nvm_i210 (struct e1000_hw *hw) |
s32 | igb_acquire_swfw_sync_i210 (struct e1000_hw *hw, u16 mask) |
void | igb_release_swfw_sync_i210 (struct e1000_hw *hw, u16 mask) |
s32 | igb_read_nvm_srrd_i210 (struct e1000_hw *hw, u16 offset, u16 words, u16 *data) |
s32 | igb_write_nvm_srwr_i210 (struct e1000_hw *hw, u16 offset, u16 words, u16 *data) |
s32 | igb_read_nvm_i211 (struct e1000_hw *hw, u16 offset, u16 words, u16 *data) |
s32 | igb_read_invm_i211 (struct e1000_hw *hw, u16 address, u16 *data) |
s32 | igb_validate_nvm_checksum_i210 (struct e1000_hw *hw) |
s32 | igb_update_nvm_checksum_i210 (struct e1000_hw *hw) |
s32 | igb_update_flash_i210 (struct e1000_hw *hw) |
s32 | igb_valid_led_default_i210 (struct e1000_hw *hw, u16 *data) |
igb_acquire_nvm_i210 - Request for access to EEPROM : pointer to the HW structure
Acquire the necessary semaphores for exclusive access to the EEPROM. Set the EEPROM access request bit and wait for EEPROM access grant bit. Return successful if access grant bit set, else clear the request for EEPROM access and return -E1000_ERR_NVM (-1).
Definition at line 53 of file e1000_i210.c.
igb_read_nvm_srrd_i210 - Reads Shadow Ram using EERD register : pointer to the HW structure : offset of word in the Shadow Ram to read : number of words to read : word read from the Shadow Ram
Reads a 16 bit word from the Shadow Ram using the EERD register. Uses necessary synchronization semaphores.
Definition at line 204 of file e1000_i210.c.
igb_update_flash_i210 - Commit EEPROM to the flash : pointer to the HW structure
Definition at line 526 of file e1000_i210.c.
igb_update_nvm_checksum_i210 - Update EEPROM checksum : pointer to the HW structure
Updates the EEPROM checksum by reading/adding each word of the EEPROM up to the checksum. Then calculates the EEPROM checksum and writes the value to the EEPROM. Next commit EEPROM data onto the Flash.
Definition at line 469 of file e1000_i210.c.
igb_write_nvm_srwr_i210 - Write to Shadow RAM using EEWR : pointer to the HW structure : offset within the Shadow RAM to be written to : number of words to write : 16 bit word(s) to be written to the Shadow RAM
Writes data to Shadow RAM at offset using EEWR register.
If e1000_update_nvm_checksum is not called after this function , the data will not be committed to FLASH and also Shadow RAM will most likely contain an invalid checksum.
If error code is returned, data and Shadow RAM may be inconsistent - buffer partially written.
Definition at line 247 of file e1000_i210.c.