Home
last modified time | relevance | path

Searched +full:current +full:- +full:num +full:- +full:sinks (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dkinetic,ktz8866.yaml1 # 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 …]
/openbmc/linux/drivers/video/backlight/
H A Dktz8866.c1 // 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 Dqcom-wled.c1 // 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 …]
/openbmc/linux/include/linux/mfd/
H A Dlp8788.h1 /* SPDX-License-Identifier: GPL-2.0-only */
18 #define LP8788_DEV_BUCK "lp8788-buck"
19 #define LP8788_DEV_DLDO "lp8788-dldo"
20 #define LP8788_DEV_ALDO "lp8788-aldo"
21 #define LP8788_DEV_CHARGER "lp8788-charger"
22 #define LP8788_DEV_RTC "lp8788-rtc"
23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight"
24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator"
25 #define LP8788_DEV_KEYLED "lp8788-keyled"
26 #define LP8788_DEV_ADC "lp8788-adc"
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-pcm.c1 // 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()
74 return (rtd)->dai_link->num_cpus == 1 ? asoc_rtd_to_cpu(rtd, 0)->name : "multicpu"; in soc_cpu_dai_name()
[all …]
H A Dsoc-dapm.c1 // 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
42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
67 /* dapm power sequences - make this per codec in the future */
152 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
185 return !list_empty(&w->dirty); in dapm_dirty_widget()
190 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsm8250-xiaomi-elish-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/arm/qcom,ids.h>
7 #include <dt-bindings/phy/phy.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
19 /delete-node/ &adsp_mem;
20 /delete-node/ &cdsp_secure_heap;
21 /delete-node/ &slpi_mem;
22 /delete-node/ &spss_mem;
23 /delete-node/ &xbl_aop_mem;
26 classis-type = "tablet";
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
60 * (access to non-DC registers will hang FPGA) */
110 * num from PIXEL_FORMAT_INDEX8 to PIXEL_FORMAT_444BPP32
146 /* for Audio Formats 2-8 (Max bit rate divided by 8 kHz)*/
148 uint8_t audio_codec_vendor_specific; /* for Audio Formats 9-15*/
249 Must be zero for wired displays and non-zero for
342 DC_VIDEO_POWER_ULPS, /* BACO or Ultra-Light-Power-State */
414 unsigned int src_height; /* input active height (half-active height in interlaced mode) */
420 enum dwb_cnv_out_bpc cnv_out_bpc; /* cnv output pixel depth - 8bpc or 10bpc */
421 …enum dwb_out_format fc_out_format; /* dwb output pixel format - 2101010 or 16161616 and ARGB or RG…
[all …]
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c206 number_of_bits--; in drm_dp_msg_header_crc4()
210 bitshift--; in drm_dp_msg_header_crc4()
222 number_of_bits--; in drm_dp_msg_header_crc4()
240 number_of_bits--; in drm_dp_msg_data_crc4()
244 bitshift--; in drm_dp_msg_data_crc4()
3118 u8 sinks[DRM_DP_MAX_SDP_STREAMS]; drm_dp_payload_send_msg() local
5638 remote_i2c_read_ok(const struct i2c_msg msgs[],int num) remote_i2c_read_ok() argument
5655 remote_i2c_write_ok(const struct i2c_msg msgs[],int num) remote_i2c_write_ok() argument
5670 drm_dp_mst_i2c_read(struct drm_dp_mst_branch * mstb,struct drm_dp_mst_port * port,struct i2c_msg * msgs,int num) drm_dp_mst_i2c_read() argument
5723 drm_dp_mst_i2c_write(struct drm_dp_mst_branch * mstb,struct drm_dp_mst_port * port,struct i2c_msg * msgs,int num) drm_dp_mst_i2c_write() argument
5768 drm_dp_mst_i2c_xfer(struct i2c_adapter * adapter,struct i2c_msg * msgs,int num) drm_dp_mst_i2c_xfer() argument
[all...]
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dcdv_intel_dp.c45 * 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 …]
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c1 // 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>
38 #include "dw-hdmi-audio.h"
39 #include "dw-hdmi-cec.h"
40 #include "dw-hdmi.h"
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_edid.c3 * Copyright (c) 2007-2008 Intel Corporation
24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
78 /* Force reduced-blanking timings for detailed modes */
129 /* BOE model on HP Pavilion 15-n233sl reports 8 bpc, but is a 6 bpc panel */
135 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */
145 /* Envision Peripherals, Inc. EN-7100e */
163 /* LG Philips LCD LP154W01-A5 */
169 /* Samsung SyncMaster 22[5-6]BW */
173 /* Sony PVM-2541A does up to 12 bpc, but only reports max 8 bpc */
185 /* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_hdmi.c3 * Copyright © 2006-2009 Intel Corporation
64 return to_i915(hdmi_to_dig_port(intel_hdmi)->base.base.dev); in intel_hdmi_to_i915()
75 drm_WARN(&dev_priv->drm, in assert_hdmi_port_disabled()
76 intel_de_read(dev_priv, intel_hdmi->hdmi_reg) & enabled_bits, in assert_hdmi_port_disabled()
84 drm_WARN(&dev_priv->drm, in assert_hdmi_transcoder_func_disabled()
206 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in g4x_write_infoframe()
210 drm_WARN(&dev_priv->drm, !(val & VIDEO_DIP_ENABLE), in g4x_write_infoframe()
241 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in g4x_read_infoframe()
255 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in g4x_infoframes_enabled()
261 if ((val & VIDEO_DIP_PORT_MASK) != VIDEO_DIP_PORT(encoder->port)) in g4x_infoframes_enabled()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c73 * For eDP, after power-up/power/down,
83 hws->ctx
88 hws->regs->reg
92 hws->shifts->field_name, hws->masks->field_name
100 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
103 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
106 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
109 .crtc = (mmCRTCV_GSL_CONTROL - mmCRTC_GSL_CONTROL),
209 struct dc_context *ctx = dc->ctx; in dce110_enable_display_power_gating()
210 unsigned int underlay_idx = dc->res_pool->underlay_pipe_index; in dce110_enable_display_power_gating()
[all …]