Lines Matching refs:last_word
413 int first_word, last_word; in e1000_get_eeprom() local
423 last_word = (eeprom->offset + eeprom->len - 1) >> 1; in e1000_get_eeprom()
426 (last_word - first_word + 1), GFP_KERNEL); in e1000_get_eeprom()
432 last_word - first_word + 1, in e1000_get_eeprom()
435 for (i = 0; i < last_word - first_word + 1; i++) { in e1000_get_eeprom()
444 for (i = 0; i < last_word - first_word + 1; i++) in e1000_get_eeprom()
461 int max_len, first_word, last_word, ret_val = 0; in e1000_set_eeprom() local
473 last_word = (eeprom->offset + eeprom->len - 1) >> 1; in e1000_set_eeprom()
490 ret_val = e1000_read_eeprom(hw, last_word, 1, in e1000_set_eeprom()
491 &eeprom_buff[last_word - first_word]); in e1000_set_eeprom()
495 for (i = 0; i < last_word - first_word + 1; i++) in e1000_set_eeprom()
500 for (i = 0; i < last_word - first_word + 1; i++) in e1000_set_eeprom()
504 last_word - first_word + 1, eeprom_buff); in e1000_set_eeprom()