Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c26 u8 base_mac[ETH_ALEN]; member
45 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_m->base_mac); in mlxsw_m_base_mac_get()
160 mlxsw_m->base_mac, in mlxsw_m_port_create()
161 sizeof(mlxsw_m->base_mac)); in mlxsw_m_port_create()
Dspectrum.c580 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sp->base_mac); in mlxsw_sp_base_mac_get()
622 ether_addr_copy(addr, mlxsw_sp->base_mac); in mlxsw_sp_port_dev_addr_init()
3624 mlxsw_sp->base_mac, in mlxsw_sp_port_create()
3625 sizeof(mlxsw_sp->base_mac)); in mlxsw_sp_port_create()
3898 mlxsw_sp->base_mac, in mlxsw_sp_cpu_port_create()
3899 sizeof(mlxsw_sp->base_mac)); in mlxsw_sp_cpu_port_create()
4661 seed = jhash(mlxsw_sp->base_mac, sizeof(mlxsw_sp->base_mac), in mlxsw_sp_lag_init()
Dspectrum.h146 unsigned char base_mac[ETH_ALEN]; member
Dspectrum_router.c8005 seed = jhash(mlxsw_sp->base_mac, sizeof(mlxsw_sp->base_mac), 0); in mlxsw_sp_mp_hash_init()
Dreg.h70 MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6);
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_regs.c441 eth_random_addr(ocelot->base_mac); in ocelot_chip_init()
442 ocelot->base_mac[5] &= 0xf0; in ocelot_chip_init()
Docelot.h446 u8 base_mac[ETH_ALEN]; member
Docelot.c978 ppid->id_len = sizeof(ocelot->base_mac); in ocelot_get_port_parent_id()
979 memcpy(&ppid->id, &ocelot->base_mac, ppid->id_len); in ocelot_get_port_parent_id()
2031 memcpy(dev->dev_addr, ocelot->base_mac, ETH_ALEN); in ocelot_probe_port()