Searched refs:port_caps (Results 1 – 12 of 12) sorted by relevance
238 fun_link_modes_to_ethtool(fp->port_caps, ks->link_modes.supported); in fun_get_link_ksettings()239 if (fp->port_caps & (FUN_PORT_CAP_RX_PAUSE | FUN_PORT_CAP_TX_PAUSE)) in fun_get_link_ksettings()324 if (fp->port_caps & FUN_PORT_CAP_VPORT) in fun_set_link_ksettings()330 !(fp->port_caps & FUN_PORT_CAP_AUTONEG)) in fun_set_link_ksettings()337 fun_link_modes_to_ethtool(fp->port_caps, supported); in fun_set_link_ksettings()344 new_advert &= fp->port_caps; in fun_set_link_ksettings()371 if (fp->port_caps & FUN_PORT_CAP_VPORT) in fun_set_pauseparam()378 if (pause->tx_pause && !(fp->port_caps & FUN_PORT_CAP_TX_PAUSE)) in fun_set_pauseparam()380 if (pause->rx_pause && !(fp->port_caps & FUN_PORT_CAP_RX_PAUSE)) in fun_set_pauseparam()409 if (fp->port_caps & FUN_PORT_CAP_VPORT) in fun_set_phys_id()[all …]
100 u64 port_caps; member
989 fp->port_caps = data[i]; in fun_get_port_attributes()1002 if (!(fp->port_caps & FUN_PORT_CAP_VPORT)) { in fun_get_port_attributes()1441 if (!(fp->port_caps & FUN_PORT_CAP_OFFLOADS)) in fun_init_rss()1479 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_init_stats_area()1511 if (fp->port_caps & FUN_PORT_CAP_VPORT) { in fun_dl_port_register()1766 if (fp->port_caps & FUN_PORT_CAP_OFFLOADS) in fun_create_netdev()1768 if (fp->port_caps & FUN_PORT_CAP_ENCAP_OFFLOADS) in fun_create_netdev()
51 return dev->port_caps[port_num - 1].has_smi; in can_do_mad_ifc()329 dev->port_caps[port - 1].ext_port_cap = (!err && !packet_error) ? in mlx5_query_ext_port_caps()624 if (dev->port_caps[port - 1].ext_port_cap & in mlx5_query_mad_ifc_port()
1106 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS]; member
1144 if (unlikely(!dev->port_caps[qp->port - 1].has_smi)) { in mlx5_ib_post_send()
2748 dev->port_caps[port - 1].has_smi = true; in set_has_smi_cap()2758 dev->port_caps[port - 1].has_smi = vport_ctx.has_smi; in set_has_smi_cap()
1915 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()1916 kfree(xhci->port_caps); in xhci_mem_cleanup()1924 xhci->port_caps = NULL; in xhci_mem_cleanup()2166 port_cap = &xhci->port_caps[xhci->num_port_caps++]; in xhci_add_in_port()2327 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()2329 if (!xhci->port_caps) in xhci_setup_port_arrays()
61 u8 major = xhci->port_caps[i].maj_rev; in xhci_create_usb3x_bos_desc()62 u8 minor = xhci->port_caps[i].min_rev; in xhci_create_usb3x_bos_desc()67 port_cap = &xhci->port_caps[i]; in xhci_create_usb3x_bos_desc()
1918 struct xhci_port_cap *port_caps; member
1677 u32 port_caps = efx_mcdi_phy_get_caps(efx); in efx_ef10_raw_stat_mask() local1684 if (port_caps & (1 << MC_CMD_PHY_CAP_40000FDX_LBN)) { in efx_ef10_raw_stat_mask()
4840 union dwnstream_port_caps_byte0 *port_caps = in get_active_converter_info() local4845 switch (port_caps->bits.DWN_STRM_PORTX_TYPE) { in get_active_converter_info()4877 if (port_caps->bits.DWN_STRM_PORTX_TYPE in get_active_converter_info()