src/dpdk/drivers/net/igc/base/igc_api.c
s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data)
{
	if (hw->nvm.ops.read)
		return hw->nvm.ops.read(hw, offset, words, data);

	return -IGC_ERR_CONFIG;
}
/**
 *  igc_read_nvm - Reads NVM (EEPROM)
 *  @hw: pointer to the HW structure
 *  @offset: the word offset to read
 *  @words: number of 16-bit words to read
 *  @data: pointer to the properly sized buffer for the data.
 *
 *  Reads 16-bit chunks of data from the NVM (EEPROM). This is a function
 *  pointer entry point called by drivers.
 **/
Reads NVM (EEPROM)
@hw: pointer to the HW structure
@offset: the word offset to read
@words: number of 16-bit words to read
@data: pointer to the properly sized buffer for the data.

Reads 16-bit chunks of data from the NVM (EEPROM). This is a function
pointer entry point called by drivers.
Reads NVM ( EEPROM ) @hw : pointer to the HW structure @offset : the word offset to read @words : number of 16 - bit words to read @data : pointer to the properly sized buffer for the data . Reads 16 - bit chunks of data from the NVM ( EEPROM ) . This is a function pointer entry point called by drivers .
s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data)
{
	if (hw->nvm.ops.read)
		return hw->nvm.ops.read(hw, offset, words, data);
	return -IGC_ERR_CONFIG;
}
s32 igc_read_nvm ( struct igc_hw * hw , u16 offset , u16 words , u16 * data ) { if ( hw -> nvm . ops . read ) return hw -> nvm . ops . read ( hw , offset , words , data ) ; return - IGC_ERR_CONFIG ; }
igc_read_nvm - Reads NVM (EEPROM)
  @hw: pointer to the HW structure
  @offset: the word offset to read
  @words: number of 16-bit words to read
  @data: pointer to the properly sized buffer for the data.
igc_read_nvm - Reads NVM ( EEPROM ) @hw : pointer to the HW structure @offset : the word offset to read @words : number of 16 - bit words to read @data : pointer to the properly sized buffer for the data .