Home
last modified time | relevance | path

Searched refs:port_caps (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_ethtool.c238 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 …]
Dfuneth.h100 u64 port_caps; member
Dfuneth_main.c989 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()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmad.c51 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()
Dmlx5_ib.h1106 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS]; member
Dwr.c1144 if (unlikely(!dev->port_caps[qp->port - 1].has_smi)) { in mlx5_ib_post_send()
Dmain.c2748 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()
/linux-6.1.9/drivers/usb/host/
Dxhci-mem.c1915 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()
Dxhci-hub.c61 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()
Dxhci.h1918 struct xhci_port_cap *port_caps; member
/linux-6.1.9/drivers/net/ethernet/sfc/
Def10.c1677 u32 port_caps = efx_mcdi_phy_get_caps(efx); in efx_ef10_raw_stat_mask() local
1684 if (port_caps & (1 << MC_CMD_PHY_CAP_40000FDX_LBN)) { in efx_ef10_raw_stat_mask()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c4840 union dwnstream_port_caps_byte0 *port_caps = in get_active_converter_info() local
4845 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()