/Linux-v6.1/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra186-pmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra186-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra186-pmc 17 - nvidia,tegra194-pmc 18 - nvidia,tegra234-pmc 24 reg-names: [all …]
|
/Linux-v6.1/sound/soc/intel/boards/ |
D | skl_nau88l25_max98357a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <sound/soc-acpi.h> 20 #define SKL_NUVOTON_CODEC_DAI "nau8825-hifi" 22 #define DMIC_CH(p) p->list[p->count-1] 52 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 53 struct snd_soc_card *card = dapm->card; in platform_clock_control() 59 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control() 60 return -EIO; in platform_clock_control() 67 dev_err(card->dev, "set sysclk err = %d\n", ret); in platform_clock_control() 68 return -EIO; in platform_clock_control() [all …]
|
D | skl_nau88l25_ssm4567.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <sound/soc-acpi.h> 24 #define SKL_NUVOTON_CODEC_DAI "nau8825-hifi" 25 #define SKL_SSM_CODEC_DAI "ssm4567-hifi" 26 #define DMIC_CH(p) p->list[p->count-1] 62 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 63 struct snd_soc_card *card = dapm->card; in platform_clock_control() 69 dev_err(card->dev, "Codec dai not found\n"); in platform_clock_control() 70 return -EIO; in platform_clock_control() 77 dev_err(card->dev, "set sysclk err = %d\n", ret); in platform_clock_control() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 75 if (link->hpd_gpio) { in dc_link_destruct() 76 dal_gpio_destroy_irq(&link->hpd_gpio); in dc_link_destruct() 77 link->hpd_gpio = NULL; in dc_link_destruct() 80 if (link->ddc) in dc_link_destruct() 81 dal_ddc_service_destroy(&link->ddc); in dc_link_destruct() 83 if (link->panel_cntl) in dc_link_destruct() 84 link->panel_cntl->funcs->destroy(&link->panel_cntl); in dc_link_destruct() 86 if (link->link_enc) { in dc_link_destruct() 91 if (link->link_id.id != CONNECTOR_ID_VIRTUAL) { in dc_link_destruct() [all …]
|
D | dc_link_dp.c | 50 link->ctx->logger 133 link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_cr_training_aux_rd_interval() 160 link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval() 276 struct dpcd_caps *rx_caps = &link->dpcd_caps; in decide_eq_training_pattern() 281 enc_caps = &link_enc->features; in decide_eq_training_pattern() 285 if (enc_caps->flags.bits.IS_TPS4_CAPABLE && in decide_eq_training_pattern() 286 rx_caps->max_down_spread.bits.TPS4_SUPPORTED) in decide_eq_training_pattern() 288 else if (enc_caps->flags.bits.IS_TPS3_CAPABLE && in decide_eq_training_pattern() 289 rx_caps->max_ln_count.bits.TPS3_SUPPORTED) in decide_eq_training_pattern() 310 switch (link_settings->link_rate) { in get_dpcd_link_rate() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_link_encoder.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 38 enc10->base.ctx 40 enc10->base.ctx->logger 43 (enc10->link_regs->reg) 47 enc10->link_shift->field_name, enc10->link_mask->field_name 50 (enc10->link_regs->index) 178 enable ? "Enabling" : "Disabling", enc->id.enum_id); in enc2_fec_set_enable() 206 REG_GET(DP_DPHY_CNTL, DPHY_FEC_EN, &s->dphy_fec_en); in link_enc2_read_state() 207 REG_GET(DP_DPHY_CNTL, DPHY_FEC_READY_SHADOW, &s->dphy_fec_ready_shadow); in link_enc2_read_state() 208 REG_GET(DP_DPHY_CNTL, DPHY_FEC_ACTIVE_STATUS, &s->dphy_fec_active_status); in link_enc2_read_state() [all …]
|
/Linux-v6.1/sound/pci/hda/ |
D | patch_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * patch_hdmi.c - routines for HDMI/DisplayPort codecs 6 * Copyright(c) 2008-2010 Intel Corporation. All rights reserved. 48 MODULE_PARM_DESC(enable_silent_stream, "Enable Silent Stream for HDMI devices"); 82 struct hdmi_pcm *pcm; /* pointer to spec->pcm_rec[n] dynamically*/ 83 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */ 89 bool chmap_set; /* channel-map override by ALSA API? */ 90 unsigned char chmap[8]; /* ALSA API channel-map */ 126 SILENT_STREAM_KAE, /* use standard HDA Keep-Alive */ 170 /* hdmi interrupt trigger control flag for Nvidia codec */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/include/ |
D | atomfirmware.h | 6 * Description header file of general definitions for OS and pre-OS video drivers 31 * If a change in VBIOS/Driver/Tool's interface is only needed for pre-SoC15 products, then the chan… 115 ATOM_SCALER_DISABLE =0, /*scaler bypass mode, auto-center & no replication*/ 116 ATOM_SCALER_CENTER =1, //For Fudo, it's bypass and auto-center & auto replication 201 #define BIOS_VERSION_PREFIX "ATOMBIOSBK-AMD" 244 …tom_string_def atom_bios_string; //Signature to distinguish between Atombios and non-atombios, 603 uint32_t maco_pwrlimit_mw; // bomaco mode power limit in unit of m-watt 604 uint32_t usb_pwrlimit_mw; // power limit when USB is enable in unit of m-watt 655 eDP_TO_LVDS_RX_DISABLE = 0x00, // no eDP->LVDS translator chip 656 …eDP_TO_LVDS_COMMON_ID = 0x01, // common eDP->LVDS translator chip without A… [all …]
|
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-v6.1/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 75 * For eDP, after power-up/power/down, 85 hws->ctx 90 hws->regs->reg 94 hws->shifts->field_name, hws->masks->field_name 102 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 105 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 108 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 111 .crtc = (mmCRTCV_GSL_CONTROL - mmCRTC_GSL_CONTROL), 211 struct dc_context *ctx = dc->ctx; in dce110_enable_display_power_gating() 212 unsigned int underlay_idx = dc->res_pool->underlay_pipe_index; in dce110_enable_display_power_gating() [all …]
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
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 707 // =3: HDMI encoder [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_dp.c | 103 * intel_dp_is_edp - is the given port attached to an eDP panel (either CPU or PCH) 115 return dig_port->base.type == INTEL_OUTPUT_EDP; in intel_dp_is_edp() 124 return crtc_state->port_clock >= 1000000; in intel_dp_is_uhbr() 129 intel_dp->sink_rates[0] = 162000; in intel_dp_set_default_sink_rates() 130 intel_dp->num_sink_rates = 1; in intel_dp_set_default_sink_rates() 142 if (drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS)) { in intel_dp_set_dpcd_sink_rates() 146 memcpy(intel_dp->sink_rates, quirk_rates, sizeof(quirk_rates)); in intel_dp_set_dpcd_sink_rates() 147 intel_dp->num_sink_rates = ARRAY_SIZE(quirk_rates); in intel_dp_set_dpcd_sink_rates() 155 max_rate = drm_dp_bw_code_to_link_rate(intel_dp->dpcd[DP_MAX_LINK_RATE]); in intel_dp_set_dpcd_sink_rates() 156 max_lttpr_rate = drm_dp_lttpr_max_link_rate(intel_dp->lttpr_common_caps); in intel_dp_set_dpcd_sink_rates() [all …]
|
/Linux-v6.1/drivers/soc/tegra/ |
D | pmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. 12 #define pr_fmt(fmt) "tegra-pmc: " fmt 14 #include <linux/arm-smccc.h> 16 #include <linux/clk-provider.h> 18 #include <linux/clk/clk-conf.h> 36 #include <linux/pinctrl/pinconf-generic.h> 54 #include <dt-bindings/interrupt-controller/arm-gic.h> 55 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 56 #include <dt-bindings/gpio/tegra186-gpio.h> [all …]
|
/Linux-v6.1/drivers/clk/tegra/ |
D | clk-tegra-periph.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 16 #include "clk-id.h" 130 #define MASK(x) (BIT(x) - 1) 714 MUX8("hdmi", mux_pllp_pllm_plld_plla_pllc_plld2_clkm, CLK_SOURCE_HDMI, 51, 0, tegra_clk_hdmi), 787 GATE("mipi-cal", "clk72mhz", 56, 0, tegra_clk_mipi_cal, 0), 795 GATE("dp2", "clk_m", 152, TEGRA_PERIPH_ON_APB, tegra_clk_dp2, 0), 873 dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); in periph_clk_init() 877 bank = get_reg_bank(data->periph.gate.clk_num); in periph_clk_init() 881 data->periph.gate.regs = bank; in periph_clk_init() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 60 /* parse_write_buffer_into_params - Helper function to parse debugfs write buffer into an array 87 return -EFAULT; in parse_write_buffer_into_params() 101 /* skip non-space*/ in parse_write_buffer_into_params() 150 * debugfs is located at /sys/kernel/debug/dri/0/DP-x/link_settings 152 * --- to get dp configuration 154 * cat /sys/kernel/debug/dri/0/DP-x/link_settings 157 * current -- for current video mode 158 * verified --- maximum configuration which pass link training 159 * reported --- DP rx report caps (DPCD register offset 0, 1 2) 160 * preferred --- user force settings [all …]
|
D | amdgpu_dm.c | 175 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type() 194 struct dc_link *link = aconnector->dc_link; in update_subconnector_property() 195 struct drm_connector *connector = &aconnector->base; in update_subconnector_property() 198 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property() 201 if (aconnector->dc_sink) in update_subconnector_property() 204 drm_object_property_set_value(&connector->base, in update_subconnector_property() 205 connector->dev->mode_config.dp_subconnector_property, in update_subconnector_property() 248 * struct amdgpu_device *adev - [in] desired amdgpu device 249 * int disp_idx - [in] which CRTC to get the counter from 256 if (crtc >= adev->mode_info.num_crtc) in dm_vblank_get_counter() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 59 hws->ctx 61 hws->regs->reg 63 dc->ctx->logger 68 hws->shifts->field_name, hws->masks->field_name 79 if (hws->ctx->dc->debug.disable_dsc_power_gate) in dcn32_dsc_pg_control() 156 if (hws->ctx->dc->debug.disable_hubp_power_gate) in dcn32_hubp_pg_control() 189 /* First, check no-memory-request case */ in dcn32_check_no_memory_request_for_cab() 190 for (i = 0; i < dc->current_state->stream_count; i++) { in dcn32_check_no_memory_request_for_cab() 191 if (dc->current_state->stream_status[i].plane_count) in dcn32_check_no_memory_request_for_cab() 196 if (i == dc->current_state->stream_count) in dcn32_check_no_memory_request_for_cab() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 134 * Physical framebuffer address location, 64-bit. 166 * union dmub_addr - DMUB physical/virtual 64-bit address. 276 * struct dmub_fw_meta_info - metadata associated with fw binary 298 * union dmub_fw_meta - ensures that dmub_fw_meta_info remains 64 bytes 311 * dmub_trace_code_t - firmware trace code, 32-bits 316 * struct dmcub_trace_buf_entry - Firmware trace entry 339 * union dmub_fw_boot_status - Status bit definitions for SCRATCH0. 352 uint32_t all; /**< 32-bit access to status bits */ 356 * enum dmub_fw_boot_status_bit - Enum bit definitions for SCRATCH0. 383 * union dmub_fw_boot_options - Boot option definitions for SCRATCH14 [all …]
|