Lines Matching refs:first_word
829 int first_word, last_word, eeprom_len; in ixgbe_get_eeprom() local
838 first_word = eeprom->offset >> 1; in ixgbe_get_eeprom()
840 eeprom_len = last_word - first_word + 1; in ixgbe_get_eeprom()
846 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom()
866 int max_len, first_word, last_word, ret_val = 0; in ixgbe_set_eeprom() local
877 first_word = eeprom->offset >> 1; in ixgbe_set_eeprom()
890 ret_val = hw->eeprom.ops.read(hw, first_word, &eeprom_buff[0]); in ixgbe_set_eeprom()
902 &eeprom_buff[last_word - first_word]); in ixgbe_set_eeprom()
908 for (i = 0; i < last_word - first_word + 1; i++) in ixgbe_set_eeprom()
913 for (i = 0; i < last_word - first_word + 1; i++) in ixgbe_set_eeprom()
916 ret_val = hw->eeprom.ops.write_buffer(hw, first_word, in ixgbe_set_eeprom()
917 last_word - first_word + 1, in ixgbe_set_eeprom()