Searched refs:port_modes (Results 1 – 2 of 2) sorted by relevance
22 uint32_t port_modes; in hunt_nic_get_required_pcie_bandwidth() local32 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, in hunt_nic_get_required_pcie_bandwidth()39 if (port_modes & (1U << TLV_PORT_MODE_40G_40G)) { in hunt_nic_get_required_pcie_bandwidth()48 if (port_modes & (1U << TLV_PORT_MODE_40G)) { in hunt_nic_get_required_pcie_bandwidth()50 } else if (port_modes & (1U << TLV_PORT_MODE_10G_10G_10G_10G)) { in hunt_nic_get_required_pcie_bandwidth()
130 uint32_t port_modes; in ef10_nic_get_port_mode_bandwidth() local140 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, in ef10_nic_get_port_mode_bandwidth()1746 uint32_t port_modes; in ef10_external_port_mapping() local1752 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, ¤t, in ef10_external_port_mapping()1759 &port_modes, NULL, NULL)) != 0) { in ef10_external_port_mapping()1768 port_modes = 1 << current; in ef10_external_port_mapping()1780 matches = (eepmp->modes_mask & port_modes); in ef10_external_port_mapping()1788 port_modes &= ~matches; in ef10_external_port_mapping()1792 if (port_modes != 0) { in ef10_external_port_mapping()