/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dp.c | 32 #include <subdev/i2c.h> 40 #define AMPERE_IED_HACK(disp) ((disp)->engine.subdev.device->card_type >= GA100) 56 nvkm_dp_train_sense(struct lt_state *lt, bool pc, u32 delay) in nvkm_dp_train_sense() argument 58 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense() 64 if (lt->repeater) in nvkm_dp_train_sense() 65 addr = DPCD_LTTPR_LANE0_1_STATUS(lt->repeater); in nvkm_dp_train_sense() 69 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 73 if (lt->repeater) in nvkm_dp_train_sense() 74 addr = DPCD_LTTPR_LANE0_1_ADJUST(lt->repeater); in nvkm_dp_train_sense() 78 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() [all …]
|
/Linux-v6.1/drivers/gpu/drm/bridge/ |
D | lontium-lt8912b.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/i2c.h> 10 #include <linux/media-bus-format.h> 51 static int lt8912_write_init_config(struct lt8912 *lt) in lt8912_write_init_config() argument 88 return regmap_multi_reg_write(lt->regmap[I2C_MAIN], seq, ARRAY_SIZE(seq)); in lt8912_write_init_config() 91 static int lt8912_write_mipi_basic_config(struct lt8912 *lt) in lt8912_write_mipi_basic_config() argument 101 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_mipi_basic_config() 104 static int lt8912_write_dds_config(struct lt8912 *lt) in lt8912_write_dds_config() argument 154 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_dds_config() 157 static int lt8912_write_rxlogicres_config(struct lt8912 *lt) in lt8912_write_rxlogicres_config() argument [all …]
|
D | lontium-lt9611.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2019-2020. Linaro Limited. 8 #include <linux/i2c.h> 10 #include <linux/media-bus-format.h> 17 #include <sound/hdmi-codec.h> 120 { 0x810b, 0xbf }, /* enable port A lprx */ in lt9611_mipi_input_analog() 123 { 0x8116, 0xbf }, /* enable port B lprx */ in lt9611_mipi_input_analog() 125 { 0x811c, 0x03 }, /* PortA clk lane no-LP mode */ in lt9611_mipi_input_analog() 126 { 0x8120, 0x03 }, /* PortB clk lane with-LP mode */ in lt9611_mipi_input_analog() 129 return regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg)); in lt9611_mipi_input_analog() [all …]
|
/Linux-v6.1/drivers/media/tuners/ |
D | r820t.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // that it is part of rtl-sdr git tree, released under GPLv2: 8 // https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug 9 // https://github.com/n1gp/gr-baz 30 #include "tuner-i2c.h" 46 MODULE_PARM_DESC(debug, "enable verbose debug messages"); 350 * I2C read/write code and shadow registers logic 355 int r = reg - REG_SHADOW_START; in shadow_store() 363 if (len > NUM_REGS - r) in shadow_store() 364 len = NUM_REGS - r; in shadow_store() [all …]
|
/Linux-v6.1/drivers/rapidio/switches/ |
D | idt_gen2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 219 * This routine performs device-specific initialization only. in idtg2_em_init() 223 pr_debug("RIO: %s [%d:%d]\n", __func__, rdev->destid, rdev->hopcount); in idtg2_em_init() 225 /* Set Port-Write info CSR: PRIO=3 and CRF=1 */ in idtg2_em_init() 229 * Configure LT LAYER error reporting. in idtg2_em_init() 232 /* Enable standard (RIO.p8) error reporting */ in idtg2_em_init() 237 /* Use Port-Writes for LT layer error reporting. in idtg2_em_init() 238 * Enable per-port reset in idtg2_em_init() 255 /* Use Port-Writes for port error reporting and enable error logging */ in idtg2_em_init() 256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | nxp,pca9450-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin Gong <yibin.gong@nxp.com> 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 28 - nxp,pca9450a 29 - nxp,pca9450b 30 - nxp,pca9450c 44 "^LDO[1-5]$": [all …]
|
/Linux-v6.1/drivers/power/supply/ |
D | bq25890_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/i2c.h> 90 u8 ilim_en; /* enable ILIM pin */ 262 * Most of the val -> idx conversions can be computed, given the minimum, 312 0, -10, -20, -30, -40, -60, -70, -80, 313 -90, -10, -120, -140, -150, -170, -190, -210, 331 struct bq25890_lookup lt; member 346 [TBL_TREG] = { .lt = {bq25890_treg_tbl, BQ25890_TREG_TBL_SIZE} }, 347 [TBL_BOOSTI] = { .lt = {bq25890_boosti_tbl, BQ25890_BOOSTI_TBL_SIZE} }, 348 [TBL_TSPCT] = { .lt = {bq25890_tspct_tbl, BQ25890_TSPCT_TBL_SIZE} } [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | mediatek,mt8188-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hui Liu <hui.liu@mediatek.com> 17 const: mediatek,mt8188-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 25 parameters which are defined in <dt-bindings/gpio/gpio.h>. 28 gpio-ranges: [all …]
|
/Linux-v6.1/drivers/video/fbdev/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 a well-defined interface, so the software doesn't need to know 21 anything about the low-level (hardware register) stuff. 27 On several non-X86 architectures, the frame buffer device is the 35 and the Framebuffer-HOWTO at 36 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more 40 are compiling a kernel for a non-x86 architecture. 46 device-aware may cause unexpected results. If unsure, say N. 49 bool "Enable firmware EDID" 53 On the i386, this is from the Video BIOS. Enable this if DDC/I2C [all …]
|
/Linux-v6.1/drivers/regulator/ |
D | pca9450-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/i2c.h> 56 .max_register = PCA9450_MAX_REGISTER - 1, 73 .enable = regulator_enable_regmap, 84 .enable = regulator_enable_regmap, 94 .enable = regulator_enable_regmap, 161 if (ret == -EINVAL) in buck_set_dvs() 166 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 171 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs() 181 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs() [all …]
|
/Linux-v6.1/drivers/i2c/busses/ |
D | i2c-npcm7xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Nuvoton NPCM7xx I2C Controller driver 11 #include <linux/i2c.h> 30 * External I2C Interface driver xfer indication values, which indicate status 59 /* I2C Bank (module had 2 banks of registers) */ 65 /* Internal I2C states values (for the I2C module state machine). */ 93 /* init register and default value required to enable module */ 142 #define NPCM_I2CTXF_CTL 0x12 /* Tx-FIFO Control */ 145 #define NPCM_I2CTXF_STS 0x1A /* Tx-FIFO Status */ 146 #define NPCM_I2CRXF_STS 0x1C /* Rx-FIFO Status */ [all …]
|
D | i2c-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2002 Motorola GSG-China 9 * Implementation of I2C Adapter/Algorithm Driver 10 * for I2C Bus integrated in Freescale i.MX/MXC processors 12 * Derived from Motorola GSG China I2C example driver 17 * Copyright (C) 2008 Darius Augulis <darius.augulis at teltonika.lt> 28 #include <linux/dma-mapping.h> 34 #include <linux/i2c.h> 47 #include <linux/platform_data/i2c-imx.h> 54 #define DRIVER_NAME "imx-i2c" [all …]
|
/Linux-v6.1/Documentation/sound/ |
D | alsa-configuration.rst | 2 Advanced Linux Sound Architecture - Driver Configuration guide 9 To enable ALSA support you need at least to build the kernel with 13 Enable "OSS API emulation" (``CONFIG_SND_OSSEMUL``) and both OSS mixer 17 SB Live! then you need to enable "Sequencer support" 20 To make ALSA debug messages more verbose, enable the "Verbose printk" 38 ---------- 47 limiting card index for auto-loading (1-8); 49 For auto-loading more than one card, specify this option 50 together with snd-card-X aliases. 63 Module snd-pcm-oss [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | dib0090.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux-DVB Driver for DiBcom's DiB0090 base-band RF Tuner. 5 * Copyright (C) 2005-9 DiBcom (http://www.dibcom.fr/) 15 #include <linux/i2c.h> 90 #define MP008 0x6 /* Dual diversity VHF-UHF-LBAND */ 91 #define MP009 0x7 /* Dual diversity 29098 CBAND-UHF-LBAND-SBAND */ 124 struct i2c_adapter *i2c; member 135 s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */ 149 /* for the captrim/dc-offset search */ 180 /* for the I2C transfer */ [all …]
|
/Linux-v6.1/drivers/media/pci/bt8xx/ |
D | bttv-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-cards.c 6 this file has configuration information - card-specific stuff 9 Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 10 & Marcus Metzler (mocm@thp.uni-koeln.de) 11 (c) 1999-2001 Gerd Knorr <kraxel@goldbach.in-berlin.de> 31 #include <media/v4l2-common.h> 32 #include <media/i2c/tvaudio.h> 33 #include "bttv-audio-hook.h" 84 int no_overlay=-1; [all …]
|
/Linux-v6.1/sound/pci/ice1712/ |
D | aureon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * - we reuse the struct snd_akm4xxx record for storing the wm8770 codec data. 16 * - DAC digital volumes are not implemented in the mixer. 58 #define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */ 60 #define WM_DAC_DIG_ATTEN 0x09 /* DAC1-8 digital attenuation */ 65 #define WM_DAC_CTRL2 0x15 /* de-emphasis and zefo-flag */ 68 #define WM_POWERDOWN 0x18 /* power-down controls */ 84 #define PCA9554_DEV 0x40 /* I2C device address */ 119 * send i2c stop condition and start condition in aureon_pca9554_write() 150 for (i = 7; i >= 0; i--) { in aureon_pca9554_write() [all …]
|