Home
last modified time | relevance | path

Searched +full:out +full:- +full:volume +full:- +full:limit (Results 1 – 25 of 242) sorted by relevance

12345678910

/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm5100-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5100-tables.c -- WM5100 ALSA SoC Audio driver data
5 * Copyright 2011-2 Wolfson Microelectronics plc
815 { 0x0000, 0x0000 }, /* R0 - software reset */
816 { 0x0001, 0x0000 }, /* R1 - Device Revision */
817 { 0x0010, 0x0801 }, /* R16 - Ctrl IF 1 */
818 { 0x0020, 0x0000 }, /* R32 - Tone Generator 1 */
819 { 0x0030, 0x0000 }, /* R48 - PWM Drive 1 */
820 { 0x0031, 0x0100 }, /* R49 - PWM Drive 2 */
821 { 0x0032, 0x0100 }, /* R50 - PWM Drive 3 */
[all …]
Dwm8940.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8940.c -- WM8940 ALSA Soc Audio driver
114 { 0xb, 0x00FF }, /* DAC Volume */
117 { 0xf, 0x00FF }, /* ADC Volume */
126 { 0x18, 0x0032 }, /* DAC Limit Control 1 */
127 { 0x19, 0x0000 }, /* DAC Limit Control 2 */
148 { 0x36, 0x0079 }, /* Speaker Volume */
153 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" };
171 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1);
172 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0);
[all …]
/kernel/linux/linux-4.19/sound/soc/codecs/
Dwm5100-tables.c2 * wm5100-tables.c -- WM5100 ALSA SoC Audio driver data
4 * Copyright 2011-2 Wolfson Microelectronics plc
819 { 0x0000, 0x0000 }, /* R0 - software reset */
820 { 0x0001, 0x0000 }, /* R1 - Device Revision */
821 { 0x0010, 0x0801 }, /* R16 - Ctrl IF 1 */
822 { 0x0020, 0x0000 }, /* R32 - Tone Generator 1 */
823 { 0x0030, 0x0000 }, /* R48 - PWM Drive 1 */
824 { 0x0031, 0x0100 }, /* R49 - PWM Drive 2 */
825 { 0x0032, 0x0100 }, /* R50 - PWM Drive 3 */
826 { 0x0100, 0x0002 }, /* R256 - Clocking 1 */
[all …]
Dwm8940.c2 * wm8940.c -- WM8940 ALSA Soc Audio driver
117 { 0xb, 0x00FF }, /* DAC Volume */
120 { 0xf, 0x00FF }, /* ADC Volume */
129 { 0x18, 0x0032 }, /* DAC Limit Control 1 */
130 { 0x19, 0x0000 }, /* DAC Limit Control 2 */
151 { 0x36, 0x0079 }, /* Speaker Volume */
156 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" };
174 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1);
175 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0);
176 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0);
[all …]
Des8316.c2 * es8316.c -- es8316 ALSA SoC audio driver
5 * Authors: David Yang <yangxiaohua@everest-semi.com>,
22 #include <sound/soc-dapm.h>
44 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1);
45 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1);
46 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0);
47 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0);
48 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_target_tlv, -1650, 150, 0);
50 0, 4, TLV_DB_SCALE_ITEM(-1200, 150, 0),
51 8, 11, TLV_DB_SCALE_ITEM(-450, 150, 0),
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Dwlf,arizona.txt12 - wlf,inmode : A list of INn_MODE register values, where n is the number
13 of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
20 - wlf,out-mono : A list of boolean values indicating whether each output is
22 (eg. First entry in the list corresponds to output 1). A non-zero value
27 - wlf,dmic-ref : DMIC reference voltage source for each input, can be
29 (ARIZONA_DMIC_xxxx) are provided in <dt-bindings/mfd/arizona.txt>. If
33 - wlf,max-channels-clocked : The maximum number of channels to be clocked on
41 - wlf,spk-fmt : PDM speaker data format, must contain 2 cells (OUT5 and OUT6).
46 - wlf,spk-mute : PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).
51 - wlf,out-volume-limit : The volume limit value that should be applied to each
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
20 '#sound-dai-cells':
28 signals. Valid values are 0 (Differential), 1 (Single-ended) and
35 $ref: /schemas/types.yaml#/definitions/uint32-array
43 wlf,out-mono:
47 (eg. First entry in the list corresponds to output 1). A non-zero
51 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dsense_codes.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817]
9 SENSE_CODE(0x0002, "End-of-partition/medium detected")
11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected")
12 SENSE_CODE(0x0005, "End-of-data detected")
51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress")
87 SENSE_CODE(0x0801, "Logical unit communication time-out")
89 SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)")
102 SENSE_CODE(0x0B01, "Warning - specified temperature exceeded")
103 SENSE_CODE(0x0B02, "Warning - enclosure degraded")
[all …]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demumixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Multichannel PCM support Copyright (c) Lee Revell <rlrevell@joe-job.com>
9 * Copyright (c) by James Courtier-Dutton <James@superbug.co.uk>
13 * --
16 * --
30 static const DECLARE_TLV_DB_SCALE(snd_audigy_db_scale2, -10350, 50, 1); /* WM8775 gain scale */
34 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_emu10k1_spdif_info()
35 uinfo->count = 1; in snd_emu10k1_spdif_info()
43 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_get()
46 /* Limit: emu->spdif_bits */ in snd_emu10k1_spdif_get()
[all …]
/kernel/linux/linux-4.19/sound/pci/emu10k1/
Demumixer.c6 * Multichannel PCM support Copyright (c) Lee Revell <rlrevell@joe-job.com>
8 * Copyright (c) by James Courtier-Dutton <James@superbug.co.uk>
12 * --
15 * --
29 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44 static const DECLARE_TLV_DB_SCALE(snd_audigy_db_scale2, -10350, 50, 1); /* WM8775 gain scale */
48 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_emu10k1_spdif_info()
49 uinfo->count = 1; in snd_emu10k1_spdif_info()
57 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_get()
60 /* Limit: emu->spdif_bits */ in snd_emu10k1_spdif_get()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dbuild.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 /* Maximum number of comma-separated items in the 'mtd=' parameter */
50 * struct mtd_dev_param - MTD device parameter description data structure.
69 /* UBI module parameter to enable fastmap automatically on non-fastmap images */
74 /* Slab cache for wear-leveling entries */
90 /* Protects @ubi_devices and @ubi->ref_count */
145 * ubi_volume_notify - send a volume change notification.
147 * @vol: volume description object of the changed volume
150 * This is a helper function which notifies all subscribers about a volume
151 * change event (creation, removal, re-sizing, re-naming, updating). Returns
[all …]
/kernel/linux/linux-4.19/drivers/mtd/ubi/
Dbuild.c17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
50 /* Maximum number of comma-separated items in the 'mtd=' parameter */
63 * struct mtd_dev_param - MTD device parameter description data structure.
82 /* UBI module parameter to enable fastmap automatically on non-fastmap images */
87 /* Slab cache for wear-leveling entries */
103 /* Protects @ubi_devices and @ubi->ref_count */
158 * ubi_volume_notify - send a volume change notification.
160 * @vol: volume description object of the changed volume
163 * This is a helper function which notifies all subscribers about a volume
164 * change event (creation, removal, re-sizing, re-naming, updating). Returns
[all …]
/kernel/linux/linux-4.19/include/uapi/mtd/
Dubi-user.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 * &struct ubi_attach_req object - UBI will attach the MTD device specified in
43 * UBI volume creation
50 * UBI volume deletion
53 * To delete a volume, the %UBI_IOCRMVOL ioctl command of the UBI character
54 * device should be used. A pointer to the 32-bit volume ID hast to be passed
57 * UBI volume re-size
60 * To re-size a volume, the %UBI_IOCRSVOL ioctl command of the UBI character
64 * UBI volumes re-name
[all …]
/kernel/linux/linux-5.10/include/uapi/mtd/
Dubi-user.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 * &struct ubi_attach_req object - UBI will attach the MTD device specified in
43 * UBI volume creation
50 * UBI volume deletion
53 * To delete a volume, the %UBI_IOCRMVOL ioctl command of the UBI character
54 * device should be used. A pointer to the 32-bit volume ID hast to be passed
57 * UBI volume re-size
60 * To re-size a volume, the %UBI_IOCRSVOL ioctl command of the UBI character
64 * UBI volumes re-name
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dr8a7745-iwg22d-sodimm.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board
9 * SSI-SGTL5000
13 * amixer set "DVC Out" 100%
18 * amixer set "DVC Out Mute" on
21 * You can use Volume Ramp
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
[all …]
Dqcom-msm8974-sony-xperia-honami.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-honami", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
[all …]
Dqcom-msm8974-sony-xperia-amami.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-amami", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dwm5102-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5102-tables.c -- WM5102 data tables
83 switch (arizona->rev) { in wm5102_patch()
93 return regmap_multi_reg_write_bypassed(arizona->regmap, in wm5102_patch()
244 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
245 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
246 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
247 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
248 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
249 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
[all …]
Dwm5110-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5110-tables.c -- WM5110 data tables
262 switch (arizona->rev) { in wm5110_patch()
264 return regmap_register_patch(arizona->regmap, in wm5110_patch()
268 return regmap_register_patch(arizona->regmap, in wm5110_patch()
272 return regmap_register_patch(arizona->regmap, in wm5110_patch()
276 return regmap_register_patch(arizona->regmap, in wm5110_patch()
673 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
674 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
675 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
[all …]
Dwm8997-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8997-tables.c -- WM8997 data tables
30 switch (arizona->rev) { in wm8997_patch()
32 return regmap_register_patch(arizona->regmap, in wm8997_patch()
156 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
157 { 0x00000016, 0x0000 }, /* R22 - Write Sequencer Ctrl 0 */
158 { 0x00000017, 0x0000 }, /* R23 - Write Sequencer Ctrl 1 */
159 { 0x00000018, 0x0000 }, /* R24 - Write Sequencer Ctrl 2 */
160 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
161 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
[all …]
/kernel/linux/linux-4.19/drivers/mfd/
Dwm5102-tables.c2 * wm5102-tables.c -- WM5102 data tables
86 switch (arizona->rev) { in wm5102_patch()
96 return regmap_multi_reg_write_bypassed(arizona->regmap, in wm5102_patch()
247 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
248 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
249 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
250 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
251 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
252 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
253 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
[all …]
Dwm5110-tables.c2 * wm5110-tables.c -- WM5110 data tables
265 switch (arizona->rev) { in wm5110_patch()
267 return regmap_register_patch(arizona->regmap, in wm5110_patch()
271 return regmap_register_patch(arizona->regmap, in wm5110_patch()
275 return regmap_register_patch(arizona->regmap, in wm5110_patch()
279 return regmap_register_patch(arizona->regmap, in wm5110_patch()
676 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
677 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
678 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
679 { 0x0000000B, 0x001A }, /* R11 - Ctrl IF I2C1 CFG 2 */
[all …]
Dwm8997-tables.c2 * wm8997-tables.c -- WM8997 data tables
33 switch (arizona->rev) { in wm8997_patch()
35 return regmap_register_patch(arizona->regmap, in wm8997_patch()
159 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
160 { 0x00000016, 0x0000 }, /* R22 - Write Sequencer Ctrl 0 */
161 { 0x00000017, 0x0000 }, /* R23 - Write Sequencer Ctrl 1 */
162 { 0x00000018, 0x0000 }, /* R24 - Write Sequencer Ctrl 2 */
163 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
164 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
165 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dqcom-msm8974-sony-xperia-honami.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-honami", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
[all …]
Dqcom-msm8974-sony-xperia-amami.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-amami", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
[all …]

12345678910