Home
last modified time | relevance | path

Searched refs:port_caps (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/
H A 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 in fun_set_phys_id()
[all...]
H A Dfuneth.h100 u64 port_caps; member
H A 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()
1438 if (!(fp->port_caps & FUN_PORT_CAP_OFFLOADS)) in fun_init_rss()
1476 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_init_stats_area()
1508 if (fp->port_caps & FUN_PORT_CAP_VPORT) { in fun_dl_port_register()
1764 if (fp->port_caps & FUN_PORT_CAP_OFFLOADS) in fun_create_netdev()
1766 if (fp->port_caps & FUN_PORT_CAP_ENCAP_OFFLOADS) in fun_create_netdev()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmad.c51 return dev->mdev->port_caps[port_num - 1].has_smi; in can_do_mad_ifc()
308 dev->mdev->port_caps[port - 1].ext_port_cap = (!err && !packet_error) ? in mlx5_query_ext_port_caps()
558 props->pkey_tbl_len = mdev->port_caps[port - 1].pkey_table_len; in mlx5_query_mad_ifc_port()
598 if (mdev->port_caps[port - 1].ext_port_cap & in mlx5_query_mad_ifc_port()
H A Dmain.c2948 for (port = 1; port <= ARRAY_SIZE(dev->mdev->port_caps); port++) { in set_has_smi_cap()
2949 dev->mdev->port_caps[port - 1].has_smi = false; in set_has_smi_cap()
2961 dev->mdev->port_caps[port - 1].has_smi = in set_has_smi_cap()
2964 dev->mdev->port_caps[port - 1].has_smi = true; in set_has_smi_cap()
3006 dev->mdev->port_caps[port - 1].pkey_table_len = in __get_port_caps()
3008 dev->mdev->port_caps[port - 1].gid_table_len = in __get_port_caps()
H A Dwr.c1372 if (unlikely(!mdev->port_caps[qp->port - 1].has_smi)) { in mlx5_ib_post_send()
H A Dqp.c3215 dev->mdev->port_caps[port - 1].gid_table_len) { in mlx5_set_path()
3218 dev->mdev->port_caps[port - 1].gid_table_len); in mlx5_set_path()
4409 dev->mdev->port_caps[port - 1].pkey_table_len) { in mlx5_ib_modify_qp()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A 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()
H A Dmlx5_ib.h1154 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS]; member
H A Dwr.c1144 if (unlikely(!dev->port_caps[qp->port - 1].has_smi)) { in mlx5_ib_post_send()
H A Dmain.c2763 dev->port_caps[port - 1].has_smi = true; in set_has_smi_cap()
2773 dev->port_caps[port - 1].has_smi = vport_ctx.has_smi; in set_has_smi_cap()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mem.c1945 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()
1946 kfree(xhci->port_caps); in xhci_mem_cleanup()
1954 xhci->port_caps = NULL; in xhci_mem_cleanup()
2201 port_cap = &xhci->port_caps[xhci->num_port_caps++]; in xhci_add_in_port()
2377 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
2379 if (!xhci->port_caps) in xhci_setup_port_arrays()
H A Dxhci-hub.c69 if (xhci->port_caps[i].maj_rev == 0x03 && in xhci_create_usb3_bos_desc()
70 xhci->port_caps[i].min_rev >= 0x01) { in xhci_create_usb3_bos_desc()
72 port_cap = &xhci->port_caps[i]; in xhci_create_usb3_bos_desc()
H A Dxhci.h1917 struct xhci_port_cap *port_caps; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-mem.c1917 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()
1918 kfree(xhci->port_caps); in xhci_mem_cleanup()
1926 xhci->port_caps = NULL; in xhci_mem_cleanup()
2011 port_cap = &xhci->port_caps[xhci->num_port_caps++]; in xhci_add_in_port()
2185 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
2187 if (!xhci->port_caps) in xhci_setup_port_arrays()
H A 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()
H A Dxhci.h1926 struct xhci_port_cap *port_caps; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_capability.c1085 union dwnstream_port_caps_byte0 *port_caps = in get_active_converter_info() local
1090 switch (port_caps->bits.DWN_STRM_PORTX_TYPE) { in get_active_converter_info()
1122 if (port_caps->bits.DWN_STRM_PORTX_TYPE in get_active_converter_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_dp.c3180 union dwnstream_port_caps_byte0 *port_caps = in get_active_converter_info() local
3185 switch (port_caps->bits.DWN_STRM_PORTX_TYPE) { in get_active_converter_info()
3217 if (port_caps->bits.DWN_STRM_PORTX_TYPE in get_active_converter_info()
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Ddriver.h686 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Def10.c1690 u32 port_caps = efx_mcdi_phy_get_caps(efx); in efx_ef10_raw_stat_mask() local
1697 if (port_caps & (1 << MC_CMD_PHY_CAP_40000FDX_LBN)) { in efx_ef10_raw_stat_mask()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Def10.c1690 u32 port_caps = efx_mcdi_phy_get_caps(efx); in efx_ef10_raw_stat_mask() local
1697 if (port_caps & (1 << MC_CMD_PHY_CAP_40000FDX_LBN)) { in efx_ef10_raw_stat_mask()

Completed in 110 milliseconds