Lines Matching refs:first_word
821 int first_word, last_word, eeprom_len; in ixgbe_get_eeprom() local
830 first_word = eeprom->offset >> 1; in ixgbe_get_eeprom()
832 eeprom_len = last_word - first_word + 1; in ixgbe_get_eeprom()
838 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom()
858 int max_len, first_word, last_word, ret_val = 0; in ixgbe_set_eeprom() local
869 first_word = eeprom->offset >> 1; in ixgbe_set_eeprom()
882 ret_val = hw->eeprom.ops.read(hw, first_word, &eeprom_buff[0]); in ixgbe_set_eeprom()
894 &eeprom_buff[last_word - first_word]); in ixgbe_set_eeprom()
900 for (i = 0; i < last_word - first_word + 1; i++) in ixgbe_set_eeprom()
905 for (i = 0; i < last_word - first_word + 1; i++) in ixgbe_set_eeprom()
908 ret_val = hw->eeprom.ops.write_buffer(hw, first_word, in ixgbe_set_eeprom()
909 last_word - first_word + 1, in ixgbe_set_eeprom()