Searched refs:base_mac (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mscc/ |
D | ocelot_regs.c | 492 eth_random_addr(ocelot->base_mac); in ocelot_chip_init() 493 ocelot->base_mac[5] &= 0xf0; in ocelot_chip_init()
|
D | ocelot.h | 482 u8 base_mac[ETH_ALEN]; member
|
D | ocelot.c | 1015 attr->u.ppid.id_len = sizeof(ocelot->base_mac); in ocelot_port_attr_get() 1016 memcpy(&attr->u.ppid.id, &ocelot->base_mac, in ocelot_port_attr_get() 1612 memcpy(dev->dev_addr, ocelot->base_mac, ETH_ALEN); in ocelot_probe_port()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.h | 124 unsigned char base_mac[ETH_ALEN]; member
|
D | spectrum_switchdev.c | 466 attr->u.ppid.id_len = sizeof(mlxsw_sp->base_mac); in mlxsw_sp_port_attr_get() 467 memcpy(&attr->u.ppid.id, &mlxsw_sp->base_mac, in mlxsw_sp_port_attr_get()
|
D | spectrum.c | 479 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sp->base_mac); in mlxsw_sp_base_mac_get() 521 ether_addr_copy(addr, mlxsw_sp->base_mac); in mlxsw_sp_port_dev_addr_init()
|
D | reg.h | 70 MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6);
|