Searched +full:current +full:- +full:num +full:- +full:sinks (Results 1 – 12 of 12) sorted by relevance
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | kinetic,ktz8866.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jianhua Lu <lujianhua000@gmail.com> 13 The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks 15 https://www.kinet-ic.com/ktz8866/ 18 - $ref: common.yaml# 27 vddpos-supply: 30 vddneg-supply: 33 enable-gpios: [all …]
|
/linux/drivers/video/backlight/ |
H A D | ktz8866.c | 1 // SPDX-License-Identifier: GPL-2.0-only 62 return regmap_write(ktz->regmap, reg, val); in ktz8866_write() 68 return regmap_update_bits(ktz->regmap, reg, mask, val); in ktz8866_update_bits() 76 if (!ktz->led_on && brightness > 0) { in ktz8866_backlight_update_status() 78 ktz->led_on = true; in ktz8866_backlight_update_status() 81 ktz->led_on = false; in ktz8866_backlight_update_status() 100 if (!of_property_read_u32(ktz->client->dev.of_node, "current-num-sinks", &val)) in ktz8866_init() 101 ktz8866_write(ktz, BL_EN, BIT(val) - 1); in ktz8866_init() 103 /* Enable all 6 current sinks if the number of current sinks isn't specified. */ in ktz8866_init() 104 ktz8866_write(ktz, BL_EN, BIT(6) - 1); in ktz8866_init() [all …]
|
H A D | qcom-wled.c | 1 // SPDX-License-Identifier: GPL-2.0-only 61 /* WLED3 specific per-'string' registers below */ 93 /* WLED4 specific per-'string' registers below */ 140 /* WLED5 specific per-'string' registers below */ 238 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled3_set_brightness() 239 rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + in wled3_set_brightness() 240 WLED3_SINK_REG_BRIGHT(wled->cfg.enabled_strings[i]), in wled3_set_brightness() 252 u16 low_limit = wled->max_brightness * 4 / 1000; in wled4_set_brightness() 261 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled4_set_brightness() 262 rc = regmap_bulk_write(wled->regmap, wled->sink_addr + in wled4_set_brightness() [all …]
|
/linux/sound/soc/ |
H A D | soc-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-pcm.c -- ALSA SoC PCM 25 #include <sound/soc-dpcm.h> 26 #include <sound/soc-link.h> 39 case -EPROBE_DEFER: in _soc_pcm_ret() 40 case -ENOTSUPP: in _soc_pcm_ret() 41 case -EINVAL: in _soc_pcm_ret() 44 dev_err(rtd->dev, in _soc_pcm_ret() 46 func, rtd->dai_link->name, ret); in _soc_pcm_ret() 52 /* is the current PCM operation for this FE ? */ [all …]
|
H A D | soc-dapm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management 12 // o Platform power domain - can support external components i.e. amps and 15 // o Jack insertion power event initiation - e.g. hp insertion will enable 16 // sinks, dacs, etc 43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; 68 /* dapm power sequences - make this per codec in the future */ 153 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked() 186 return !list_empty(&w->dirty); in dapm_dirty_widget() 191 dapm_assert_locked(w->dapm); in dapm_mark_dirty() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8250-xiaomi-pipa.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 6 /dts-v1/; 8 #include <dt-bindings/arm/qcom,ids.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 /delete-node/ &adsp_mem; 22 /delete-node/ &cdsp_secure_heap; 23 /delete-node/ &slpi_mem; 24 /delete-node/ &spss_mem; 25 /delete-node/ &xbl_aop_mem; [all …]
|
H A D | sm8250-xiaomi-elish-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com> 6 #include <dt-bindings/arm/qcom,ids.h> 7 #include <dt-bindings/phy/phy.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/usb/pd.h> 20 /delete-node/ &adsp_mem; 21 /delete-node/ &cdsp_secure_heap; 22 /delete-node/ &slpi_mem; 23 /delete-node/ &spss_mem; [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_dp.c | 45 * struct i2c_algo_dp_aux_data - driver interface structure for i2c over dp 65 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_transaction() 68 ret = (*algo_data->aux_ch)(adapter, mode, in i2c_algo_dp_aux_transaction() 85 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_address() 92 algo_data->address = address; in i2c_algo_dp_aux_address() 93 algo_data->running = true; in i2c_algo_dp_aux_address() 104 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_stop() 111 if (algo_data->running) { in i2c_algo_dp_aux_stop() 113 algo_data->running = false; in i2c_algo_dp_aux_stop() 118 * Write a single byte to the current I2C address, the [all …]
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DesignWare High-Definition Multimedia Interface (HDMI) driver 5 * Copyright (C) 2013-2015 Mentor Graphics Inc. 6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 20 #include <linux/dma-mapping.h> 23 #include <media/cec-notifier.h> 25 #include <uapi/linux/media-bus-format.h> 39 #include "dw-hdmi-audio.h" 40 #include "dw-hdmi-cec.h" 41 #include "dw-hdmi.h" [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 3 * Copyright (c) 2007-2008 Intel Corporation 24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 83 /* Force reduced-blanking timings for detailed modes */ 141 /* BOE model on HP Pavilion 15-n233sl reports 8 bpc, but is a 6 bpc panel */ 147 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */ 157 /* Envision Peripherals, Inc. EN-7100e */ 175 /* LG Philips LCD LP154W01-A5 */ 181 /* Samsung SyncMaster 22[5-6]BW */ 185 /* Sony PVM-2541A does up to 12 bpc, but only reports max 8 bpc */ 197 /* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */ [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_hdmi.c | 3 * Copyright © 2006-2009 Intel Corporation 71 drm_WARN(display->drm, in assert_hdmi_port_disabled() 72 intel_de_read(display, intel_hdmi->hdmi_reg) & enabled_bits, in assert_hdmi_port_disabled() 80 drm_WARN(display->drm, in assert_hdmi_transcoder_func_disabled() 214 drm_WARN(display->drm, !(val & VIDEO_DIP_ENABLE), in g4x_write_infoframe() 265 if ((val & VIDEO_DIP_PORT_MASK) != VIDEO_DIP_PORT(encoder->port)) in g4x_infoframes_enabled() 279 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ibx_write_infoframe() 280 i915_reg_t reg = TVIDEO_DIP_CTL(crtc->pipe); in ibx_write_infoframe() 284 drm_WARN(display->drm, !(val & VIDEO_DIP_ENABLE), in ibx_write_infoframe() 295 intel_de_write(display, TVIDEO_DIP_DATA(crtc->pipe), in ibx_write_infoframe() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
H A D | dce110_hwseq.c | 74 * For eDP, after power-up/power/down, 84 hws->ctx 87 ctx->logger 89 struct dc_context *ctx = dc->ctx 92 hws->regs->reg 96 hws->shifts->field_name, hws->masks->field_name 104 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 107 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 110 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 113 .crtc = (mmCRTCV_GSL_CONTROL - mmCRTC_GSL_CONTROL), [all …]
|