Searched refs:eebuf (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sis/ |
H A D | sis900.c | 2188 u8 *eebuf; in sis900_get_eeprom() local 2191 eebuf = kmalloc(sis_priv->eeprom_size, GFP_KERNEL); in sis900_get_eeprom() 2192 if (!eebuf) in sis900_get_eeprom() 2197 res = sis900_read_eeprom(dev, eebuf); in sis900_get_eeprom() 2200 memcpy(data, eebuf + eeprom->offset, eeprom->len); in sis900_get_eeprom() 2201 kfree(eebuf); in sis900_get_eeprom()
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 2669 u8 *eebuf; in get_eeprom() local 2672 eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); in get_eeprom() 2673 if (!eebuf) in get_eeprom() 2678 res = netdev_get_eeprom(dev, eebuf); in get_eeprom() 2681 memcpy(data, eebuf+eeprom->offset, eeprom->len); in get_eeprom() 2682 kfree(eebuf); in get_eeprom()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 1483 struct ethtool_eeprom *eeprom, u8 *eebuf) in bnx2x_get_eeprom() argument 1500 return bnx2x_nvram_read(bp, eeprom->offset, eebuf, eeprom->len); in bnx2x_get_eeprom() 1796 struct ethtool_eeprom *eeprom, u8 *eebuf) in bnx2x_set_eeprom() argument 1875 rc = bnx2x_nvram_write(bp, eeprom->offset, eebuf, eeprom->len); in bnx2x_set_eeprom()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 7203 u8 *eebuf) in bnx2_get_eeprom() argument 7210 rc = bnx2_nvram_read(bp, eeprom->offset, eebuf, eeprom->len); in bnx2_get_eeprom() 7217 u8 *eebuf) in bnx2_set_eeprom() argument 7224 rc = bnx2_nvram_write(bp, eeprom->offset, eebuf, eeprom->len); in bnx2_set_eeprom()
|