| /kernel/linux/linux-6.6/drivers/gpu/drm/meson/ |
| D | meson_vclk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * - CVBS 27MHz generator via the VCLK2 to the VENCI and VDAC blocks 22 * - HDMI Pixel Clocks generation 26 * - Genenate Pixel clocks for 2K/4K 10bit formats 33 * | | | | | |--ENCI 34 * | HDMI PLL |-| PLL_DIV |--- VCLK--| |--ENCL 35 * |__________| |_________| \ | MUX |--ENCP 36 * --VCLK2-| |--VDAC 37 * |_____|--HDMI-TX 140 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, VID_PLL_EN, 0); in meson_vid_pll_set() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
| D | meson_vclk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * - CVBS 27MHz generator via the VCLK2 to the VENCI and VDAC blocks 22 * - HDMI Pixel Clocks generation 26 * - Genenate Pixel clocks for 2K/4K 10bit formats 33 * | | | | | |--ENCI 34 * | HDMI PLL |-| PLL_DIV |--- VCLK--| |--ENCL 35 * |__________| |_________| \ | MUX |--ENCP 36 * --VCLK2-| |--VDAC 37 * |_____|--HDMI-TX 140 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, VID_PLL_EN, 0); in meson_vid_pll_set() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 252 switch (reg) { in max98090_volatile_register() 265 switch (reg) { in max98090_readable_register() 279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 280 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() 283 dev_err(max98090->component->dev, in max98090_reset() 300 -600, 600, 0); 303 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0), [all …]
|
| D | adav80x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Author: Lars-Peter Clausen <lars@metafoo.de> 113 #define ADAV80X_PLL_OUTE_SYSCLKPD(x) BIT(2 - (x)) 196 ADAV80X_MUX("Aux Capture Select", &adav80x_aux_capture_mux_ctrl), 197 ADAV80X_MUX("Capture Select", &adav80x_capture_mux_ctrl), 198 ADAV80X_MUX("DAC Select", &adav80x_dac_mux_ctrl), 214 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_sysclk_check() 218 switch (adav80x->clk_src) { in adav80x_dapm_sysclk_check() 232 return strcmp(source->name, clk) == 0; in adav80x_dapm_sysclk_check() 238 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_pll_check() [all …]
|
| D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| D | rt1019.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt1019.c -- RT1019 ALSA SoC audio amplifier driver 25 #include <sound/soc-dapm.h> 61 switch (reg) { in rt1019_volatile_register() 77 switch (reg) { in rt1019_readable_register() 108 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -9525, 75, 0); 122 SOC_ENUM("Mono LR Select", rt1019_mono_lr_sel), 128 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in r1019_dac_event() 130 switch (event) { in r1019_dac_event() 159 struct snd_soc_component *component = dai->component; in rt1019_hw_params() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 253 switch (reg) { in max98090_volatile_register() 266 switch (reg) { in max98090_readable_register() 280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 281 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() 284 dev_err(max98090->component->dev, in max98090_reset() 301 -600, 600, 0); 304 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0), [all …]
|
| D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| D | adav80x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Author: Lars-Peter Clausen <lars@metafoo.de> 113 #define ADAV80X_PLL_OUTE_SYSCLKPD(x) BIT(2 - (x)) 196 ADAV80X_MUX("Aux Capture Select", &adav80x_aux_capture_mux_ctrl), 197 ADAV80X_MUX("Capture Select", &adav80x_capture_mux_ctrl), 198 ADAV80X_MUX("DAC Select", &adav80x_dac_mux_ctrl), 214 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_sysclk_check() 218 switch (adav80x->clk_src) { in adav80x_dapm_sysclk_check() 232 return strcmp(source->name, clk) == 0; in adav80x_dapm_sysclk_check() 238 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_pll_check() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| D | gf100.c | 33 u32 freq; member 51 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 54 return nvkm_clk_read(&clk->base, nv_clk_src_sppll0); in read_vco() 55 return nvkm_clk_read(&clk->base, nv_clk_src_sppll1); in read_vco() 61 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 72 switch (pll) { in read_pll() 75 sclk = device->crystal; in read_pll() 79 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrc); in read_pll() 82 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrcref); in read_pll() 100 struct nvkm_device *device = clk->base.subdev.device; in read_div() [all …]
|
| D | gk104.c | 33 u32 freq; member 52 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 62 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 74 switch (pll) { in read_pll() 77 sclk = device->crystal; in read_pll() 108 struct nvkm_device *device = clk->base.subdev.device; in read_div() 112 switch (ssrc & 0x00000003) { in read_div() 115 return device->crystal; in read_div() 135 struct nvkm_device *device = clk->base.subdev.device; in read_mem() 136 switch (nvkm_rd32(device, 0x1373f4) & 0x0000000f) { in read_mem() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| D | gf100.c | 33 u32 freq; member 51 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 54 return nvkm_clk_read(&clk->base, nv_clk_src_sppll0); in read_vco() 55 return nvkm_clk_read(&clk->base, nv_clk_src_sppll1); in read_vco() 61 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 72 switch (pll) { in read_pll() 75 sclk = device->crystal; in read_pll() 79 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrc); in read_pll() 82 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrcref); in read_pll() 100 struct nvkm_device *device = clk->base.subdev.device; in read_div() [all …]
|
| D | gk104.c | 33 u32 freq; member 52 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 62 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 74 switch (pll) { in read_pll() 77 sclk = device->crystal; in read_pll() 108 struct nvkm_device *device = clk->base.subdev.device; in read_div() 112 switch (ssrc & 0x00000003) { in read_div() 115 return device->crystal; in read_div() 135 struct nvkm_device *device = clk->base.subdev.device; in read_mem() 136 switch (nvkm_rd32(device, 0x1373f4) & 0x0000000f) { in read_mem() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/tuners/ |
| D | fc0011.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net> 22 FC11_REG_VCOSEL, /* VCO select */ 39 FC11_VCOSEL_2 = 0x08, /* VCO select 2 */ 40 FC11_VCOSEL_1 = 0x10, /* VCO select 1 */ 70 struct i2c_msg msg = { .addr = priv->addr, in fc0011_writereg() 73 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in fc0011_writereg() 74 dev_err(&priv->i2c->dev, in fc0011_writereg() 77 return -EIO; in fc0011_writereg() 87 { .addr = priv->addr, in fc0011_readreg() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/tuners/ |
| D | fc0011.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net> 22 FC11_REG_VCOSEL, /* VCO select */ 39 FC11_VCOSEL_2 = 0x08, /* VCO select 2 */ 40 FC11_VCOSEL_1 = 0x10, /* VCO select 1 */ 70 struct i2c_msg msg = { .addr = priv->addr, in fc0011_writereg() 73 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in fc0011_writereg() 74 dev_err(&priv->i2c->dev, in fc0011_writereg() 77 return -EIO; in fc0011_writereg() 87 { .addr = priv->addr, in fc0011_readreg() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | ad7192.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2011-2015 Analog Devices Inc. 32 #define AD7192_REG_COMM 0 /* Communications Register (WO, 8-bit) */ 33 #define AD7192_REG_STAT 0 /* Status Register (RO, 8-bit) */ 34 #define AD7192_REG_MODE 1 /* Mode Register (RW, 24-bit */ 35 #define AD7192_REG_CONF 2 /* Configuration Register (RW, 24-bit) */ 36 #define AD7192_REG_DATA 3 /* Data Register (RO, 24/32-bit) */ 37 #define AD7192_REG_ID 4 /* ID Register (RO, 8-bit) */ 38 #define AD7192_REG_GPOCON 5 /* GPOCON Register (RO, 8-bit) */ 39 #define AD7192_REG_OFFSET 6 /* Offset Register (RW, 16-bit */ [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | ad7192.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2011-2015 Analog Devices Inc. 30 #define AD7192_REG_COMM 0 /* Communications Register (WO, 8-bit) */ 31 #define AD7192_REG_STAT 0 /* Status Register (RO, 8-bit) */ 32 #define AD7192_REG_MODE 1 /* Mode Register (RW, 24-bit */ 33 #define AD7192_REG_CONF 2 /* Configuration Register (RW, 24-bit) */ 34 #define AD7192_REG_DATA 3 /* Data Register (RO, 24/32-bit) */ 35 #define AD7192_REG_ID 4 /* ID Register (RO, 8-bit) */ 36 #define AD7192_REG_GPOCON 5 /* GPOCON Register (RO, 8-bit) */ 37 #define AD7192_REG_OFFSET 6 /* Offset Register (RW, 16-bit */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/ |
| D | mt8186-dai-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "mt8186-afe-clk.h" 12 #include "mt8186-afe-common.h" 13 #include "mt8186-afe-gpio.h" 14 #include "mt8186-interconnection.h" 88 return -EINVAL; in get_i2s_id_by_name() 94 struct mt8186_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name() 100 return afe_priv->dai_priv[dai_id]; in get_i2s_priv_by_name() 120 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8186_i2s_hd_get() 121 ucontrol->value.integer.value[0] = i2s_priv->low_jitter_en; in mt8186_i2s_hd_get() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/radio/ |
| D | radio-cadet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* radio-cadet.c - A video4linux driver for the ADS Cadet AM/FM Radio Card 17 * 2000-04-29 Russell Kroll <rkroll@exploits.org> 20 * 2001-01-10 Russell Kroll <rkroll@exploits.org> 24 * 2002-01-17 Adam Belay <ambx1@neo.rr.com> 27 * 2003-01-31 Alan Cox <alan@lxorguk.ukuu.org.uk> 30 * 2006-07-30 Hans J. Koch <koch@hjk-az.de> 43 #include <media/v4l2-device.h> 44 #include <media/v4l2-ioctl.h> 45 #include <media/v4l2-ctrls.h> [all …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| D | radio-cadet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* radio-cadet.c - A video4linux driver for the ADS Cadet AM/FM Radio Card 17 * 2000-04-29 Russell Kroll <rkroll@exploits.org> 20 * 2001-01-10 Russell Kroll <rkroll@exploits.org> 24 * 2002-01-17 Adam Belay <ambx1@neo.rr.com> 27 * 2003-01-31 Alan Cox <alan@lxorguk.ukuu.org.uk> 30 * 2006-07-30 Hans J. Koch <koch@hjk-az.de> 43 #include <media/v4l2-device.h> 44 #include <media/v4l2-ioctl.h> 45 #include <media/v4l2-ctrls.h> [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/mac/ |
| D | macboing.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mac bong noise generator. Note - we ought to put a boingy noise 6 * ---------------------------------------------------------------------- 10 * Juergen Mellinger (juergen.mellinger@t-online.de) 27 * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric) 31 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 44 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */ 78 switch ( macintosh_config->ident ) in mac_init_asc() 106 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc() 111 * Macintosh models have 16-bit audio input and output capability in mac_init_asc() [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/mac/ |
| D | macboing.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mac bong noise generator. Note - we ought to put a boingy noise 6 * ---------------------------------------------------------------------- 10 * Juergen Mellinger (juergen.mellinger@t-online.de) 27 * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric) 31 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 44 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */ 78 switch ( macintosh_config->ident ) in mac_init_asc() 106 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc() 111 * Macintosh models have 16-bit audio input and output capability in mac_init_asc() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | richtek,rt6245-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT6245 is a high-performance, synchronous step-down converter 18 - $ref: regulator.yaml# 23 - richtek,rt6245 28 enable-gpios: 31 it will be treat as a default-on power. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|