Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_dp_helper.c755 const u8 port_cap[4]) in drm_dp_downstream_max_dotclock()
767 return port_cap[1] * 8000; in drm_dp_downstream_max_dotclock()
784 const u8 port_cap[4], in drm_dp_downstream_max_tmds_clock()
827 return port_cap[1] * 2500; in drm_dp_downstream_max_tmds_clock()
832 return port_cap[1] * 2500; in drm_dp_downstream_max_tmds_clock()
849 const u8 port_cap[4], in drm_dp_downstream_min_tmds_clock()
892 const u8 port_cap[4], in drm_dp_downstream_max_bpc()
1044 const u8 port_cap[4]) in drm_dp_downstream_mode()
1110 const u8 port_cap[4], in drm_dp_downstream_debug()
1197 const u8 port_cap[4]) in drm_dp_subconnector_type()
[all …]
/linux/include/drm/
A Ddrm_dp_helper.h2078 const u8 port_cap[4],
2081 const u8 port_cap[4]);
2083 const u8 port_cap[4],
2086 const u8 port_cap[4],
2089 const u8 port_cap[4],
2094 const u8 port_cap[4]);
2097 const u8 port_cap[4]);
2101 const u8 port_cap[4],
2106 const u8 port_cap[4]);
2110 const u8 port_cap[4]);
[all …]
/linux/drivers/usb/host/
A Dxhci-mem.c2125 struct xhci_port_cap *port_cap; in xhci_add_in_port() local
2173 port_cap->maj_rev = major_revision; in xhci_add_in_port()
2174 port_cap->min_rev = minor_revision; in xhci_add_in_port()
2177 if (port_cap->psi_count) { in xhci_add_in_port()
2178 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2179 sizeof(*port_cap->psi), in xhci_add_in_port()
2181 if (!port_cap->psi) in xhci_add_in_port()
2182 port_cap->psi_count = 0; in xhci_add_in_port()
2184 port_cap->psi_uid_count++; in xhci_add_in_port()
2193 port_cap->psi_uid_count++; in xhci_add_in_port()
[all …]
A Dxhci-hub.c41 struct xhci_port_cap *port_cap = NULL; in xhci_create_usb3x_bos_desc() local
67 port_cap = &xhci->port_caps[i]; in xhci_create_usb3x_bos_desc()
72 if (port_cap->psi_count) { in xhci_create_usb3x_bos_desc()
75 for (i = 0; i < port_cap->psi_count; i++) { in xhci_create_usb3x_bos_desc()
76 if ((port_cap->psi[i] & PLT_MASK) == PLT_SYM) in xhci_create_usb3x_bos_desc()
80 ssac = port_cap->psi_count + num_sym_ssa - 1; in xhci_create_usb3x_bos_desc()
81 ssic = port_cap->psi_uid_count - 1; in xhci_create_usb3x_bos_desc()
138 if (!port_cap->psi_count) { in xhci_create_usb3x_bos_desc()
148 for (i = 0; i < port_cap->psi_count; i++) { in xhci_create_usb3x_bos_desc()
159 psi = port_cap->psi[i]; in xhci_create_usb3x_bos_desc()
[all …]
A Dxhci.h1736 struct xhci_port_cap *port_cap; member
/linux/drivers/net/ethernet/mellanox/mlx4/
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 …]
A Dmain.c398 struct mlx4_port_cap *port_cap) in _mlx4_dev_port() argument
400 dev->caps.vl_cap[port] = port_cap->max_vl; in _mlx4_dev_port()
401 dev->caps.ib_mtu_cap[port] = port_cap->ib_mtu; in _mlx4_dev_port()
410 dev->caps.eth_mtu_cap[port] = port_cap->eth_mtu; in _mlx4_dev_port()
411 dev->caps.max_tc_eth = port_cap->max_tc_eth; in _mlx4_dev_port()
425 struct mlx4_port_cap *port_cap) in mlx4_dev_port() argument
429 err = mlx4_QUERY_PORT(dev, port, port_cap); in mlx4_dev_port()
2240 struct mlx4_port_cap port_cap; in mlx4_validate_optimized_steering() local
2246 if (mlx4_dev_port(dev, i, &port_cap)) { in mlx4_validate_optimized_steering()
2251 (port_cap.dmfs_optimized_state == in mlx4_validate_optimized_steering()
[all …]
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);
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/drivers/net/ethernet/huawei/hinic/
A Dhinic_ethtool.c265 struct hinic_port_cap port_cap; in hinic_get_link_ksettings() local
275 err = hinic_port_get_cap(nic_dev, &port_cap); in hinic_get_link_ksettings()
287 set_link_speed(link_ksettings, port_cap.speed); in hinic_get_link_ksettings()
289 (port_cap.duplex == HINIC_DUPLEX_FULL) ? in hinic_get_link_ksettings()
395 struct hinic_port_cap port_cap = { 0 }; in get_link_settings_type() local
398 err = hinic_port_get_cap(nic_dev, &port_cap); in get_link_settings_type()
403 if (port_cap.autoneg_cap) in get_link_settings_type()
407 if (!port_cap.autoneg_cap) { in get_link_settings_type()
851 struct hinic_port_cap port_cap = {0}; in hinic_set_pauseparam() local
854 err = hinic_port_get_cap(nic_dev, &port_cap); in hinic_set_pauseparam()
[all …]
A Dhinic_port.c349 struct hinic_port_cap *port_cap) in hinic_port_get_cap() argument
354 u16 out_size = sizeof(*port_cap); in hinic_port_get_cap()
357 port_cap->func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_cap()
360 port_cap, sizeof(*port_cap), in hinic_port_get_cap()
361 port_cap, &out_size); in hinic_port_get_cap()
362 if (err || out_size != sizeof(*port_cap) || port_cap->status) { in hinic_port_get_cap()
365 err, port_cap->status, out_size); in hinic_port_get_cap()
A Dhinic_sriov.c845 struct hinic_port_cap port_cap = { 0 }; in hinic_ndo_set_vf_bw() local
874 err = hinic_port_get_cap(nic_dev, &port_cap); in hinic_ndo_set_vf_bw()
875 if (err || port_cap.speed > LINK_SPEED_100GB) in hinic_ndo_set_vf_bw()
879 if (max_tx_rate < 0 || max_tx_rate > speeds[port_cap.speed]) { in hinic_ndo_set_vf_bw()
881 speeds[port_cap.speed]); in hinic_ndo_set_vf_bw()
A Dhinic_main.c965 struct hinic_port_cap port_cap = {0}; in hinic_refresh_nic_cfg() local
967 if (hinic_port_get_cap(nic_dev, &port_cap)) in hinic_refresh_nic_cfg()
971 if (nic_cfg->pause_set || !port_cap.autoneg_state) { in hinic_refresh_nic_cfg()
972 nic_cfg->auto_neg = port_cap.autoneg_state; in hinic_refresh_nic_cfg()
A Dhinic_port.h783 struct hinic_port_cap *port_cap);

Completed in 73 milliseconds