Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c204 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_m_port_module_info_get() local
207 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_m_port_module_info_get()
208 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get()
211 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get()
212 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_m_port_module_info_get()
213 *p_slot_index = mlxsw_reg_pmlp_slot_index_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get()
Dspectrum.c567 u16 local_port, char *pmlp_pl, in mlxsw_sp_port_module_info_parse() argument
577 module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_parse()
578 slot_index = mlxsw_reg_pmlp_slot_index_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_parse()
579 width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_sp_port_module_info_parse()
580 separate_rxtx = mlxsw_reg_pmlp_rxtx_get(pmlp_pl); in mlxsw_sp_port_module_info_parse()
581 first_lane = mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_parse()
590 if (mlxsw_reg_pmlp_module_get(pmlp_pl, i) != module) { in mlxsw_sp_port_module_info_parse()
595 if (mlxsw_reg_pmlp_slot_index_get(pmlp_pl, i) != slot_index) { in mlxsw_sp_port_module_info_parse()
601 mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, i) != in mlxsw_sp_port_module_info_parse()
602 mlxsw_reg_pmlp_rx_lane_get(pmlp_pl, i)) { in mlxsw_sp_port_module_info_parse()
[all …]