Home
last modified time | relevance | path

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

/Linux-v5.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()
Dswitchib.c108 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_sib_hw_id_get() local
111 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(spad), spad_pl); in mlxsw_sib_hw_id_get()
114 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sib->hw_id); in mlxsw_sib_hw_id_get()
Dswitchx2.c873 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_sx_hw_id_get() local
876 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(spad), spad_pl); in mlxsw_sx_hw_id_get()
879 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sx->hw_id); in mlxsw_sx_hw_id_get()
Dspectrum.c281 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_sp_base_mac_get() local
284 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); in mlxsw_sp_base_mac_get()
287 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sp->base_mac); in mlxsw_sp_base_mac_get()