/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
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 52 link->ctx->logger 67 switch (lt_settings->link_settings.link_rate) { in dp_log_training_result() 152 switch (lt_settings->link_settings.link_spread) { in dp_log_training_result() 168 /* TODO - DP2.0 Log: add connectivity log for FFE PRESET */ in dp_log_training_result() 172 lt_settings->link_settings.lane_count, in dp_log_training_result() 174 lt_settings->hw_lane_settings[0].VOLTAGE_SWING, in dp_log_training_result() 175 lt_settings->hw_lane_settings[0].PRE_EMPHASIS, in dp_log_training_result() 215 DC_LOG_HW_LINK_TRAINING("%s: Using DP training pattern TPS1\n", __func__); in dp_training_pattern_to_dpcd_training_pattern() [all …]
|
/linux/include/dt-bindings/clock/ |
H A D | tegra234-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */ 12 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_ACTMON */ 18 /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AHUB */ 22 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_APE */ 24 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AUD_MCLK */ 26 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AXI_CBB */ 28 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_CAN1 */ 32 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_CAN2 */ 38 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC1 */ [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_link_training.c | 2 * Copyright © 2008-2015 Intel Corporation 38 #define LT_MSG_ARGS(_intel_dp, _dp_phy) (_intel_dp)->attached_connector->base.base.id, \ 39 (_intel_dp)->attached_connector->base.name, \ 40 dp_to_dig_port(_intel_dp)->base.base.base.id, \ 41 dp_to_dig_port(_intel_dp)->base.base.name, \ 45 drm_dbg_kms(to_intel_display(_intel_dp)->drm, \ 50 if (intel_digital_port_connected(&dp_to_dig_port(_intel_dp)->base)) \ 51 drm_err(to_intel_display(_intel_dp)->drm, \ 60 memset(intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps)); in intel_dp_reset_lttpr_common_caps() 65 intel_dp->lttpr_common_caps[DP_PHY_REPEATER_CNT - in intel_dp_reset_lttpr_count() [all …]
|
H A D | intel_dpll_mgr.c | 2 * Copyright © 2006-2016 Intel Corporation 46 * per-pipe or per-encoder dedicated PLLs, others allow the use of any PLL 128 shared_dpll[pll->index] = pll->state; in intel_atomic_duplicate_dpll_state() 136 drm_WARN_ON(s->dev, !drm_modeset_is_locked(&s->dev->mode_config.connection_mutex)); in intel_atomic_get_shared_dpll_state() 138 if (!state->dpll_set) { in intel_atomic_get_shared_dpll_state() 139 state->dpll_set = true; in intel_atomic_get_shared_dpll_state() 141 intel_atomic_duplicate_dpll_state(to_i915(s->dev), in intel_atomic_get_shared_dpll_state() 142 state->shared_dpll); in intel_atomic_get_shared_dpll_state() 145 return state->shared_dpll; in intel_atomic_get_shared_dpll_state() 149 * intel_get_shared_dpll_by_id - get a DPLL given its id [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 2 * Copyright 2012-2023 Advanced Micro Devices, Inc. 108 // for example, 1080p -> 8K is 4.0, or 4000 raw value 116 // for example, 8K -> 1080p is 0.25, or 250 raw value 128 * DOC: color-management-caps 133 * abstracted HW. DCE 5-12 had almost no important changes, but starting with 140 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma 156 * struct dpp_color_caps - color pipeline capabilities for display pipe and 161 * just plain 256-entry lookup 170 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes 171 * @dgam_rom_caps: pre-definied curve caps for degamma 1D LUT [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ti-sn65dsi86.c | 1 // SPDX-License-Identifier: GPL-2.0 134 * struct ti_sn65dsi86 - Platform data for ti-sn65dsi86 driver. 135 * @bridge_aux: AUX-bus sub device for MIPI-to-eDP bridge functionality. 136 * @gpio_aux: AUX-bus sub device for GPIO controller functionality. 137 * @aux_aux: AUX-bus sub device for eDP AUX channel functionality. 138 * @pwm_aux: AUX-bus sub device for PWM controller functionality. 153 * @ln_polrs: Value for the 4-bit LN_POLRS field of SN_ENH_FRAME_REG. 159 * serves double-duty of keeping track of the direction and 165 * each other's read-modify-write. 230 ret = regmap_bulk_read(pdata->regmap, reg, buf, ARRAY_SIZE(buf)); in ti_sn65dsi86_read_u16() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hpo/dcn31/ |
H A D | dcn31_hpo_dp_stream_encoder.c | 32 enc3->base.ctx->logger 35 (enc3->regs->reg) 39 enc3->hpo_se_shift->field_name, enc3->hpo_se_mask->field_name 42 enc3->base.ctx 77 /* De-assert reset to the DP_SYM32_ENC logic */ in dcn31_hpo_dp_stream_enc_enable_stream() 80 /* Wait for reset to de-assert */ in dcn31_hpo_dp_stream_enc_enable_stream() 96 /* Set the input mux for video stream source */ in dcn31_hpo_dp_stream_enc_dp_unblank() 130 /* For Debug -- Enable CRC */ in dcn31_hpo_dp_stream_enc_dp_unblank() 149 * Larger delay to wait until VBLANK - use max retry of in dcn31_hpo_dp_stream_enc_dp_blank() 243 * Color depth of Y-only could be in dcn31_hpo_dp_stream_enc_set_stream_attribute() [all …]
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-usb-legacy.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 23 #include "phy-qcom-qmp.h" 24 #include "phy-qcom-qmp-pcs-misc-v3.h" 25 #include "phy-qcom-qmp-pcs-usb-v4.h" 26 #include "phy-qcom-qmp-pcs-usb-v5.h" 28 #include "phy-qcom-qmp-dp-com-v3.h" 31 /* DP PHY soft reset */ 33 /* mux to select DP PHY reset control, 0:HW control, 1: software reset */ 37 /* mux to select USB3 PHY reset control, 0:HW control, 1: software reset */ [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | sor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 30 #include "dp.h" 488 u32 value = readl(sor->regs + (offset << 2)); in tegra_sor_readl() 490 trace_sor_readl(sor->dev, offset, value); in tegra_sor_readl() 498 trace_sor_writel(sor->dev, offset, value); in tegra_sor_writel() 499 writel(value, sor->regs + (offset << 2)); in tegra_sor_writel() 506 clk_disable_unprepare(sor->clk); in tegra_sor_set_parent_clock() 508 err = clk_set_parent(sor->clk_out, parent); in tegra_sor_set_parent_clock() 512 err = clk_prepare_enable(sor->clk); in tegra_sor_set_parent_clock() [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 538 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode 704 // =0: DP encoder [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588s-rock-5a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 compatible = "radxa,rock-5a", "rockchip,rk3588s"; 21 analog-sound { 22 compatible = "audio-graph-card"; 23 label = "rk3588-es8316"; [all …]
|
H A D | rk3588-rock-5-itx.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include "dt-bindings/usb/pd.h" 19 compatible = "radxa,rock-5-itx", "rockchip,rk3588"; 28 stdout-path = "serial2:1500000n8"; [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_reg.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 13 * R - Read only 14 * RC - Clear on read 15 * RW - Read/Write 16 * ST - Statistics register (clear on read) 17 * W - Write only 18 * WB - Wide bus register - the size is over 32 bits and it should be 20 * WR - Write Clear (write 1 to clear the bit) 32 /* [RW 1] Initiate the ATC array - reset all the valid bits */ 56 * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning - [all …]
|