/linux/sound/pci/emu10k1/ |
H A D | p16v.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 11 /* Audigy2 P16V pointer-offset register set, accessed through the PTR2 and DATA2 registers … 25 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */ 38 #define CAPTURE_P16V_VOLUME1 0x14 /* Low: Capture volume 0xXXXX3030 */ 39 #define CAPTURE_P16V_VOLUME2 0x15 /* High:Has no effect on capture volume */ 75 * [26:24] FX engine channel capture 0 = 0x60-0x67. 76 * 1 = 0x68-0x6f. 77 * 2 = 0x70-0x77. 78 * 3 = 0x78-0x7f. [all …]
|
H A D | p17v.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 8 /* Audigy2Value Tina (P17V) pointer-offset register set, */ 12 /* 00 - 07: Not used */ 16 /* 09 - 12: Not used */ 20 /* 14 - 17: Not used */ 23 #define P17V_SE_SLOT_SEL_H 0x1a /* Sound Engine slot select high */ 24 /* 1b - 1f: Not used */ 25 /* 20 - 2f: Not used */ 26 /* 30 - 3b: Not used */ [all …]
|
/linux/include/uapi/linux/ |
H A D | ultrasound.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * ultrasound.h - Macros for programming the Gravis Ultrasound 10 * Copyright (C) by Hannu Savolainen 1993-1997 22 * byte 0 - SEQ_PRIVATE (0xfe) 23 * byte 1 - Synthesizer device number (0-N) 24 * byte 2 - Command (see below) 25 * byte 3 - Voice number (0-31) 26 * bytes 4 and 5 - parameter P1 (unsigned short) 27 * bytes 6 and 7 - parameter P2 (unsigned short) 32 * _GUS_NUMVOICES - Sets max. number of concurrent voices (P1=14-31, default 16) [all …]
|
/linux/include/sound/ac97/ |
H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 14 #define AC97_MASTER 0x02 /* Master Volume */ 15 #define AC97_HEADPHONE 0x04 /* Headphone Volume (optional) */ 16 #define AC97_MASTER_MONO 0x06 /* Master Volume Mono (optional) */ 18 #define AC97_PC_BEEP 0x0a /* PC Beep Volume (optional) */ 19 #define AC97_PHONE 0x0c /* Phone Volume (optional) */ 20 #define AC97_MIC 0x0e /* MIC Volume */ 21 #define AC97_LINE 0x10 /* Line In Volume */ 22 #define AC97_CD 0x12 /* CD Volume */ 23 #define AC97_VIDEO 0x14 /* Video Volume (optional) */ [all …]
|
/linux/sound/soc/codecs/ |
H A D | da732x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * da732x.c --- Dialog DA732X ALSA SoC Audio Driver 24 #include <sound/soc-dapm.h> 41 * da732x register cache - default settings 184 return -EINVAL; in da732x_get_input_div() 249 /* High Pass Filter */ 327 struct soc_enum *enum_ctrl = (struct soc_enum *)kcontrol->private_value; in da732x_hpf_set() 328 unsigned int reg = enum_ctrl->reg; in da732x_hpf_set() 329 unsigned int sel = ucontrol->value.enumerated.item[0]; in da732x_hpf_set() 343 return -EINVAL; in da732x_hpf_set() [all …]
|
H A D | pcm3168a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 103 static const char *const pcm3168a_pol[] = { "Active High", "Active Low" }; 108 static const char *const pcm3168a_con[] = { "Differential", "Single-Ended" }; 126 /* -100db to 0db, register values 0-54 cause mute */ 127 static const DECLARE_TLV_DB_SCALE(pcm3168a_dac_tlv, -10050, 50, 1); 129 /* -100db to 20db, register values 0-14 cause mute */ 130 static const DECLARE_TLV_DB_SCALE(pcm3168a_adc_tlv, -10050, 50, 1); 133 SOC_SINGLE("DAC Power-Save Switch", PCM3168A_DAC_PWR_MST_FMT, 135 SOC_ENUM("DAC1 Digital Filter roll-off", pcm3168a_d1_roll_off), 136 SOC_ENUM("DAC2 Digital Filter roll-off", pcm3168a_d2_roll_off), [all …]
|
H A D | wm8997.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8997.c -- WM8997 ALSA SoC Audio driver 38 static DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 39 static DECLARE_TLV_DB_SCALE(digital_tlv, -6400, 50, 0); 40 static DECLARE_TLV_DB_SCALE(noise_tlv, -13200, 600, 0); 41 static DECLARE_TLV_DB_SCALE(ng_tlv, -10200, 600, 0); 84 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8997_sysclk_ev() 85 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm8997_sysclk_ev() 86 struct regmap *regmap = arizona->regmap; in wm8997_sysclk_ev() 90 switch (arizona->rev) { in wm8997_sysclk_ev() [all …]
|
H A D | wm5100.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm5100.c -- WM5100 ALSA SoC Audio driver 5 * Copyright 2011-2 Wolfson Microelectronics plc 130 dev_err(component->dev, "Unsupported sample rate: %dHz\n", rate); in wm5100_alloc_sr() 131 return -EINVAL; in wm5100_alloc_sr() 135 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr() 137 sr_free = -1; in wm5100_alloc_sr() 139 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr() 149 wm5100->sr_ref[i]++; in wm5100_alloc_sr() 150 dev_dbg(component->dev, "SR %dHz, slot %d, ref %d\n", in wm5100_alloc_sr() [all …]
|
H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 59 /* Minimum duration to keep ANC IIR Init bit high or [all …]
|
H A D | wm8985.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver 49 { 1, 0x0000 }, /* R1 - Power management 1 */ 50 { 2, 0x0000 }, /* R2 - Power management 2 */ 51 { 3, 0x0000 }, /* R3 - Power management 3 */ 52 { 4, 0x0050 }, /* R4 - Audio Interface */ 53 { 5, 0x0000 }, /* R5 - Companding control */ 54 { 6, 0x0140 }, /* R6 - Clock Gen control */ 55 { 7, 0x0000 }, /* R7 - Additional control */ 56 { 8, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
H A D | wm8983.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8983.c -- WM8983 ALSA SoC Audio driver 29 { 0x01, 0x0000 }, /* R1 - Power management 1 */ 30 { 0x02, 0x0000 }, /* R2 - Power management 2 */ 31 { 0x03, 0x0000 }, /* R3 - Power management 3 */ 32 { 0x04, 0x0050 }, /* R4 - Audio Interface */ 33 { 0x05, 0x0000 }, /* R5 - Companding control */ 34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */ 35 { 0x07, 0x0000 }, /* R7 - Additional control */ 36 { 0x08, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui-jacuzzi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "mt8183-kukui.dtsi" 7 /* Must come after mt8183-kukui.dtsi to modify cros_ec */ 8 #include <arm/cros-ec-keyboard.dtsi> 11 pp1200_mipibrdg: pp1200-mipibrdg { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp1200_mipibrdg"; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&pp1200_mipibrdg_en>; 17 enable-active-high; [all …]
|
/linux/sound/pci/ice1712/ |
H A D | revo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Lowlevel functions for M-Audio Audiophile 192, Revolution 7.1 and 5.1 20 /* a non-standard I2C device for revo51 */ 44 if (rate == 0) /* no hint - S/PDIF input is master, simply return */ in revo_set_rate_val() 55 if (ak->type == SND_AK4355 || ak->type == SND_AK4358) { in revo_set_rate_val() 78 * I2C access to the PT2258 volume controller on GPIO 6/7 (Revolution 5.1) 83 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start() 89 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop() 95 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_direction() 104 ice->gpio.direction &= ~mask; in revo_i2c_direction() [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynosautov9-sadk.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 16 compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9"; 18 #address-cells = <2>; 19 #size-cells = <2>; 26 stdout-path = &serial_0; 36 gpio-keys { 37 compatible = "gpio-keys"; [all …]
|
/linux/drivers/md/dm-vdo/indexer/ |
H A D | index.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include "index-layout.h" 10 #include "index-session.h" 11 #include "open-chapter.h" 12 #include "volume.h" 13 #include "volume-index.h" 16 * The index is a high-level structure which represents the totality of the UDS index. It manages 17 * the queues for incoming requests and dispatches them to the appropriate sub-components like the 18 * volume or the volume index. It also manages administrative tasks such as saving and loading the 22 * on its name. Most sub-components are similarly divided into zones as well so that requests in [all …]
|
H A D | volume-index.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include "volume-index.h" 15 #include "memory-alloc.h" 18 #include "thread-utils.h" 22 #include "hash-utils.h" 26 * The volume index is a combination of two separate subindexes, one containing sparse hook entries 28 * dense chapters). If there are no sparse chapters, only the non-hook sub index is used, and it 31 * The volume index is also divided into zones, with one thread operating on each zone. Each 37 * Each subindex zone is a delta index where the payload is a chapter number. The volume index can 42 * or after all requests have been flushed in order to shut down. The only multi-threaded operation [all …]
|
/linux/drivers/scsi/ |
H A D | sense_codes.h | 1 /* 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 …]
|
/linux/include/uapi/linux/caif/ |
H A D | caif_socket.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright (C) ST-Ericsson AB 2010 16 * enum caif_link_selector - Physical Link Selection. 17 * @CAIF_LINK_HIGH_BANDW: Physical interface for high-bandwidth 19 * @CAIF_LINK_LOW_LATENCY: Physical interface for low-latency 32 * enum caif_channel_priority - CAIF channel priorities. 35 * @CAIF_PRIO_LOW: Low-priority channel. 37 * @CAIF_PRIO_HIGH: High priority level 55 * enum caif_protocol_type - CAIF Channel type. 78 * enum caif_at_type - AT Service Endpoint [all …]
|
/linux/fs/afs/ |
H A D | afs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 14 #define AFS_MAXVOLNAME 64 /* Maximum length of a volume name */ 15 #define AFS_MAXNSERVERS 8 /* Maximum servers in a basic volume record */ 16 #define AFS_NMAXNSERVERS 13 /* Maximum servers in a N/U-class volume record */ 17 #define AFS_MAXTYPES 3 /* Maximum number of volume types */ 30 AFSVL_RWVOL, /* read/write volume */ 31 AFSVL_ROVOL, /* read-only volume */ 32 AFSVL_BACKVOL, /* backup volume */ 53 afs_volid_t vid; /* volume ID */ 54 afs_vnodeid_t vnode; /* Lower 64-bits of file index within volume */ [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-asus-z00l.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 15 chassis-type = "handset"; 24 stdout-path = "serial0"; 27 gpio-keys { [all …]
|
H A D | msm8916-lg-c50.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-0 = <&gpio_keys_default>; 28 pinctrl-names = "default"; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-nitrogen6x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 12 stdout-path = &uart2; 20 reg_2p5v: regulator-2p5v { 21 compatible = "regulator-fixed"; 22 regulator-name = "2P5V"; 23 regulator-min-microvolt = <2500000>; 24 regulator-max-microvolt = <2500000>; 25 regulator-always-on; [all …]
|
H A D | imx6qdl-nitrogen6_som2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 10 stdout-path = &uart2; 18 backlight_lcd: backlight-lcd { 19 compatible = "pwm-backlight"; 21 brightness-levels = <0 4 8 16 32 64 128 255>; 22 default-brightness-level = <7>; 23 power-supply = <®_3p3v>; 27 backlight_lvds0: backlight-lvds0 { [all …]
|
/linux/drivers/media/radio/ |
H A D | radio-typhoon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * The speaker output has volume control, but only in four discrete 9 * steps. The line output has neither volume control nor mute. 11 * The card has auto-stereo according to its manual, although it all 13 * antenna - I really don't know for sure. 17 * Volume control is done digitally, but there are only four different 18 * possible values. So you should better always turn the volume up and 21 * volume control has no effect, since volume control only influences 25 * value where I do expect just noise and turn the speaker volume down. 38 #include <media/v4l2-device.h> [all …]
|
/linux/include/sound/ |
H A D | cs4231-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 #define CS4231_PLAYBK_FORMAT 0x08 /* clock and data format - playback - bits 7-0 MCE */ 30 #define CS4231_IFACE_CTRL 0x09 /* interface control - bits 7-2 MCE */ 44 #define CS4231_TIMER_HIGH 0x15 /* timer high byte */ 52 #define CS4231_VERSION 0x19 /* CS4231(A) - version values */ 57 #define CS4231_REC_FORMAT 0x1c /* clock and data format - record - bits 7-0 MCE */ 63 /* definitions for codec register select port - CODECP( REGSEL ) */ 69 /* definitions for codec status register - CODECP( STATUS ) */ 93 /* definitions for clock and data format register - CS4231_PLAYBK_FORMAT */ 95 #define CS4231_LINEAR_8 0x00 /* 8-bit unsigned data */ [all …]
|