Home
last modified time | relevance | path

Searched refs:port_cap (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/include/drm/display/
H A Ddrm_dp_helper.h584 const u8 port_cap[4],
587 const u8 port_cap[4]);
589 const u8 port_cap[4],
592 const u8 port_cap[4],
595 const u8 port_cap[4],
600 const u8 port_cap[4]);
603 const u8 port_cap[4]);
607 const u8 port_cap[4],
612 const u8 port_cap[4]);
616 const u8 port_cap[4]);
[all …]
/linux-6.15/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c1233 const u8 port_cap[4]) in drm_dp_downstream_max_dotclock()
1245 return port_cap[1] * 8000; in drm_dp_downstream_max_dotclock()
1262 const u8 port_cap[4], in drm_dp_downstream_max_tmds_clock()
1305 return port_cap[1] * 2500; in drm_dp_downstream_max_tmds_clock()
1310 return port_cap[1] * 2500; in drm_dp_downstream_max_tmds_clock()
1327 const u8 port_cap[4], in drm_dp_downstream_min_tmds_clock()
1370 const u8 port_cap[4], in drm_dp_downstream_max_bpc()
1522 const u8 port_cap[4]) in drm_dp_downstream_mode()
1588 const u8 port_cap[4], in drm_dp_downstream_debug()
1675 const u8 port_cap[4]) in drm_dp_subconnector_type()
[all …]
/linux-6.15/drivers/usb/host/
H A Dxhci-mem.c1985 struct xhci_port_cap *port_cap; in xhci_add_in_port() local
2038 if (port_cap->psi_count) { in xhci_add_in_port()
2039 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2040 sizeof(*port_cap->psi), in xhci_add_in_port()
2042 if (!port_cap->psi) in xhci_add_in_port()
2043 port_cap->psi_count = 0; in xhci_add_in_port()
2045 port_cap->psi_uid_count++; in xhci_add_in_port()
2054 port_cap->psi_uid_count++; in xhci_add_in_port()
2076 port_cap->maj_rev = major_revision; in xhci_add_in_port()
2078 port_cap->protocol_caps = temp; in xhci_add_in_port()
[all …]
H A Dxhci-hub.c42 struct xhci_port_cap *port_cap = NULL; in xhci_create_usb3x_bos_desc() local
68 port_cap = &xhci->port_caps[i]; in xhci_create_usb3x_bos_desc()
73 if (port_cap->psi_count) { in xhci_create_usb3x_bos_desc()
76 for (i = 0; i < port_cap->psi_count; i++) { in xhci_create_usb3x_bos_desc()
77 if ((port_cap->psi[i] & PLT_MASK) == PLT_SYM) in xhci_create_usb3x_bos_desc()
81 ssac = port_cap->psi_count + num_sym_ssa - 1; in xhci_create_usb3x_bos_desc()
82 ssic = port_cap->psi_uid_count - 1; in xhci_create_usb3x_bos_desc()
139 if (!port_cap->psi_count) { in xhci_create_usb3x_bos_desc()
149 for (i = 0; i < port_cap->psi_count; i++) { in xhci_create_usb3x_bos_desc()
160 psi = port_cap->psi[i]; in xhci_create_usb3x_bos_desc()
[all …]
H A Dxhci.h1475 struct xhci_port_cap *port_cap; member
H A Dxhci.c4617 capability = port->port_cap->protocol_caps; in xhci_update_device()
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.c1161 dev_cap->port_cap[1].max_port_width); in mlx4_dev_cap_dump()
1208 port_cap->max_vl = field >> 4; in mlx4_QUERY_PORT()
1210 port_cap->ib_mtu = field >> 4; in mlx4_QUERY_PORT()
1211 port_cap->max_port_width = field & 0xf; in mlx4_QUERY_PORT()
1241 port_cap->ib_mtu = field & 0xf; in mlx4_QUERY_PORT()
1248 port_cap->max_vl = field & 0xf; in mlx4_QUERY_PORT()
1249 port_cap->max_tc_eth = field >> 4; in mlx4_QUERY_PORT()
1251 port_cap->log_max_macs = field & 0xf; in mlx4_QUERY_PORT()
1252 port_cap->log_max_vlans = field >> 4; in mlx4_QUERY_PORT()
1256 port_cap->trans_type = field32 >> 24; in mlx4_QUERY_PORT()
[all …]
H A Dmain.c393 struct mlx4_port_cap *port_cap) in _mlx4_dev_port() argument
395 dev->caps.vl_cap[port] = port_cap->max_vl; in _mlx4_dev_port()
396 dev->caps.ib_mtu_cap[port] = port_cap->ib_mtu; in _mlx4_dev_port()
405 dev->caps.eth_mtu_cap[port] = port_cap->eth_mtu; in _mlx4_dev_port()
406 dev->caps.max_tc_eth = port_cap->max_tc_eth; in _mlx4_dev_port()
420 struct mlx4_port_cap *port_cap) in mlx4_dev_port() argument
424 err = mlx4_QUERY_PORT(dev, port, port_cap); in mlx4_dev_port()
2261 struct mlx4_port_cap port_cap; in mlx4_validate_optimized_steering() local
2267 if (mlx4_dev_port(dev, i, &port_cap)) { in mlx4_validate_optimized_steering()
2272 (port_cap.dmfs_optimized_state == in mlx4_validate_optimized_steering()
[all …]
H A Dfw.h132 struct mlx4_port_cap port_cap[MLX4_MAX_PORTS + 1]; member
232 int mlx4_QUERY_PORT(struct mlx4_dev *dev, int port, struct mlx4_port_cap *port_cap);
H A Deq.c157 struct mlx4_port_cap port_cap; in mlx4_gen_slave_eqe() local
159 if (!mlx4_QUERY_PORT(dev, 1, &port_cap) && port_cap.link_state) in mlx4_gen_slave_eqe()
162 if (!mlx4_QUERY_PORT(dev, 2, &port_cap) && port_cap.link_state) in mlx4_gen_slave_eqe()
/linux-6.15/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c264 struct hinic_port_cap port_cap; in hinic_get_link_ksettings() local
274 err = hinic_port_get_cap(nic_dev, &port_cap); in hinic_get_link_ksettings()
286 set_link_speed(link_ksettings, port_cap.speed); in hinic_get_link_ksettings()
288 (port_cap.duplex == HINIC_DUPLEX_FULL) ? in hinic_get_link_ksettings()
394 struct hinic_port_cap port_cap = { 0 }; in get_link_settings_type() local
397 err = hinic_port_get_cap(nic_dev, &port_cap); in get_link_settings_type()
402 if (port_cap.autoneg_cap) in get_link_settings_type()
406 if (!port_cap.autoneg_cap) { in get_link_settings_type()
854 struct hinic_port_cap port_cap = {0}; in hinic_set_pauseparam() local
857 err = hinic_port_get_cap(nic_dev, &port_cap); in hinic_set_pauseparam()
[all …]
H A Dhinic_port.c334 struct hinic_port_cap *port_cap) in hinic_port_get_cap() argument
339 u16 out_size = sizeof(*port_cap); in hinic_port_get_cap()
342 port_cap->func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_cap()
345 port_cap, sizeof(*port_cap), in hinic_port_get_cap()
346 port_cap, &out_size); in hinic_port_get_cap()
347 if (err || out_size != sizeof(*port_cap) || port_cap->status) { in hinic_port_get_cap()
350 err, port_cap->status, out_size); in hinic_port_get_cap()
H A Dhinic_sriov.c864 struct hinic_port_cap port_cap = { 0 }; in hinic_ndo_set_vf_bw() local
887 err = hinic_port_get_cap(nic_dev, &port_cap); in hinic_ndo_set_vf_bw()
888 if (err || port_cap.speed > LINK_SPEED_100GB) in hinic_ndo_set_vf_bw()
892 if (max_tx_rate < 0 || max_tx_rate > speeds[port_cap.speed]) { in hinic_ndo_set_vf_bw()
894 speeds[port_cap.speed]); in hinic_ndo_set_vf_bw()
H A Dhinic_main.c942 struct hinic_port_cap port_cap = {0}; in hinic_refresh_nic_cfg() local
944 if (hinic_port_get_cap(nic_dev, &port_cap)) in hinic_refresh_nic_cfg()
948 if (nic_cfg->pause_set || !port_cap.autoneg_state) { in hinic_refresh_nic_cfg()
949 nic_cfg->auto_neg = port_cap.autoneg_state; in hinic_refresh_nic_cfg()
H A Dhinic_port.h793 struct hinic_port_cap *port_cap);