Searched refs:eebuf (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 2657 u8 *eebuf; in get_eeprom() local 2660 eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); in get_eeprom() 2661 if (!eebuf) in get_eeprom() 2666 res = netdev_get_eeprom(dev, eebuf); in get_eeprom() 2669 memcpy(data, eebuf+eeprom->offset, eeprom->len); in get_eeprom() 2670 kfree(eebuf); in get_eeprom()
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1133 struct ethtool_eeprom *eeprom, u8 *eebuf) in bnx2x_get_eeprom() argument 1151 rc = bnx2x_nvram_read(bp, eeprom->offset, eebuf, eeprom->len); in bnx2x_get_eeprom() 1309 struct ethtool_eeprom *eeprom, u8 *eebuf) in bnx2x_set_eeprom() argument 1387 rc = bnx2x_nvram_write(bp, eeprom->offset, eebuf, eeprom->len); in bnx2x_set_eeprom()
|
/linux-3.4.99/drivers/net/ethernet/smsc/ |
D | smc911x.c | 1665 u8 eebuf[SMC911X_EEPROM_LEN]; in smc911x_ethtool_geteeprom() local 1671 if ((ret=smc911x_ethtool_read_eeprom_byte(dev, &eebuf[i]))!=0) in smc911x_ethtool_geteeprom() 1674 memcpy(data, eebuf+eeprom->offset, eeprom->len); in smc911x_ethtool_geteeprom()
|
/linux-3.4.99/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 7066 u8 *eebuf) in bnx2_get_eeprom() argument 7076 rc = bnx2_nvram_read(bp, eeprom->offset, eebuf, eeprom->len); in bnx2_get_eeprom() 7083 u8 *eebuf) in bnx2_set_eeprom() argument 7093 rc = bnx2_nvram_write(bp, eeprom->offset, eebuf, eeprom->len); in bnx2_set_eeprom()
|