Searched refs:pmlp_pl (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | minimal.c | 138 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_m_port_module_info_get() local 141 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_m_port_module_info_get() 142 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get() 145 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get() 146 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_m_port_module_info_get()
|
D | spectrum.c | 489 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_info_get() local 496 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sp_port_module_info_get() 497 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sp_port_module_info_get() 500 module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_get() 501 width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_sp_port_module_info_get() 502 separate_rxtx = mlxsw_reg_pmlp_rxtx_get(pmlp_pl); in mlxsw_sp_port_module_info_get() 511 if (mlxsw_reg_pmlp_module_get(pmlp_pl, i) != module) { in mlxsw_sp_port_module_info_get() 517 mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, i) != in mlxsw_sp_port_module_info_get() 518 mlxsw_reg_pmlp_rx_lane_get(pmlp_pl, i)) { in mlxsw_sp_port_module_info_get() 523 if (mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, i) != i) { in mlxsw_sp_port_module_info_get() [all …]
|