/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5755.yaml | 1 # 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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn31/ |
H A D | dcn31_dccg.c | 35 (dccg_dcn->regs->reg) 39 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name 42 dccg_dcn->base.ctx 44 dccg->ctx->logger 50 if (dccg->dpp_clock_gated[dpp_inst]) { in dccg31_update_dpp_dto() 58 if (dccg->ref_dppclk && req_dppclk) { in dccg31_update_dpp_dto() 59 int ref_dppclk = dccg->ref_dppclk; in dccg31_update_dpp_dto() 60 int modulo, phase; in dccg31_update_dpp_dto() local 62 // phase / modulo = dpp pipe clk / dpp global clk in dccg31_update_dpp_dto() 64 phase = ((modulo * req_dppclk) + ref_dppclk - 1) / ref_dppclk; in dccg31_update_dpp_dto() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn401/ |
H A D | dcn401_dccg.c | 44 (dccg_dcn->regs->reg) 48 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name 51 dccg_dcn->base.ctx 53 dccg->ctx->logger 81 if (dccg->ref_dppclk && req_dppclk) { in dccg401_update_dpp_dto() 82 int ref_dppclk = dccg->ref_dppclk; in dccg401_update_dpp_dto() 83 int modulo, phase; in dccg401_update_dpp_dto() local 85 // phase / modulo = dpp pipe clk / dpp global clk in dccg401_update_dpp_dto() 87 phase = ((modulo * req_dppclk) + ref_dppclk - 1) / ref_dppclk; in dccg401_update_dpp_dto() 89 if (phase > 0xff) { in dccg401_update_dpp_dto() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 2 * 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 186 double ratio, modulo, phase; in optc3_fpu_set_vrr_m_const() local 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() [all …]
|
/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-max-frequency: true 32 - enum: 34 - acbel,fsg032 35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 36 - ad,ad7414 # Deprecated, use adi,ad7414 [all …]
|
/linux/drivers/tty/ |
H A D | nozomi.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * nozomi.c -- HSDPA driver Broadband Wireless Data Card - Globe Trotter 18 * -------------------------------------------------------------------------- 25 * -------------------------------------------------------------------------- 132 F32_2 = 2048, /* 512 bytes downlink + uplink * 2 -> 2048 */ 133 F32_8 = 8192, /* 3072 bytes downl. + 1024 bytes uplink * 2 -> 8192 */ 157 CTRL_ERROR = -1, 167 PORT_ERROR = -1, 176 * else A-channels must always be used. 184 /* Is for now only needed during initialization phase */ [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
H A D | dcn401_dpp_dscl.c | 44 dpp->tf_regs->reg 47 dpp->base.ctx 51 dpp->tf_shift->field_name, dpp->tf_mask->field_name 67 /* Autocal calculate the scaling ratio and initial phase and the 103 return -1; /* Unsupported */ in dpp401_dscl_get_pixel_depth_val() 132 if (dpp_base->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT) { in dpp401_dscl_get_dscl_mode() 134 if (data->format == PIXEL_FORMAT_FP16) in dpp401_dscl_get_dscl_mode() 138 if (data->ratios.horz.value == one in dpp401_dscl_get_dscl_mode() 139 && data->ratios.vert.value == one in dpp401_dscl_get_dscl_mode() 140 && data->ratios.horz_c.value == one in dpp401_dscl_get_dscl_mode() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn401/ |
H A D | dcn401_fpu.c | 1 // SPDX-License-Identifier: MIT 16 double pstate_latency_us = clk_mgr->ctx->dc->dml.soc.dram_clock_change_latency_us; in dcn401_build_wm_range_table_fpu() 17 double fclk_change_latency_us = clk_mgr->ctx->dc->dml.soc.fclk_change_latency_us; in dcn401_build_wm_range_table_fpu() 18 double sr_exit_time_us = clk_mgr->ctx->dc->dml.soc.sr_exit_time_us; in dcn401_build_wm_range_table_fpu() 19 double sr_enter_plus_exit_time_us = clk_mgr->ctx->dc->dml.soc.sr_enter_plus_exit_time_us; in dcn401_build_wm_range_table_fpu() 21 uint16_t min_uclk_mhz = clk_mgr->bw_params->clk_table.entries[0].memclk_mhz; in dcn401_build_wm_range_table_fpu() 22 uint16_t min_dcfclk_mhz = clk_mgr->bw_params->clk_table.entries[0].dcfclk_mhz; in dcn401_build_wm_range_table_fpu() 24 uint16_t dcfclk_mhz_for_the_second_state = clk_mgr->ctx->dc->dml.soc.clock_limits[2].dcfclk_mhz; in dcn401_build_wm_range_table_fpu() 30 …clk_mgr->bw_params->wm_table.nv_entries[WM_B].pmfw_breakdown.min_dcfclk = dcfclk_mhz_for_the_secon… in dcn401_build_wm_range_table_fpu() 32 …clk_mgr->bw_params->wm_table.nv_entries[WM_B].pmfw_breakdown.min_dcfclk = clk_mgr->bw_params->clk_… in dcn401_build_wm_range_table_fpu() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
H A D | dcn10_dpp_dscl.c | 44 dpp->tf_regs->reg 47 dpp->base.ctx 51 dpp->tf_shift->field_name, dpp->tf_mask->field_name 65 /* Autocal calculate the scaling ratio and initial phase and the 101 return -1; /* Unsupported */ in dpp1_dscl_get_pixel_depth_val() 130 if (dpp_base->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT) { in dpp1_dscl_get_dscl_mode() 132 if (data->format == PIXEL_FORMAT_FP16) in dpp1_dscl_get_dscl_mode() 136 if (data->ratios.horz.value == one in dpp1_dscl_get_dscl_mode() 137 && data->ratios.vert.value == one in dpp1_dscl_get_dscl_mode() 138 && data->ratios.horz_c.value == one in dpp1_dscl_get_dscl_mode() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 67 hws->ctx 69 hws->regs->reg 73 hws->shifts->field_name, hws->masks->field_name 88 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in print_microsec() 97 void dcn10_lock_all_pipes(struct dc *dc, in dcn10_lock_all_pipes() argument 106 for (i = 0; i < dc->res_pool->pipe_count; i++) { in dcn10_lock_all_pipes() 107 old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_lock_all_pipes() 108 pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_lock_all_pipes() 109 tg = pipe_ctx->stream_res.tg; in dcn10_lock_all_pipes() 115 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clock_source.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 42 (clk_src->regs->reg) 45 clk_src->base.ctx 48 calc_pll_cs->ctx->logger 50 struct calc_pll_clock_source *calc_pll_cs = &clk_src->calc_pll 54 clk_src->cs_shift->field_name, clk_src->cs_mask->field_name 76 ss_parm = clk_src->dvi_ss_params; in get_ss_data_entry() 77 entrys_num = clk_src->dvi_ss_params_cnt; in get_ss_data_entry() 81 ss_parm = clk_src->hdmi_ss_params; in get_ss_data_entry() 82 entrys_num = clk_src->hdmi_ss_params_cnt; in get_ss_data_entry() [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | dlg,da9210.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dialog Semiconductor DA9210 Multi-Phase 12A DC-DC Buck Converter 10 - Support Opensource <support.opensource@diasemi.com> 13 - $ref: regulator.yaml# 26 - compatible 27 - reg 32 - | 33 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn314/ |
H A D | dcn314_dccg.c | 1 // SPDX-License-Identifier: MIT 37 (dccg_dcn->regs->reg) 41 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name 44 dccg_dcn->base.ctx 46 dccg->ctx->logger 204 /* Controls the generation of pixel valid for OTG in (OTG -> HPO case) */ 211 int req_dtbclk_khz = params->pixclk_khz / 4; in dccg314_set_dtbclk_dto() 213 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg314_set_dtbclk_dto() 214 uint32_t modulo, phase; in dccg314_set_dtbclk_dto() local 216 // phase / modulo = dtbclk / dtbclk ref in dccg314_set_dtbclk_dto() [all …]
|
/linux/Documentation/hwmon/ |
H A D | ucd9200.rst | 11 Addresses scanned: - 15 - http://focus.ti.com/lit/ds/symlink/ucd9220.pdf 16 - http://focus.ti.com/lit/ds/symlink/ucd9222.pdf 17 - http://focus.ti.com/lit/ds/symlink/ucd9224.pdf 18 - http://focus.ti.com/lit/ds/symlink/ucd9240.pdf 19 - http://focus.ti.com/lit/ds/symlink/ucd9244.pdf 20 - http://focus.ti.com/lit/ds/symlink/ucd9246.pdf 21 - http://focus.ti.com/lit/ds/symlink/ucd9248.pdf 23 Author: Guenter Roeck <linux@roeck-us.net> 27 ----------- [all …]
|
H A D | xdpe12284.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 ----------- 27 This driver implements support for Infineon Multi-phase XDPE112 and XDPE122 32 - Intel VR13 and VR13HC rev 1.3, IMVP8 rev 1.2 and IMPVP9 rev 1.3 DC-DC 34 - Intel SVID rev 1.9. protocol. 35 - PMBus rev 1.3 interface. 41 - VR12.0 mode, 5-mV DAC - 0x01. 42 - VR12.5 mode, 10-mV DAC - 0x02. 43 - IMVP9 mode, 5-mV DAC - 0x03. 44 - AMD mode 6.25mV - 0x10. [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_wrapper.c | 1 /* SPDX-License-Identifier: MIT */ 37 static void initialize_dml2_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_… in initialize_dml2_ip_params() 39 if (dml2->config.use_native_soc_bb_construction) in initialize_dml2_ip_params() 45 static void initialize_dml2_soc_bbox(struct dml2_context *dml2, const struct dc *in_dc, struct soc_… in initialize_dml2_soc_bbox() 47 if (dml2->config.use_native_soc_bb_construction) in initialize_dml2_soc_bbox() 54 const struct dc *in_dc, const struct soc_bounding_box_st *in_bbox, struct soc_states_st *out) in initialize_dml2_soc_states() 56 if (dml2->config.use_native_soc_bb_construction) in initialize_dml2_soc_states() 59 dml2_translate_soc_states(in_dc, out, in_dc->dml.soc.num_states); in initialize_dml2_soc_states() 69 in_out_display_cfg->hw.ODMMode[i] = mode_support_info->ODMMode[i]; in map_hw_resources() 70 in_out_display_cfg->hw.DPPPerSurface[i] = mode_support_info->DPPPerSurface[i]; in map_hw_resources() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_training_dpia.c | 30 #include "dc.h" 44 link->ctx->logger 66 DPIA_TS_UFP_DONE = 0xff /* Done training DPTX-to-DPIA hop. */ 95 * @param[out] lt_settings Link settings and drive settings (voltage swing and pre-emphasis). 106 DC_LOG_HW_LINK_TRAINING("%s\n DPIA(%d) configuring\n - LTTPR mode(%d)\n", in dpia_configure_link() 108 link->link_id.enum_id - ENUM_ID_1, in dpia_configure_link() 109 lt_settings->lttpr_mode); in dpia_configure_link() 116 dp_get_lttpr_mode_override(link, <_settings->lttpr_mode); in dpia_configure_link() 119 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link() 124 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link() [all …]
|
H A D | link_edp_panel_control.c | 38 #include "dc/dc_dmub_srv.h" 43 link->ctx->logger 93 link->panel_mode = panel_mode; in dp_set_panel_mode() 96 link->link_index, in dp_set_panel_mode() 97 link->dpcd_caps.panel_mode_edp, in dp_set_panel_mode() 107 if (link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) { in dp_get_panel_mode() 109 switch (link->dpcd_caps.branch_dev_id) { in dp_get_panel_mode() 118 link->dpcd_caps.branch_dev_name, in dp_get_panel_mode() 121 link->dpcd_caps. in dp_get_panel_mode() 132 if (strncmp(link->dpcd_caps.branch_dev_name, in dp_get_panel_mode() [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | solomon,ssd1307fb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 11 - Javier Martinez Canillas <javierm@redhat.com> 17 - enum: 18 - solomon,ssd1305fb-i2c 19 - solomon,ssd1306fb-i2c 20 - solomon,ssd1307fb-i2c 21 - solomon,ssd1309fb-i2c [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_wrapper.c | 1 // SPDX-License-Identifier: MIT 20 (*dml_ctx)->v21.dml_init.dml2_instance = kzalloc(sizeof(struct dml2_instance), GFP_KERNEL); in dml21_allocate_memory() 21 if (!((*dml_ctx)->v21.dml_init.dml2_instance)) in dml21_allocate_memory() 24 (*dml_ctx)->v21.mode_support.dml2_instance = (*dml_ctx)->v21.dml_init.dml2_instance; in dml21_allocate_memory() 25 (*dml_ctx)->v21.mode_programming.dml2_instance = (*dml_ctx)->v21.dml_init.dml2_instance; in dml21_allocate_memory() 27 (*dml_ctx)->v21.mode_support.display_config = &(*dml_ctx)->v21.display_config; in dml21_allocate_memory() 28 (*dml_ctx)->v21.mode_programming.display_config = (*dml_ctx)->v21.mode_support.display_config; in dml21_allocate_memory() 30 …(*dml_ctx)->v21.mode_programming.programming = kzalloc(sizeof(struct dml2_display_cfg_programming)… in dml21_allocate_memory() 31 if (!((*dml_ctx)->v21.mode_programming.programming)) in dml21_allocate_memory() 37 static void dml21_apply_debug_options(const struct dc *in_dc, struct dml2_context *dml_ctx, const s… in dml21_apply_debug_options() [all …]
|
/linux/drivers/hwmon/pmbus/ |
H A D | delta-ahe50dc-fan.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Delta AHE-50DC power shelf fan control module driver 29 return value == PMBUS_CLEAR_FAULTS ? -EOPNOTSUPP : -ENODATA; in ahe50dc_fan_write_byte() 32 static int ahe50dc_fan_read_word_data(struct i2c_client *client, int page, int phase, int reg) in ahe50dc_fan_read_word_data() argument 34 /* temp1 in (virtual) page 1 is remapped to mfr-specific temp4 */ in ahe50dc_fan_read_word_data() 38 return -EOPNOTSUPP; in ahe50dc_fan_read_word_data() 62 return -ENODATA; in ahe50dc_fan_read_word_data() 64 return -EOPNOTSUPP; in ahe50dc_fan_read_word_data() 101 client->dev.platform_data = &ahe50dc_fan_data; in ahe50dc_fan_probe() 112 { .compatible = "delta,ahe50dc-fan" }, [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | dc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 32 #include "dc.h" 43 stats->frames = 0; in tegra_dc_stats_reset() 44 stats->vblank = 0; in tegra_dc_stats_reset() 45 stats->underflow = 0; in tegra_dc_stats_reset() 46 stats->overflow = 0; in tegra_dc_stats_reset() 50 static u32 tegra_dc_readl_active(struct tegra_dc *dc, unsigned long offset) in tegra_dc_readl_active() argument 54 tegra_dc_writel(dc, READ_MUX, DC_CMD_STATE_ACCESS); in tegra_dc_readl_active() 55 value = tegra_dc_readl(dc, offset); in tegra_dc_readl_active() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn20/ |
H A D | dcn20_dccg.c | 36 (dccg_dcn->regs->reg) 40 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name 43 dccg_dcn->base.ctx 45 dccg->ctx->logger 51 if (dccg->ref_dppclk && req_dppclk) { in dccg2_update_dpp_dto() 52 int ref_dppclk = dccg->ref_dppclk; in dccg2_update_dpp_dto() 53 int modulo, phase; in dccg2_update_dpp_dto() local 55 // phase / modulo = dpp pipe clk / dpp global clk in dccg2_update_dpp_dto() 57 phase = ((modulo * req_dppclk) + ref_dppclk - 1) / ref_dppclk; in dccg2_update_dpp_dto() 59 if (phase > 0xff) { in dccg2_update_dpp_dto() [all …]
|
/linux/drivers/media/i2c/ |
H A D | saa711x_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * saa711x - Philips SAA711x video decoder register specifications 10 /* Video Decoder - Frontend part */ 16 /* Video Decoder - Decoder part */ 112 /* Horizontal phase scaling */ 159 /* Horizontal phase scaling */ 196 /* SAA7113 bit-masks */ 230 /* Video Decoder - Frontend part: R_01_INC_DELAY to R_05_INPUT_CNTL_4 */ 242 /* Video Decoder - Decoder part: R_06_H_SYNC_START to R_1F_STATUS_BYTE_2_VD_DEC */ 297 /* 0x20 to 0x22 - Reserved */ [all …]
|