Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
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()
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()
Dwr.c1372 if (unlikely(!mdev->port_caps[qp->port - 1].has_smi)) { in mlx5_ib_post_send()
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()
4382 dev->mdev->port_caps[port - 1].pkey_table_len) { in mlx5_ib_modify_qp()
/kernel/linux/linux-5.10/drivers/usb/host/
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()
2374 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
2376 if (!xhci->port_caps) in xhci_setup_port_arrays()
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()
Dxhci.h1914 struct xhci_port_cap *port_caps; member
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h684 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
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/drivers/net/ethernet/sfc/
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()