Searched refs:eebuf (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/sis/ |
D | sis900.c | 2183 u8 *eebuf; in sis900_get_eeprom() local 2186 eebuf = kmalloc(sis_priv->eeprom_size, GFP_KERNEL); in sis900_get_eeprom() 2187 if (!eebuf) in sis900_get_eeprom() 2192 res = sis900_read_eeprom(dev, eebuf); in sis900_get_eeprom() 2195 memcpy(data, eebuf + eeprom->offset, eeprom->len); in sis900_get_eeprom() 2196 kfree(eebuf); in sis900_get_eeprom()
|
/Linux-v5.10/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 2672 u8 *eebuf; in get_eeprom() local 2675 eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); in get_eeprom() 2676 if (!eebuf) in get_eeprom() 2681 res = netdev_get_eeprom(dev, eebuf); in get_eeprom() 2684 memcpy(data, eebuf+eeprom->offset, eeprom->len); in get_eeprom() 2685 kfree(eebuf); in get_eeprom()
|
/Linux-v5.10/drivers/net/ethernet/smsc/ |
D | smc911x.c | 1640 u8 eebuf[SMC911X_EEPROM_LEN]; in smc911x_ethtool_geteeprom() local 1646 if ((ret=smc911x_ethtool_read_eeprom_byte(dev, &eebuf[i]))!=0) in smc911x_ethtool_geteeprom() 1649 memcpy(data, eebuf+eeprom->offset, eeprom->len); in smc911x_ethtool_geteeprom()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
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()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 7218 u8 *eebuf) in bnx2_get_eeprom() argument 7225 rc = bnx2_nvram_read(bp, eeprom->offset, eebuf, eeprom->len); in bnx2_get_eeprom() 7232 u8 *eebuf) in bnx2_set_eeprom() argument 7239 rc = bnx2_nvram_write(bp, eeprom->offset, eebuf, eeprom->len); in bnx2_set_eeprom()
|