Home
last modified time | relevance | path

Searched +full:dc +full:- +full:valid (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c29 #define DC_LOGGER dc->ctx->logger
40 for (i = 0; i < stream->ctx->dc->res_pool->res_cap->num_dig_link_enc; i++) { in is_dig_link_enc_stream()
41 link_enc = stream->ctx->dc->res_pool->link_encoders[i]; in is_dig_link_enc_stream()
46 if (link_enc && ((uint32_t)stream->link->connector_signal & link_enc->output_signals)) { in is_dig_link_enc_stream()
47 if (dc_is_dp_signal(stream->signal)) { in is_dig_link_enc_stream()
51 stream->ctx->dc->link_srv->dp_decide_link_settings(stream, &link_settings); in is_dig_link_enc_stream()
67 static struct link_enc_assignment get_assignment(struct dc *dc, int i) in get_assignment() argument
71 if (dc->current_state->res_ctx.link_enc_cfg_ctx.mode == LINK_ENC_CFG_TRANSIENT) in get_assignment()
72 assignment = dc->current_state->res_ctx.link_enc_cfg_ctx.transient_assignments[i]; in get_assignment()
74 assignment = dc->current_state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i]; in get_assignment()
[all …]
Ddc_vm_helper.c27 #include "dc.h"
31 struct vmid_usage vmids = vm_helper->hubp_vmid_usage[hubp_idx]; in vm_helper_mark_vmid_used()
37 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dc_setup_system_context() argument
42 if (dc->hwss.init_sys_ctx) { in dc_setup_system_context()
43 num_vmids = dc->hwss.init_sys_ctx(dc->hwseq, dc, pa_config); in dc_setup_system_context()
45 /* Pre-init system aperture start/end for all HUBP instances (if not gating?) in dc_setup_system_context()
48 memcpy(&dc->vm_pa_config, pa_config, sizeof(struct dc_phy_addr_space_config)); in dc_setup_system_context()
49 dc->vm_pa_config.valid = true; in dc_setup_system_context()
50 dc_z10_save_init(dc); in dc_setup_system_context()
56 void dc_setup_vm_context(struct dc *dc, struct dc_virtual_addr_space_config *va_config, int vmid) in dc_setup_vm_context() argument
[all …]
Ddc_resource.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
86 #define UNABLE_TO_SPLIT -1
196 struct resource_pool *dc_create_resource_pool(struct dc *dc, in dc_create_resource_pool() argument
206 init_data->num_virtual_links, dc); in dc_create_resource_pool()
210 init_data->num_virtual_links, dc); in dc_create_resource_pool()
214 init_data->num_virtual_links, dc); in dc_create_resource_pool()
219 init_data->num_virtual_links, dc); in dc_create_resource_pool()
223 init_data->num_virtual_links, dc); in dc_create_resource_pool()
227 init_data->num_virtual_links, dc); in dc_create_resource_pool()
231 init_data->num_virtual_links, dc); in dc_create_resource_pool()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5755.txt1 * Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver
4 - compatible: Has to contain one of the following:
6 adi,ad5755-1
11 - reg: spi chip select number for the device
12 - spi-cpha or spi-cpol: is the only modes that is supported
15 - spi-max-frequency: Definition as per
16 Documentation/devicetree/bindings/spi/spi-bus.txt
19 See include/dt-bindings/iio/ad5755.h
20 - adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an
23 - adi,dc-dc-phase:
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn301/
Ddcn301_fpu.c2 * Copyright 2019-2021 Advanced Micro Devices, Inc.
37 /* Based on: //vidip/dc/dcn3/doc/architecture/DCN3x_Display_Mode.xlsm#83 */
226 .valid = true,
234 .valid = true,
242 .valid = true,
250 .valid = true,
263 .valid = true,
271 .valid = true,
279 .valid = true,
287 .valid = true,
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dqcom_smbb.txt1 Qualcomm Switch-Mode Battery Charger and Boost
4 - compatible:
8 - "qcom,pm8941-charger"
10 - reg:
12 Value type: <prop-encoded-array>
15 - interrupts:
17 Value type: <prop-encoded-array>
21 - charge done
22 - charge fast mode
23 - charge trickle mode
[all …]
Dmax8903-charger.txt4 - compatible: "maxim,max8903" for MAX8903 Battery Charger
5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
9 - cen-gpios: Charge enable pin (active low, output)
10 - chg-gpios: Charger status pin (active low, input)
11 - flt-gpios: Fault pin (active low, output)
12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
13 - usus-gpios: USB suspend pin (active high, output)
18 max8903-charger {
20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dqcom,pm8941-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Switch-Mode Battery Charger and Boost
10 - Sebastian Reichel <sre@kernel.org>
15 - qcom,pm8226-charger
16 - qcom,pm8941-charger
23 - description: charge done
24 - description: charge fast mode
[all …]
Dmaxim,max8903.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
19 dok-gpios:
21 description: Valid DC power has been detected (active low, input)
23 uok-gpios:
25 description: Valid USB power has been detected (active low, input)
27 cen-gpios:
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c70 struct dc *dc, in dcn316_get_active_display_cnt_wa() argument
77 for (i = 0; i < context->stream_count; i++) { in dcn316_get_active_display_cnt_wa()
78 const struct dc_stream_state *stream = context->streams[i]; in dcn316_get_active_display_cnt_wa()
80 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in dcn316_get_active_display_cnt_wa()
81 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn316_get_active_display_cnt_wa()
82 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in dcn316_get_active_display_cnt_wa()
86 for (i = 0; i < dc->link_count; i++) { in dcn316_get_active_display_cnt_wa()
87 const struct dc_link *link = dc->links[i]; in dcn316_get_active_display_cnt_wa()
90 if (link->link_enc && link->link_enc->funcs->is_dig_enabled && in dcn316_get_active_display_cnt_wa()
91 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in dcn316_get_active_display_cnt_wa()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1 // SPDX-License-Identifier: MIT
77 * the DC FPU interface functions, we introduce a helper that checks if the
773 .valid = true,
781 .valid = true,
789 .valid = true,
797 .valid = true,
810 .valid = true,
818 .valid = true,
826 .valid = true,
834 .valid = true,
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c55 clk_mgr->base.base.ctx->logger
76 struct dc *dc, in dcn31_get_active_display_cnt_wa() argument
83 for (i = 0; i < context->stream_count; i++) { in dcn31_get_active_display_cnt_wa()
84 const struct dc_stream_state *stream = context->streams[i]; in dcn31_get_active_display_cnt_wa()
86 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in dcn31_get_active_display_cnt_wa()
87 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn31_get_active_display_cnt_wa()
88 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in dcn31_get_active_display_cnt_wa()
92 if (dc_is_dp_signal(stream->signal) && !stream->dpms_off) in dcn31_get_active_display_cnt_wa()
97 for (i = 0; i < dc->link_count; i++) { in dcn31_get_active_display_cnt_wa()
98 const struct dc_link *link = dc->links[i]; in dcn31_get_active_display_cnt_wa()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/dac/
Dadi,ad5755.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD5755 Multi-Channel DAC
10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk>
15 - adi,ad5755
16 - adi,ad5755-1
17 - adi,ad5757
18 - adi,ad5735
19 - adi,ad5737
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c47 clk_mgr->base.base.ctx->logger
58 struct dc *dc, in dcn315_get_active_display_cnt_wa() argument
65 for (i = 0; i < context->stream_count; i++) { in dcn315_get_active_display_cnt_wa()
66 const struct dc_stream_state *stream = context->streams[i]; in dcn315_get_active_display_cnt_wa()
68 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in dcn315_get_active_display_cnt_wa()
69 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn315_get_active_display_cnt_wa()
70 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in dcn315_get_active_display_cnt_wa()
74 for (i = 0; i < dc->link_count; i++) { in dcn315_get_active_display_cnt_wa()
75 const struct dc_link *link = dc->links[i]; in dcn315_get_active_display_cnt_wa()
78 if (link->link_enc && link->link_enc->funcs->is_dig_enabled && in dcn315_get_active_display_cnt_wa()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c2 * Copyright 2020-2021 Advanced Micro Devices, Inc.
37 optc1->tg_regs->reg
40 optc1->base.ctx
44 optc1->tg_shift->field_name, optc1->tg_mask->field_name
193 * VOTAL_MAX - VTOTAL_MIN = 1 in optc3_fpu_set_vrr_m_const()
201 * of lines in a frame - 1'. in optc3_fpu_set_vrr_m_const()
213 optc->funcs->set_vtotal_min_max(optc, 0, 0); in optc3_fpu_set_vrr_m_const()
223 ratio = vtotal_max - vtotal_avg; in optc3_fpu_set_vrr_m_const()
224 modulo = 65536.0 * 65536.0 - 1.0; /* 2^32 - 1 */ in optc3_fpu_set_vrr_m_const()
252 optc->funcs->set_vtotal_min_max(optc, vtotal_min, vtotal_max); in optc3_fpu_set_vrr_m_const()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c59 struct dc *dc, in rn_get_active_display_cnt_wa() argument
66 for (i = 0; i < context->stream_count; i++) { in rn_get_active_display_cnt_wa()
67 const struct dc_stream_state *stream = context->streams[i]; in rn_get_active_display_cnt_wa()
70 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in rn_get_active_display_cnt_wa()
71 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in rn_get_active_display_cnt_wa()
72 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK || in rn_get_active_display_cnt_wa()
73 stream->signal == SIGNAL_TYPE_DISPLAY_PORT) in rn_get_active_display_cnt_wa()
77 for (i = 0; i < dc->link_count; i++) { in rn_get_active_display_cnt_wa()
78 const struct dc_link *link = dc->links[i]; in rn_get_active_display_cnt_wa()
87 if (link->connector_signal == SIGNAL_TYPE_VIRTUAL || in rn_get_active_display_cnt_wa()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c1 // SPDX-License-Identifier: MIT
58 clk_mgr->base.base.ctx->logger
97 struct dc *dc, in dcn314_get_active_display_cnt_wa() argument
104 for (i = 0; i < context->stream_count; i++) { in dcn314_get_active_display_cnt_wa()
105 const struct dc_stream_state *stream = context->streams[i]; in dcn314_get_active_display_cnt_wa()
107 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in dcn314_get_active_display_cnt_wa()
108 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn314_get_active_display_cnt_wa()
109 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in dcn314_get_active_display_cnt_wa()
113 if (dc_is_dp_signal(stream->signal) && !stream->dpms_off) in dcn314_get_active_display_cnt_wa()
118 for (i = 0; i < dc->link_count; i++) { in dcn314_get_active_display_cnt_wa()
[all …]
/kernel/linux/linux-5.10/include/linux/power/
Dmax8903_charger.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * max8903_charger.h - Maxim 8903 USB/Adapter Charger Driver
20 int dok; /* DC(Adapter) Power OK output */
24 int dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
28 * DC(Adapter/TA) is wired
30 * dok should be valid.
38 * uok should be valid.
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_vm_helper.c27 #include "dc.h"
31 struct vmid_usage vmids = vm_helper->hubp_vmid_usage[hubp_idx]; in vm_helper_mark_vmid_used()
37 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dc_setup_system_context() argument
42 if (dc->hwss.init_sys_ctx) { in dc_setup_system_context()
43 num_vmids = dc->hwss.init_sys_ctx(dc->hwseq, dc, pa_config); in dc_setup_system_context()
45 /* Pre-init system aperture start/end for all HUBP instances (if not gating?) in dc_setup_system_context()
48 memcpy(&dc->vm_pa_config, pa_config, sizeof(struct dc_phy_addr_space_config)); in dc_setup_system_context()
49 dc->vm_pa_config.valid = true; in dc_setup_system_context()
55 void dc_setup_vm_context(struct dc *dc, struct dc_virtual_addr_space_config *va_config, int vmid) in dc_setup_vm_context() argument
57 dc->hwss.init_vm_ctx(dc->hwseq, dc, va_config, vmid); in dc_setup_vm_context()
[all …]
Ddc_resource.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
142 struct resource_pool *dc_create_resource_pool(struct dc *dc, in dc_create_resource_pool() argument
152 init_data->num_virtual_links, dc); in dc_create_resource_pool()
156 init_data->num_virtual_links, dc); in dc_create_resource_pool()
160 init_data->num_virtual_links, dc); in dc_create_resource_pool()
165 init_data->num_virtual_links, dc); in dc_create_resource_pool()
169 init_data->num_virtual_links, dc); in dc_create_resource_pool()
173 init_data->num_virtual_links, dc); in dc_create_resource_pool()
177 init_data->num_virtual_links, dc); in dc_create_resource_pool()
181 init_data->num_virtual_links, dc, in dc_create_resource_pool()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c55 clk_mgr->clk_mgr_shift->field_name, clk_mgr->clk_mgr_mask->field_name
58 (clk_mgr->regs->reg)
93 /* fine-grained, only min and max */ in dcn3_init_single_clock()
103 entry_i += sizeof(clk_mgr->base.bw_params->clk_table.entries[0]); in dcn3_init_single_clock()
110 double pstate_latency_us = clk_mgr->base.ctx->dc->dml.soc.dram_clock_change_latency_us; in dcn3_build_wm_range_table()
111 double sr_exit_time_us = clk_mgr->base.ctx->dc->dml.soc.sr_exit_time_us; in dcn3_build_wm_range_table()
112 double sr_enter_plus_exit_time_us = clk_mgr->base.ctx->dc->dml.soc.sr_enter_plus_exit_time_us; in dcn3_build_wm_range_table()
113 uint16_t min_uclk_mhz = clk_mgr->base.bw_params->clk_table.entries[0].memclk_mhz; in dcn3_build_wm_range_table()
115 /* Set A - Normal - default values*/ in dcn3_build_wm_range_table()
116 clk_mgr->base.bw_params->wm_table.nv_entries[WM_A].valid = true; in dcn3_build_wm_range_table()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h2 * Copyright 2012-2023 Advanced Micro Devices, Inc.
99 // for example, 1080p -> 8K is 4.0, or 4000 raw value
107 // for example, 8K -> 1080p is 0.25, or 250 raw value
119 * DOC: color-management-caps
124 * abstracted HW. DCE 5-12 had almost no important changes, but starting with
131 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma
147 * struct dpp_color_caps - color pipeline capabilities for display pipe and
152 * just plain 256-entry lookup
161 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes
162 * @dgam_rom_caps: pre-definied curve caps for degamma 1D LUT
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.cls
101 .crtc = (mmCRTC0_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
104 .crtc = (mmCRTC1_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
107 .crtc = (mmCRTC2_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
110 .crtc = (mmCRTC3_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
113 .crtc = (mmCRTC4_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
116 .crtc = (mmCRTC5_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
437 return &opp->base; in dce120_opp_create()
454 ctx->dc->caps.extended_aux_timeout_support); in dce120_aux_engine_create()
456 return &aux_engine->base; in dce120_aux_engine_create()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.cls
103 .crtc = (mmCRTC0_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
106 .crtc = (mmCRTC1_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
109 .crtc = (mmCRTC2_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
112 .crtc = (mmCRTC3_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
115 .crtc = (mmCRTC4_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
118 .crtc = (mmCRTC5_CRTC_CONTROL - mmCRTC0_CRTC_CONTROL),
446 return &opp->base; in dce120_opp_create()
463 ctx->dc->caps.extended_aux_timeout_support); in dce120_aux_engine_create()
465 return &aux_engine->base; in dce120_aux_engine_create()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c55 static int rn_get_active_display_cnt_wa(struct dc *dc, struct dc_state *context) in rn_get_active_display_cnt_wa() argument
61 for (i = 0; i < context->stream_count; i++) { in rn_get_active_display_cnt_wa()
62 const struct dc_stream_state *stream = context->streams[i]; in rn_get_active_display_cnt_wa()
64 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in rn_get_active_display_cnt_wa()
65 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in rn_get_active_display_cnt_wa()
66 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in rn_get_active_display_cnt_wa()
70 for (i = 0; i < dc->link_count; i++) { in rn_get_active_display_cnt_wa()
71 const struct dc_link *link = dc->links[i]; in rn_get_active_display_cnt_wa()
74 if (link->link_enc->funcs->is_dig_enabled && in rn_get_active_display_cnt_wa()
75 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in rn_get_active_display_cnt_wa()
[all …]

12345678910>>...21