Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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.c2932 for (port = 1; port <= ARRAY_SIZE(dev->mdev->port_caps); port++) { in set_has_smi_cap()
2933 dev->mdev->port_caps[port - 1].has_smi = false; in set_has_smi_cap()
2945 dev->mdev->port_caps[port - 1].has_smi = in set_has_smi_cap()
2948 dev->mdev->port_caps[port - 1].has_smi = true; in set_has_smi_cap()
2990 dev->mdev->port_caps[port - 1].pkey_table_len = in __get_port_caps()
2992 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()
4348 dev->mdev->port_caps[port - 1].pkey_table_len) { in mlx5_ib_modify_qp()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-mem.c2034 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()
2035 kfree(xhci->port_caps); in xhci_mem_cleanup()
2043 xhci->port_caps = NULL; in xhci_mem_cleanup()
2286 port_cap = &xhci->port_caps[xhci->num_port_caps++]; in xhci_add_in_port()
2447 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
2449 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.h1926 struct xhci_port_cap *port_caps; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Ddriver.h680 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS]; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A 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()