Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_netdev.c176 ppid->id_len = sizeof(sparx5->base_mac); in sparx5_get_port_parent_id()
177 memcpy(&ppid->id, &sparx5->base_mac, ppid->id_len); in sparx5_get_port_parent_id()
218 eth_hw_addr_gen(ndev, sparx5->base_mac, portno + 1); in sparx5_create_netdev()
A Dsparx5_main.c778 if (!of_get_mac_address(np, sparx5->base_mac)) { in mchp_sparx5_probe()
780 eth_random_addr(sparx5->base_mac); in mchp_sparx5_probe()
781 sparx5->base_mac[5] = 0; in mchp_sparx5_probe()
A Dsparx5_main.h205 u8 base_mac[ETH_ALEN]; member
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_main.c173 if (memcmp(port->sw->base_mac, addr, ETH_ALEN - 1)) in prestera_is_valid_mac_addr()
372 eth_hw_addr_gen(dev, sw->base_mac, port->fp_id); in prestera_port_create()
376 if (memcmp(dev->dev_addr, sw->base_mac, ETH_ALEN - 1)) { in prestera_port_create()
378 dev_addr_mod(dev, 0, sw->base_mac, ETH_ALEN - 1); in prestera_port_create()
550 ret = of_get_mac_address(base_mac_np, sw->base_mac); in prestera_switch_set_base_mac_addr()
552 eth_random_addr(sw->base_mac); in prestera_switch_set_base_mac_addr()
557 return prestera_hw_switch_mac_set(sw, sw->base_mac); in prestera_switch_set_base_mac_addr()
A Dprestera.h243 char base_mac[ETH_ALEN]; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dminimal.c34 u8 base_mac[ETH_ALEN]; member
53 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_m->base_mac); in mlxsw_m_base_mac_get()
225 0, mlxsw_m->base_mac, in mlxsw_m_port_create()
226 sizeof(mlxsw_m->base_mac)); in mlxsw_m_port_create()
A Dspectrum.c289 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sp->base_mac); in mlxsw_sp_base_mac_get()
320 eth_hw_addr_gen(mlxsw_sp_port->dev, mlxsw_sp->base_mac, in mlxsw_sp_port_dev_addr_init()
1532 splittable, lanes, mlxsw_sp->base_mac, in mlxsw_sp_port_create()
1533 sizeof(mlxsw_sp->base_mac)); in mlxsw_sp_port_create()
1826 mlxsw_sp->base_mac, in mlxsw_sp_cpu_port_create()
1827 sizeof(mlxsw_sp->base_mac)); in mlxsw_sp_cpu_port_create()
2497 seed = jhash(mlxsw_sp->base_mac, sizeof(mlxsw_sp->base_mac), in mlxsw_sp_lag_init()
A Dspectrum.h164 unsigned char base_mac[ETH_ALEN]; member
A Dspectrum_router.c10096 seed = jhash(mlxsw_sp->base_mac, sizeof(mlxsw_sp->base_mac), 0); in mlxsw_sp_mp_hash_init()
A Dreg.h70 MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6);
/linux/drivers/net/ethernet/mscc/
A Docelot_net.c164 int id_len = sizeof(ocelot->base_mac); in ocelot_port_devlink_init()
169 memcpy(attrs.switch_id.id, &ocelot->base_mac, id_len); in ocelot_port_devlink_init()
1707 eth_hw_addr_gen(dev, ocelot->base_mac, port); in ocelot_probe_port()
A Docelot_vsc7514.c529 eth_random_addr(ocelot->base_mac); in ocelot_chip_init()
530 ocelot->base_mac[5] &= 0xf0; in ocelot_chip_init()
/linux/drivers/net/ethernet/ti/
A Dcpsw_priv.h362 u8 base_mac[ETH_ALEN]; member
A Dcpsw_new.c1120 ppid->id_len = sizeof(cpsw->base_mac); in cpsw_get_port_parent_id()
1121 memcpy(&ppid->id, &cpsw->base_mac, ppid->id_len); in cpsw_get_port_parent_id()
1938 eth_random_addr(cpsw->base_mac); in cpsw_probe()
/linux/include/soc/mscc/
A Docelot.h647 u8 base_mac[ETH_ALEN]; member

Completed in 89 milliseconds