/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/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 | 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 …]
|
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 …]
|
/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/sound/soc/codecs/ |
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 | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #define DVOL_CTL_DVMUTE_ON BIT(4) /* Digital volume MUTE On */ 23 #define DVOL_CTL_DVMUTE_OFF 0 /* Digital volume MUTE Off */ 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0); 57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0); 58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0); 60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law", 61 "A-law"}; [all …]
|
H A D | ad193x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 * AD193X volume/mute/de-emphasis etc. controls 37 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0); 47 /* DAC volume control */ 48 SOC_DOUBLE_R_TLV("DAC1 Volume", AD193X_DAC_L1_VOL, 50 SOC_DOUBLE_R_TLV("DAC2 Volume", AD193X_DAC_L2_VOL, 52 SOC_DOUBLE_R_TLV("DAC3 Volume", AD193X_DAC_L3_VOL, 54 SOC_DOUBLE_R_TLV("DAC4 Volume", AD193X_DAC_L4_VOL, 67 /* DAC de-emphasis */ 78 /* ADC high-pass filter */ [all …]
|
H A D | ad1836.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright 2009-2011 Analog Devices Inc. 38 * AD1836 volume/mute/de-emphasis etc. controls 46 SOC_DOUBLE_R("DAC" #x " Playback Volume", AD1836_DAC_L_VOL(x), \ 99 /* ADC high-pass filter */ 100 SOC_SINGLE("ADC High Pass Filter Switch", AD1836_ADC_CTRL1, 103 /* DAC de-emphasis */ 123 SOC_DOUBLE_TLV("ADC2 Capture Volume", AD1836_ADC_CTRL1, 3, 0, 4, 0, 141 return -EINVAL; in ad1836_set_dai_fmt() 148 return -EINVAL; in ad1836_set_dai_fmt() [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/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/arch/arm/boot/dts/nxp/imx/ |
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/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 …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra30-cardhu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/thermal/thermal.h> 5 #include "tegra30-cpu-opp.dtsi" 6 #include "tegra30-cpu-opp-microvolt.dtsi" 16 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use 17 * tegra30-cardhu-a04.dts. 20 * The sticker will have number like 600-81291-1000-002 C.3. In this 4th 22 * The (downstream internal) U-Boot of Cardhu display the board-id as 43 stdout-path = "serial0:115200n8"; [all …]
|
/linux/include/sound/sof/ |
H A D | control.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 19 /* channel positions - uses same values as ALSA */ 39 SOF_CHMAP_FLH, /**< front left high */ 40 SOF_CHMAP_FCH, /**< front centre high */ 41 SOF_CHMAP_FRH, /**< front right high */ 63 /* per channel data - uses struct sof_ipc_ctrl_value_chan */ 66 /* component data - uses struct sof_ipc_ctrl_value_comp */ 69 /* bespoke data - uses struct sof_abi_hdr */ 76 SOF_CTRL_CMD_VOLUME = 0, /**< maps to ALSA volume style controls */ 84 uint32_t channel; /**< channel map - enum sof_ipc_chmap */ [all …]
|
/linux/sound/soc/sof/ |
H A D | ipc4-fw-reg.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 15 * struct sof_ipc4_pipeline_registers - Pipeline start and end information in fw 19 * (right after creation/after reset) value "(u64)-1" is reported 23 * (right after creation or after reset) value "(u64)-1" is reported. 34 * struct sof_ipc4_peak_volume_regs - Volume information in fw 35 * @peak_meter: Peak volume value in fw 36 * @current_volume: Current volume value in fw 37 * @target_volume: Target volume value in fw 46 * struct sof_ipc4_llp_reading - Llp information in fw 47 * @llp_l: Lower part of 64-bit LLP [all …]
|