/linux/drivers/gpu/drm/tegra/ |
H A D | dp.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2013-2019 NVIDIA Corporation 17 caps->enhanced_framing = false; in drm_dp_link_caps_reset() 18 caps->tps3_supported = false; in drm_dp_link_caps_reset() 19 caps->fast_training = false; in drm_dp_link_caps_reset() 20 caps->channel_coding = false; in drm_dp_link_caps_reset() 21 caps->alternate_scrambler_reset = false; in drm_dp_link_caps_reset() 27 dest->enhanced_framing = src->enhanced_framing; in drm_dp_link_caps_copy() 28 dest->tps3_supported = src->tps3_supported; in drm_dp_link_caps_copy() 29 dest->fast_training = src->fast_training; in drm_dp_link_caps_copy() [all …]
|
H A D | dp.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (C) 2013-2019 NVIDIA Corporation. 18 * struct drm_dp_link_caps - DP link capabilities 38 * AUX CH handshake not required for link training 61 * struct drm_dp_link_ops - DP link operations 67 int (*apply_training)(struct drm_dp_link *link); 72 int (*configure)(struct drm_dp_link *link); 80 * struct drm_dp_link_train_set - link training settings 81 * @voltage_swing: per-lane voltage swing 82 * @pre_emphasis: per-lane pre-emphasis [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | tc_sample.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test that packets are sampled when tc-sample is used and that reported 8 # +---------------------------------+ +---------------------------------+ 14 # +----|----------------------------+ +----|----------------------------+ 16 # +----|-----------------------------------------|----------------------------+ 22 # +----|-----------------------------------------|----------------------------+ 24 # +----|----------------------------+ +----|----------------------------+ 30 # +---------------------------------+ +---------------------------------+ 63 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 68 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 [all …]
|
H A D | qos_ets_strict.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # them. In H3, we expect to see (almost) exclusively the high-priority traffic. 13 # +---------------------------+ +-----------------------------+ 17 # | e-qos-map 0:1 | | | | e-qos-map 0:2 | 20 # +-----------------|---------+ +---------|-------------------+ 22 # +-----------------|-------------------------------------|-------------------+ 25 # | +---------------|-----------+ +----------|----------------+ | 29 # | +---------------|-----------+ +----------|----------------+ | 34 # | | ETS: (up n->tc n for n in 0..7) | 36 # +------------------------------------|--------------------------------------+ [all …]
|
H A D | qos_mc_aware.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # MC load. This issue can be overcome by putting the switch to MC-aware mode. 8 # under MC flood, and therefore that the MC-aware mode is enabled and correctly 19 # each gets a different priority and we can use per-prio ethtool counters to 28 # +---------------------------+ +----------------------------------+ 30 # | | | unicast --> + $h2.111 | 32 # | traffic | | | e-qos-map 0:1 | 33 # | $h1 + <----- | | | | 35 # +---------------|-----------+ +--------------|-------------------+ 37 # +---------------|---------------------------------------|-------------------+ [all …]
|
H A D | devlink_trap_policer.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test devlink-trap policer functionality over mlxsw. 6 # +---------------------------------+ 12 # +----|----------------------------+ 14 # +----|----------------------------------------------------------------------+ 22 # +----|----------------------------------------------------------------------+ 24 # +----|----------------------------+ 30 # +---------------------------------+ 50 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 55 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_training_fixed_vs_pe_retimer.c | 27 * This file implements 8b/10b link training specially modified to support an 29 * Unlike native dp connection this chip requires a modified link training 30 * protocol based on 8b/10b link training. Since this is a non standard sequence 42 link->ctx->logger 45 struct dc_link *link, in dp_fixed_vs_pe_read_lane_adjust() argument 55 link_configure_fixed_vs_pe_retimer(link->ddc, in dp_fixed_vs_pe_read_lane_adjust() 58 link_query_fixed_vs_pe_retimer(link->ddc, &dprx_vs, 1); in dp_fixed_vs_pe_read_lane_adjust() 60 link_configure_fixed_vs_pe_retimer(link->ddc, in dp_fixed_vs_pe_read_lane_adjust() 63 link_query_fixed_vs_pe_retimer(link->ddc, &dprx_pe, 1); in dp_fixed_vs_pe_read_lane_adjust() 73 struct dc_link *link, in dp_fixed_vs_pe_set_retimer_lane_settings() argument [all …]
|
H A D | link_dp_capability.c | 27 * This file implements dp specific link capability retrieval sequence. It is 29 * from dp link. Link capability consists of encoders, DPRXs, cables, retimers, 31 * include this header file in order to access link capability. Accessing link 34 * structure used to represent link capability instead of function interfaces. 44 #include "link/accessories/link_dp_trace.h" 45 #include "link/link_detection.h" 46 #include "link/link_validation.h" 55 link->ctx->logger 71 /* This link training fallback array is ordered by 72 * link bandwidth from highest to lowest. [all …]
|
H A D | link_dp_training.c | 27 * This file implements all generic dp link training helper functions and top 28 * level generic training sequence. All variations of dp link training sequence 31 * of link encoding and back end hardware. 40 #include "link/accessories/link_dp_trace.h" 44 #include "link/link_detection.h" 45 #include "link/link_validation.h" 52 link->ctx->logger 59 struct dc_link *link, in dp_log_training_result() argument 67 switch (lt_settings->link_settings.link_rate) { in dp_log_training_result() 134 lt_result = "Link loss"; in dp_log_training_result() [all …]
|
/linux/sound/soc/fsl/ |
H A D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 14 #include <sound/soc-dapm.h> 32 * @rmin: min rate 33 * @rmax: max rate 54 * struct imx_card_plat_data - specific info for codecs 58 * @support_rates: supported sample rate 59 * @support_tdm_rates: supported sample rate fo 260 unsigned int rate = params_rate(params); akcodec_get_mclk_rate() local 467 struct snd_interval *rate; be_hw_params_fixup() local 491 struct snd_soc_dai_link *link; imx_card_parse_of() local 698 struct snd_soc_dai_link *link_be = NULL, *link; imx_card_probe() local [all...] |
/linux/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-mhdp8546-core.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Authors: Quentin Schulz <quentin.schulz@free-electrons.com> 14 * - Implement optimized mailbox communication using mailbox interrupts 15 * - Add support for power management 16 * - Add support for features like audio, MST and fast link training 17 * - Implement request_fw_cancel to handle HW_STATE 18 * - Fix asynchronous loading of firmware implementation 19 * - Add DRM helper function for cdns_mhdp_lower_link_rate 29 #include <linux/media-bus-format.h> 33 #include <linux/phy/phy-dp.h> [all …]
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_link.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__ 49 struct dp_link_info *link) in dp_aux_link_power_up() argument 55 if (link->revision < 0x11) in dp_aux_link_power_up() 77 struct dp_link_info *link) in dp_aux_link_power_down() argument 82 if (link->revision < 0x11) in dp_aux_link_power_down() 99 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument 106 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period() 108 ret = -EINVAL; in dp_link_get_period() [all …]
|
H A D | dp_panel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 22 struct dp_link *link; member 32 dp_panel = &panel->dp_panel; in dp_panel_read_psr_cap() 35 if (dp_panel->dpcd[DP_EDP_CONFIGURATION_CAP]) { in dp_panel_read_psr_cap() 36 rlen = drm_dp_dpcd_read(panel->aux, DP_PSR_SUPPORT, in dp_panel_read_psr_cap() 37 &dp_panel->psr_cap, sizeof(dp_panel->psr_cap)); in dp_panel_read_psr_cap() 38 if (rlen == sizeof(dp_panel->psr_cap)) { in dp_panel_read_psr_cap() 39 drm_dbg_dp(panel->drm_dev, in dp_panel_read_psr_cap() 41 dp_panel->psr_cap.version, in dp_panel_read_psr_cap() [all …]
|
H A D | dp_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__ 12 #include <linux/phy/phy-dp.h> 46 u64 hactive; /* active h-width */ 61 u8 lrate; /* DP_LINK_RATE -> 162(6), 270(10), 540(20), 810 (30) */ 78 struct dp_link *link; member 103 struct dp_link_info *link) in dp_aux_link_configure() argument 108 values[0] = drm_dp_link_rate_to_bw_code(link->rate); in dp_aux_link_configure() 109 values[1] = link->num_lanes; in dp_aux_link_configure() [all …]
|
H A D | dp_debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt)"[drm-dp] %s: " fmt, __func__ 21 struct dp_link *link; member 28 struct dp_debug_private *debug = seq->private; in dp_debug_show() 34 return -ENODEV; in dp_debug_show() 36 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show() 40 debug->panel->link_info.rate); in dp_debug_show() 42 debug->panel->link_info.num_lanes); in dp_debug_show() 44 debug->panel->link_info.capabilities); in dp_debug_show() [all …]
|
H A D | dp_panel.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 27 struct dp_link *link; member 69 * is_link_rate_valid() - validates the link rate 70 * @lane_rate: link rate requested by the sink 72 * Returns true if the requested link rate is supported. 83 * dp_link_is_lane_count_valid() - validates the lane count
|
/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | wl18xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 43 /* number of keys requiring extra spare mem-blocks */ 63 * is short lived, for multi-channel Tx requirements. 72 /* number of packets to queue up for a link in PS */ 75 /* number of packet to queue up for a suspended link */ 79 * link to qualify as high priority link 84 * link to qualify as high priority link 89 * link before we stop queuing up packets for it. 94 * link before we stop queuing up packets for it. 111 /* Tx rate of the last transmitted packet */ [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-herobrine-audio-wcd9385.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 /* BOARD-SPECIFIC TOP LEVEL NODES */ 11 compatible = "google,sc7280-herobrine"; 12 model = "sc7280-wcd938x-max98360a-1mic"; 14 audio-routing = 35 #address-cells = <1>; 36 #size-cells = <0>; 38 dai-link@0 { 39 link-name = "MAX98360A"; 43 sound-dai = <&lpass_cpu MI2S_SECONDARY>; [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 42 #define AMPERE_IED_HACK(disp) ((disp)->engine.subdev.device->card_type >= GA100) 53 *pid = BIT(outp->index); in nvkm_dp_mst_id_get() 60 int ret = nvkm_i2c_aux_acquire(outp->dp.aux); in nvkm_dp_aux_xfer() 65 ret = nvkm_i2c_aux_xfer(outp->dp.aux, false, type, addr, data, size); in nvkm_dp_aux_xfer() 66 nvkm_i2c_aux_release(outp->dp.aux); in nvkm_dp_aux_xfer() 73 outp->dp.enabled = pu; in nvkm_dp_aux_pwr() 74 nvkm_dp_enable(outp, outp->dp.enabled); in nvkm_dp_aux_pwr() 94 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense() 100 if (lt->repeater) in nvkm_dp_train_sense() 101 addr = DPCD_LTTPR_LANE0_1_STATUS(lt->repeater); in nvkm_dp_train_sense() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpmac.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2013-2016 Freescale Semiconductor Inc. 24 * enum dpmac_link_type - DPMAC link type 25 * @DPMAC_LINK_TYPE_NONE: No link 26 * @DPMAC_LINK_TYPE_FIXED: Link is fixed type 27 * @DPMAC_LINK_TYPE_PHY: Link by PHY ID 28 * @DPMAC_LINK_TYPE_BACKPLANE: Backplane link type 38 * enum dpmac_eth_if - DPMAC Ethrnet interface 68 * struct dpmac_attr - Structure representing DPMAC attributes 70 * @max_rate: Maximum supported rate - in Mbps [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 18 bitclock-master: 19 description: Indicates dai-link bit clock master 22 frame-inversion: [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink_trap.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking devlink-trap functionality. It makes use of 40 if [ ! -d "$NETDEVSIM_PATH" ]; then 45 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then 54 if [ $((state & 1)) -ne 0 ]; then 57 ip link set dev $NETDEV down 65 test $(devlink_traps_num_get) -ne 0 80 # The action of non-drop traps cannot be changed. 137 check_fail $? "Did not get an error for non-existing trap" 139 log_test "Non-existing trap" [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_link_training.c | 2 * Copyright © 2008-2015 Intel Corporation 35 #define LT_MSG_ARGS(_intel_dp, _dp_phy) (_intel_dp)->attached_connector->base.base.id, \ 36 (_intel_dp)->attached_connector->base.name, \ 37 dp_to_dig_port(_intel_dp)->base.base.base.id, \ 38 dp_to_dig_port(_intel_dp)->base.base.name, \ 42 drm_dbg_kms(to_intel_display(_intel_dp)->drm, \ 47 if (intel_digital_port_connected(&dp_to_dig_port(_intel_dp)->base)) \ 48 drm_err(to_intel_display(_intel_dp)->drm, \ 57 memset(intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps)); in intel_dp_reset_lttpr_common_caps() 62 intel_dp->lttpr_common_caps[DP_PHY_REPEATER_CNT - in intel_dp_reset_lttpr_count() [all …]
|
/linux/arch/x86/include/uapi/asm/ |
H A D | amd_hsmp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 27 HSMP_SET_XGMI_LINK_WIDTH, /* 0Ch Set max and min width of xGMI Link */ 29 HSMP_SET_AUTO_DF_PSTATE, /* 0Eh Enable DF P-State Performance Boost algorithm */ 37 HSMP_GET_DIMM_TEMP_RANGE, /* 16h Get per-DIMM temperature range and refresh rate */ 38 HSMP_GET_DIMM_POWER, /* 17h Get per-DIMM power consumption */ 39 HSMP_GET_DIMM_THERMAL, /* 18h Get per-DIMM thermal sensors */ 42 HSMP_GET_RAILS_SVI, /* 1Bh Get SVI-based Telemetry for all rails */ 44 HSMP_GET_IOLINK_BANDWITH, /* 1Dh Get current bandwidth on IO Link */ 45 HSMP_GET_XGMI_BANDWITH, /* 1Eh Get current bandwidth on xGMI Link */ 46 HSMP_SET_GMI3_WIDTH, /* 1Fh Set max and min GMI3 Link width */ [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 - TX queues must be rated starting from txq0 that has highest priority 27 - Traffic classes are used starting from 0, that has highest priority 28 - CBS shapers should be used with rated queues 29 - The bandwidth for CBS shapers has to be set a little bit more then 30 potential incoming rate, thus, rate of all incoming tx queues has 32 - Real rates can differ, due to discreetness 33 - Map skb-priority to txq is not enough, also skb-priority to l2 prio 35 - Any l2/socket prio (0 - 7) for classes can be used, but for 37 - only 2 classes tested: A and B, but checked and can work with more, [all …]
|