Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c487 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 …]
Dspectrum_ethtool.c564 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()
Dspectrum.h165 struct mlxsw_sp_port_mapping **port_mapping; member
/drivers/gpu/drm/i915/display/
Dintel_bios.c1729 const int port_mapping[][3], u8 dvo_port) in __dvo_port_to_port()
1736 if (port_mapping[port][i] == -1) in __dvo_port_to_port()
1739 if (dvo_port == port_mapping[port][i]) in __dvo_port_to_port()
1754 static const int port_mapping[][3] = { in dvo_port_to_port() local
1817 return __dvo_port_to_port(ARRAY_SIZE(port_mapping), in dvo_port_to_port()
1818 ARRAY_SIZE(port_mapping[0]), in dvo_port_to_port()
1819 port_mapping, in dvo_port_to_port()
2602 } port_mapping[] = { in intel_bios_is_port_present() local
2619 port == PORT_A) || port >= ARRAY_SIZE(port_mapping)) in intel_bios_is_port_present()
2625 if ((child->dvo_port == port_mapping[port].dp || in intel_bios_is_port_present()
[all …]