Home
last modified time | relevance | path

Searched refs:first_word (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/e1000/
De1000_ethtool.c482 int first_word, last_word; in e1000_get_eeprom() local
491 first_word = eeprom->offset >> 1; in e1000_get_eeprom()
495 (last_word - first_word + 1), GFP_KERNEL); in e1000_get_eeprom()
500 ret_val = e1000_read_eeprom(hw, first_word, in e1000_get_eeprom()
501 last_word - first_word + 1, in e1000_get_eeprom()
504 for (i = 0; i < last_word - first_word + 1; i++) in e1000_get_eeprom()
505 if ((ret_val = e1000_read_eeprom(hw, first_word + i, 1, in e1000_get_eeprom()
511 for (i = 0; i < last_word - first_word + 1; i++) in e1000_get_eeprom()
529 int max_len, first_word, last_word, ret_val = 0; in e1000_set_eeprom() local
540 first_word = eeprom->offset >> 1; in e1000_set_eeprom()
[all …]
/linux-2.4.37.9/drivers/net/e100/
De100_main.c3649 u16 first_word, last_word; in e100_ethtool_eeprom() local
3670 first_word = ecmd.offset >> 1; in e100_ethtool_eeprom()
3673 if (first_word >= bdp->eeprom_size) in e100_ethtool_eeprom()
3677 for(i = 0; i <= (last_word - first_word); i++) in e100_ethtool_eeprom()
3678 eeprom_data[i] = e100_eeprom_read(bdp, first_word + i); in e100_ethtool_eeprom()
3697 eeprom_data[0] = e100_eeprom_read(bdp, first_word); in e100_ethtool_eeprom()
3703 eeprom_data[last_word - first_word] = in e100_ethtool_eeprom()
3709 e100_eeprom_write_block(bdp, first_word, eeprom_data, in e100_ethtool_eeprom()
3710 last_word - first_word + 1); in e100_ethtool_eeprom()