Searched refs:pmlp_pl (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | minimal.c | 193 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_m_port_module_info_get() local 196 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_m_port_module_info_get() 197 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get() 200 *p_module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get() 201 *p_width = mlxsw_reg_pmlp_width_get(pmlp_pl); in mlxsw_m_port_module_info_get() 202 *p_slot_index = mlxsw_reg_pmlp_slot_index_get(pmlp_pl, 0); in mlxsw_m_port_module_info_get()
|
H A D | spectrum.c | 585 u16 local_port, char *pmlp_pl, in mlxsw_sp_port_module_info_parse() argument 644 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_info_get() local 647 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sp_port_module_info_get() 652 pmlp_pl, port_mapping); in mlxsw_sp_port_module_info_get() 659 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_map() local 665 mlxsw_reg_pmlp_pack(pmlp_pl, local_port); in mlxsw_sp_port_module_map() 688 char pmlp_pl[MLXSW_REG_PMLP_LEN]; in mlxsw_sp_port_module_unmap() local 691 mlxsw_reg_pmlp_width_set(pmlp_pl, 0); in mlxsw_sp_port_module_unmap() 1991 char pmlp_pl[MLXSW_REG_PMLP_LEN]; member 2042 char *pmlp_pl, void *priv) in mlxsw_sp_port_mapping_listener_func() argument [all …]
|