Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c928 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_sx_hw_id_get() local
931 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(spad), spad_pl); in mlxsw_sx_hw_id_get()
934 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sx->hw_id); in mlxsw_sx_hw_id_get()
Dspectrum.c473 char spad_pl[MLXSW_REG_SPAD_LEN] = {0}; in mlxsw_sp_base_mac_get() local
476 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); in mlxsw_sp_base_mac_get()
479 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sp->base_mac); in mlxsw_sp_base_mac_get()