/linux-master/include/drm/display/ |
H A D | drm_dp_helper.h | 528 const u8 port_cap[4], u8 type); 530 const u8 port_cap[4], 533 const u8 port_cap[4]); 535 const u8 port_cap[4], 538 const u8 port_cap[4], 541 const u8 port_cap[4], 544 const u8 port_cap[4]); 546 const u8 port_cap[4]); 549 const u8 port_cap[4]); 553 const u8 port_cap[ [all...] |
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 794 * @port_cap: port capabilities 805 const u8 port_cap[4], u8 type) 809 (port_cap[0] & DP_DS_PORT_TYPE_MASK) == type; 816 * @port_cap: port capabilities 822 const u8 port_cap[4], 834 switch (port_cap[0] & DP_DS_PORT_TYPE_MASK) { 1045 * @port_cap: port capabilities 1051 const u8 port_cap[4]) 1059 switch (port_cap[0] & DP_DS_PORT_TYPE_MASK) { 1063 return port_cap[ 804 drm_dp_downstream_is_type(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], u8 type) argument 821 drm_dp_downstream_is_tmds(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], const struct drm_edid *drm_edid) argument 1050 drm_dp_downstream_max_dotclock(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4]) argument 1079 drm_dp_downstream_max_tmds_clock(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], const struct drm_edid *drm_edid) argument 1144 drm_dp_downstream_min_tmds_clock(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], const struct drm_edid *drm_edid) argument 1187 drm_dp_downstream_max_bpc(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], const struct drm_edid *drm_edid) argument 1243 drm_dp_downstream_420_passthrough(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4]) argument 1274 drm_dp_downstream_444_to_420_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4]) argument 1305 drm_dp_downstream_rgb_to_ycbcr_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], u8 color_spc) argument 1338 drm_dp_downstream_mode(struct drm_device *dev, const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4]) argument 1404 drm_dp_downstream_debug(struct seq_file *m, const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4], const struct drm_edid *drm_edid, struct drm_dp_aux *aux) argument 1492 drm_dp_subconnector_type(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4]) argument 1547 drm_dp_set_subconnector_property(struct drm_connector *connector, enum drm_connector_status status, const u8 *dpcd, const u8 port_cap[4]) argument 3056 drm_dp_get_pcon_max_frl_bw(const u8 dpcd[DP_RECEIVER_CAP_SIZE], const u8 port_cap[4]) argument [all...] |
/linux-master/drivers/usb/host/ |
H A D | xhci-mem.c | 1999 struct xhci_port_cap *port_cap; local 2046 port_cap = &xhci->port_caps[xhci->num_port_caps++]; 2050 port_cap->psi_count = XHCI_EXT_PORT_PSIC(temp); 2052 if (port_cap->psi_count) { 2053 port_cap->psi = kcalloc_node(port_cap->psi_count, 2054 sizeof(*port_cap->psi), 2056 if (!port_cap->psi) 2057 port_cap->psi_count = 0; 2059 port_cap [all...] |
H A D | xhci-hub.c | 41 struct xhci_port_cap *port_cap = NULL; local 67 port_cap = &xhci->port_caps[i]; 72 if (port_cap->psi_count) { 75 for (i = 0; i < port_cap->psi_count; i++) { 76 if ((port_cap->psi[i] & PLT_MASK) == PLT_SYM) 80 ssac = port_cap->psi_count + num_sym_ssa - 1; 81 ssic = port_cap->psi_uid_count - 1; 138 if (!port_cap->psi_count) { 148 for (i = 0; i < port_cap->psi_count; i++) { 159 psi = port_cap [all...] |
H A D | xhci.h | 1461 struct xhci_port_cap *port_cap; member in struct:xhci_port
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.h | 132 struct mlx4_port_cap port_cap[MLX4_MAX_PORTS + 1]; member in struct:mlx4_dev_cap 232 int mlx4_QUERY_PORT(struct mlx4_dev *dev, int port, struct mlx4_port_cap *port_cap);
|
H A D | fw.c | 1109 err = mlx4_QUERY_PORT(dev, i, dev_cap->port_cap + i); 1160 dev_cap->local_ca_ack_delay, 128 << dev_cap->port_cap[1].ib_mtu, 1161 dev_cap->port_cap[1].max_port_width); 1186 int mlx4_QUERY_PORT(struct mlx4_dev *dev, int port, struct mlx4_port_cap *port_cap) argument 1208 port_cap->max_vl = field >> 4; 1210 port_cap->ib_mtu = field >> 4; 1211 port_cap->max_port_width = field & 0xf; 1213 port_cap->max_gids = 1 << (field & 0xf); 1215 port_cap->max_pkeys = 1 << (field & 0xf); 1235 port_cap 1461 struct mlx4_port_cap port_cap; local [all...] |
H A D | main.c | 397 struct mlx4_port_cap *port_cap) 399 dev->caps.vl_cap[port] = port_cap->max_vl; 400 dev->caps.ib_mtu_cap[port] = port_cap->ib_mtu; 401 dev->phys_caps.gid_phys_table_len[port] = port_cap->max_gids; 402 dev->phys_caps.pkey_phys_table_len[port] = port_cap->max_pkeys; 406 dev->caps.gid_table_len[port] = port_cap->max_gids; 407 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; 408 dev->caps.port_width_cap[port] = port_cap->max_port_width; 409 dev->caps.eth_mtu_cap[port] = port_cap->eth_mtu; 410 dev->caps.max_tc_eth = port_cap 396 _mlx4_dev_port(struct mlx4_dev *dev, int port, struct mlx4_port_cap *port_cap) argument 423 mlx4_dev_port(struct mlx4_dev *dev, int port, struct mlx4_port_cap *port_cap) argument 2265 struct mlx4_port_cap port_cap; local [all...] |
H A D | eq.c | 157 struct mlx4_port_cap port_cap; local 159 if (!mlx4_QUERY_PORT(dev, 1, &port_cap) && port_cap.link_state) 162 if (!mlx4_QUERY_PORT(dev, 2, &port_cap) && port_cap.link_state)
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_ethtool.c | 264 struct hinic_port_cap port_cap; local 274 err = hinic_port_get_cap(nic_dev, &port_cap); 278 hinic_link_port_type(&settings, port_cap.port_type); 286 set_link_speed(link_ksettings, port_cap.speed); 288 (port_cap.duplex == HINIC_DUPLEX_FULL) ? 292 if (!!(port_cap.autoneg_cap & HINIC_AUTONEG_SUPPORTED)) 296 if (port_cap.autoneg_state == HINIC_AUTONEG_ACTIVE) 394 struct hinic_port_cap port_cap = { 0 }; local 397 err = hinic_port_get_cap(nic_dev, &port_cap); 402 if (port_cap 854 struct hinic_port_cap port_cap = {0}; local [all...] |
H A D | hinic_port.c | 329 * @port_cap: returned port capabilities 334 struct hinic_port_cap *port_cap) 339 u16 out_size = sizeof(*port_cap); 342 port_cap->func_idx = HINIC_HWIF_FUNC_IDX(hwif); 345 port_cap, sizeof(*port_cap), 346 port_cap, &out_size); 347 if (err || out_size != sizeof(*port_cap) || port_cap->status) { 350 err, port_cap 333 hinic_port_get_cap(struct hinic_dev *nic_dev, struct hinic_port_cap *port_cap) argument [all...] |
H A D | hinic_sriov.c | 864 struct hinic_port_cap port_cap = { 0 }; local 887 err = hinic_port_get_cap(nic_dev, &port_cap); 888 if (err || port_cap.speed > LINK_SPEED_100GB) 892 if (max_tx_rate < 0 || max_tx_rate > speeds[port_cap.speed]) { 894 speeds[port_cap.speed]);
|
H A D | hinic_main.c | 940 struct hinic_port_cap port_cap = {0}; local 942 if (hinic_port_get_cap(nic_dev, &port_cap)) 946 if (nic_cfg->pause_set || !port_cap.autoneg_state) { 947 nic_cfg->auto_neg = port_cap.autoneg_state;
|
H A D | hinic_port.h | 793 struct hinic_port_cap *port_cap);
|