Home
last modified time | relevance | path

Searched refs:port_modes (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/sfxge/common/
H A Dhunt_nic.c47 uint32_t port_modes; in hunt_nic_get_required_pcie_bandwidth() local
57 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, in hunt_nic_get_required_pcie_bandwidth()
64 if (port_modes & (1U << TLV_PORT_MODE_40G_40G)) { in hunt_nic_get_required_pcie_bandwidth()
73 if (port_modes & (1U << TLV_PORT_MODE_40G)) { in hunt_nic_get_required_pcie_bandwidth()
75 } else if (port_modes & (1U << TLV_PORT_MODE_10G_10G_10G_10G)) { in hunt_nic_get_required_pcie_bandwidth()
H A Def10_nic.c159 uint32_t port_modes; in ef10_nic_get_port_mode_bandwidth() local
169 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, in ef10_nic_get_port_mode_bandwidth()
1698 uint32_t port_modes; in ef10_external_port_mapping() local
1704 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, &current, in ef10_external_port_mapping()
1711 &port_modes, NULL, NULL)) != 0) { in ef10_external_port_mapping()
1720 port_modes = 1 << current; in ef10_external_port_mapping()
1732 matches = (eepmp->modes_mask & port_modes); in ef10_external_port_mapping()
1740 port_modes &= ~matches; in ef10_external_port_mapping()
1744 if (port_modes != 0) { in ef10_external_port_mapping()