Home
last modified time | relevance | path

Searched refs:spad_pl (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c47 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_m_base_mac_get() local
50 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); in mlxsw_m_base_mac_get()
53 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_m->base_mac); in mlxsw_m_base_mac_get()
Dspectrum.c286 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_sp_base_mac_get() local
289 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); in mlxsw_sp_base_mac_get()
292 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sp->base_mac); in mlxsw_sp_base_mac_get()