Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c586 struct mlxsw_sp_port_mapping *port_mapping) in mlxsw_sp_port_module_info_parse() argument
632 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() argument
652 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() argument
662 mlxsw_env_module_port_map(mlxsw_sp->core, port_mapping->slot_index, in mlxsw_sp_port_module_map()
[all …]
H A Dspectrum.h168 struct mlxsw_sp_port_mapping *port_mapping; member
/openbmc/linux/sound/soc/fsl/
H A Dimx-audmux.c176 static const uint8_t port_mapping[] = { variable
188 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()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_bios.c2287 const int port_mapping[][3], u8 dvo_port) in __dvo_port_to_port()
2294 if (port_mapping[port][i] == -1) in __dvo_port_to_port()
2297 if (dvo_port == port_mapping[port][i]) in __dvo_port_to_port()
2312 static const int port_mapping[][3] = { in dvo_port_to_port() local
2375 return __dvo_port_to_port(ARRAY_SIZE(port_mapping), in dvo_port_to_port()
2376 ARRAY_SIZE(port_mapping[0]), in dvo_port_to_port()
2377 port_mapping, in dvo_port_to_port()