Home
last modified time | relevance | path

Searched refs:base_mac (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot_regs.c492 eth_random_addr(ocelot->base_mac); in ocelot_chip_init()
493 ocelot->base_mac[5] &= 0xf0; in ocelot_chip_init()
Docelot.h482 u8 base_mac[ETH_ALEN]; member
Docelot.c1015 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/
Dspectrum.h124 unsigned char base_mac[ETH_ALEN]; member
Dspectrum_switchdev.c466 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()
Dspectrum.c479 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()
Dreg.h70 MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6);