Searched refs:base_mac (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | minimal.c | 26 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()
|
D | spectrum.c | 580 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()
|
D | spectrum.h | 146 unsigned char base_mac[ETH_ALEN]; member
|
D | spectrum_router.c | 8005 seed = jhash(mlxsw_sp->base_mac, sizeof(mlxsw_sp->base_mac), 0); in mlxsw_sp_mp_hash_init()
|
D | reg.h | 70 MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6);
|
/Linux-v5.4/drivers/net/ethernet/mscc/ |
D | ocelot_regs.c | 441 eth_random_addr(ocelot->base_mac); in ocelot_chip_init() 442 ocelot->base_mac[5] &= 0xf0; in ocelot_chip_init()
|
D | ocelot.h | 446 u8 base_mac[ETH_ALEN]; member
|
D | ocelot.c | 978 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()
|