Searched refs:port_modes (Results 1 – 2 of 2) sorted by relevance
47 uint32_t port_modes; in hunt_nic_get_required_pcie_bandwidth() local57 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()
159 uint32_t port_modes; in ef10_nic_get_port_mode_bandwidth() local169 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() local1704 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes, ¤t, 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()