Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c125 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_m_port_module_info_get() local
128 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_m_port_module_info_get()
129 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get()
132 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get()
133 *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()
Dspectrum.c446 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_info_get() local
453 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sp_port_module_info_get()
454 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sp_port_module_info_get()
457 module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_get()
458 width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_sp_port_module_info_get()
459 separate_rxtx = mlxsw_reg_pmlp_rxtx_get(pmlp_pl); in mlxsw_sp_port_module_info_get()
468 if (mlxsw_reg_pmlp_module_get(pmlp_pl, i) != module) { in mlxsw_sp_port_module_info_get()
474 mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, i) != in mlxsw_sp_port_module_info_get()
475 mlxsw_reg_pmlp_rx_lane_get(pmlp_pl, i)) { in mlxsw_sp_port_module_info_get()
480 if (mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, i) != i) { in mlxsw_sp_port_module_info_get()
[all …]
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()