Searched refs:port_mapping (Results 1 – 4 of 4) sorted by relevance
586 struct mlxsw_sp_port_mapping *port_mapping) in mlxsw_sp_port_module_info_parse() argument632 port_mapping->module = module; in mlxsw_sp_port_module_info_parse()633 port_mapping->slot_index = slot_index; in mlxsw_sp_port_module_info_parse()634 port_mapping->width = width; in mlxsw_sp_port_module_info_parse()635 port_mapping->module_width = width; in mlxsw_sp_port_module_info_parse()636 port_mapping->lane = mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_parse()642 struct mlxsw_sp_port_mapping *port_mapping) in mlxsw_sp_port_module_info_get() argument652 pmlp_pl, port_mapping); in mlxsw_sp_port_module_info_get()657 const struct mlxsw_sp_port_mapping *port_mapping) in mlxsw_sp_port_module_map() argument662 mlxsw_env_module_port_map(mlxsw_sp->core, port_mapping->slot_index, in mlxsw_sp_port_module_map()[all …]
168 struct mlxsw_sp_port_mapping *port_mapping; member
176 static const uint8_t port_mapping[] = { variable188 if (port >= ARRAY_SIZE(port_mapping)) in imx_audmux_v1_configure_port()191 writel(pcr, audmux_base + port_mapping[port]); in imx_audmux_v1_configure_port()
2267 const int port_mapping[][3], u8 dvo_port) in __dvo_port_to_port()2274 if (port_mapping[port][i] == -1) in __dvo_port_to_port()2277 if (dvo_port == port_mapping[port][i]) in __dvo_port_to_port()2292 static const int port_mapping[][3] = { in dvo_port_to_port() local2355 return __dvo_port_to_port(ARRAY_SIZE(port_mapping), in dvo_port_to_port()2356 ARRAY_SIZE(port_mapping[0]), in dvo_port_to_port()2357 port_mapping, in dvo_port_to_port()