Searched refs:port_mapping (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 487 struct mlxsw_sp_port_mapping *port_mapping) in mlxsw_sp_port_module_info_get() argument 530 port_mapping->module = module; in mlxsw_sp_port_module_info_get() 531 port_mapping->width = width; in mlxsw_sp_port_module_info_get() 532 port_mapping->lane = mlxsw_reg_pmlp_tx_lane_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_get() 538 struct mlxsw_sp_port_mapping *port_mapping = &mlxsw_sp_port->mapping; in mlxsw_sp_port_module_map() local 544 mlxsw_reg_pmlp_width_set(pmlp_pl, port_mapping->width); in mlxsw_sp_port_module_map() 545 for (i = 0; i < port_mapping->width; i++) { in mlxsw_sp_port_module_map() 546 mlxsw_reg_pmlp_module_set(pmlp_pl, i, port_mapping->module); in mlxsw_sp_port_module_map() 547 mlxsw_reg_pmlp_tx_lane_set(pmlp_pl, i, port_mapping->lane + i); /* Rx & Tx */ in mlxsw_sp_port_module_map() 1447 struct mlxsw_sp_port_mapping *port_mapping) in mlxsw_sp_port_create() argument [all …]
|
D | spectrum_ethtool.c | 564 struct mlxsw_sp_port_mapping port_mapping = mlxsw_sp_port->mapping; in mlxsw_sp_port_get_transceiver_overheat_stats() local 570 port_mapping.module, in mlxsw_sp_port_get_transceiver_overheat_stats()
|
D | spectrum.h | 165 struct mlxsw_sp_port_mapping **port_mapping; member
|
/Linux-v5.15/sound/soc/fsl/ |
D | imx-audmux.c | 180 static const uint8_t port_mapping[] = { variable 192 if (port >= ARRAY_SIZE(port_mapping)) in imx_audmux_v1_configure_port() 195 writel(pcr, audmux_base + port_mapping[port]); in imx_audmux_v1_configure_port()
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_bios.c | 1696 const int port_mapping[][3], u8 dvo_port) in __dvo_port_to_port() 1703 if (port_mapping[port][i] == -1) in __dvo_port_to_port() 1706 if (dvo_port == port_mapping[port][i]) in __dvo_port_to_port() 1721 static const int port_mapping[][3] = { in dvo_port_to_port() local 1784 return __dvo_port_to_port(ARRAY_SIZE(port_mapping), in dvo_port_to_port() 1785 ARRAY_SIZE(port_mapping[0]), in dvo_port_to_port() 1786 port_mapping, in dvo_port_to_port() 2553 } port_mapping[] = { in intel_bios_is_port_present() local 2570 port == PORT_A) || port >= ARRAY_SIZE(port_mapping)) in intel_bios_is_port_present() 2576 if ((child->dvo_port == port_mapping[port].dp || in intel_bios_is_port_present() [all …]
|