Home
last modified time | relevance | path

Searched refs:pmlp_pl (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c117 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_m_port_module_info_get() local
120 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_m_port_module_info_get()
121 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get()
124 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get()
125 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_m_port_module_info_get()
Dswitchib.c178 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sib_port_module_info_get() local
181 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sib_port_module_info_get()
182 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sib_port_module_info_get()
185 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_sib_port_module_info_get()
186 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_sib_port_module_info_get()
Dcore_hwmon.c532 char pmlp_pl[MLXSW_REG_PMLP_LEN] = {0}; in mlxsw_hwmon_module_init() local
547 mlxsw_reg_pmlp_pack(pmlp_pl, i); in mlxsw_hwmon_module_init()
549 pmlp_pl); in mlxsw_hwmon_module_init()
555 width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_hwmon_module_init()
Dcore_thermal.c781 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_thermal_module_init() local
785 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_thermal_module_init()
786 err = mlxsw_reg_query(core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_thermal_module_init()
790 width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_thermal_module_init()
794 module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_thermal_module_init()
Dswitchx2.c257 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sx_port_module_info_get() local
260 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sx_port_module_info_get()
261 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sx_port_module_info_get()
264 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_sx_port_module_info_get()
265 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_sx_port_module_info_get()
Dspectrum.c742 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_info_get() local
745 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sp_port_module_info_get()
746 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sp_port_module_info_get()
749 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_get()
750 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_sp_port_module_info_get()
751 *p_lane = mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_get()
759 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_map() local
762 mlxsw_reg_pmlp_pack(pmlp_pl, mlxsw_sp_port->local_port); in mlxsw_sp_port_module_map()
763 mlxsw_reg_pmlp_width_set(pmlp_pl, width); in mlxsw_sp_port_module_map()
765 mlxsw_reg_pmlp_module_set(pmlp_pl, i, module); in mlxsw_sp_port_module_map()
[all …]