Home
last modified time | relevance | path

Searched +full:codec +full:- +full:irq (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/linux/sound/isa/opti9xx/
H A Dopti92x-ad1848.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 card-opti92x-ad1848.c - driver for OPTi 82c92x based soundcards.
4 Copyright (C) 1998-2000 by Massimo Piccioni <dafastidio@libero.it>
41 MODULE_DESCRIPTION("OPTi92X - CS4231");
43 MODULE_DESCRIPTION("OPTi92X - AD1848");
47 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */
56 static int irq = SNDRV_DEFAULT_IRQ1; /* 5,7,9,10,11 */ variable
76 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for opti9xx driver.");
79 module_param_hw(irq, int, irq, 0444);
80 MODULE_PARM_DESC(irq, "WSS irq # for opti9xx driver.");
[all …]
/linux/sound/pci/
H A Dazt3328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case).
13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download
17 * despite the high level of Internet ignorance - as usual :-P -
18 * about very good support for this card - on Linux!)
25 * in the first place >:-P}),
34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec,
36 * Fincitec-related company ARSmikro) has the following features:
[all …]
H A Dintel8x0m.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * This is modified (by Sasha Khapyorsky <sashak@alsa-project.org>) version
29 static int index = -2; /* Exclude the first card */
38 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
53 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \
54 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \
55 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \
56 ICH_REG_##name##_SR = base + 0x06, /* byte - status register */ \
57 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \
58 ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \
[all …]
/linux/sound/pci/ali5451/
H A Dali5451.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * --
11 * --
21 #include <linux/dma-mapping.h>
141 #define ALI_REG(codec, x) ((codec)->port + x) argument
180 struct snd_ali *codec; member
185 int count; /* runtime->period_size */
187 /* --- */
214 int irq; member
264 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() argument
[all …]
/linux/drivers/media/pci/zoran/
H A Dvideocodec.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
16 * Should ease the (re-)usage of drivers supporting cards with (different)
20 * The codecs are typically have a "strong" binding to their master - so I
22 * i2c. If you have an other opinion, let's discuss & implement it :-)))
29 * The best is just calling them at module (de-)initialisation.
47 * ----------------------------------------------------------------------------
51 * ----------------------------------------------------------------------------
60 * name -> name of the device structure for reference and debugging
61 * master_data -> data ref. for the master (e.g. the zr36055,57,67)
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.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
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
[all …]
/linux/sound/soc/intel/avs/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation
26 #include <sound/intel-dsp-config.h>
44 struct pci_dev *pci = to_pci_dev(bus->dev); in avs_hda_update_config_dword()
57 avs_hda_update_config_dword(&adev->base.core, AZX_PCIREG_PGCTL, pgctl_mask, value); in avs_hda_power_gating_enable()
69 avs_hdac_clock_gating_enable(&adev->base.core, enable); in avs_hda_clock_gating_enable()
75 if (atomic_inc_and_test(&adev->l1sen_counter)) in avs_hda_l1sen_enable()
76 snd_hdac_chip_updatel(&adev->base.core, VS_EM2, AZX_VS_EM2_L1SEN, in avs_hda_l1sen_enable()
79 if (atomic_dec_return(&adev->l1sen_counter) == -1) in avs_hda_l1sen_enable()
80 snd_hdac_chip_updatel(&adev->base.core, VS_EM2, AZX_VS_EM2_L1SEN, 0); in avs_hda_l1sen_enable()
[all …]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_drv.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
9 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
22 #include <media/v4l2-event.h>
23 #include <media/v4l2-mem2mem.h>
24 #include <media/videobuf2-core.h>
25 #include <media/videobuf2-vmalloc.h>
31 #define DRIVER_NAME "hantro-vpu"
36 "Debug level - higher value produces more verbose messages");
42 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, id); in hantro_get_ctrl()
[all …]
H A Dhantro.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Hantro VPU codec driver
8 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-ioctl.h>
24 #include <media/v4l2-mem2mem.h>
25 #include <media/videobuf2-core.h>
26 #include <media/videobuf2-dma-contig.h>
45 * struct hantro_irq - irq handler and name
[all …]
/linux/include/sound/
H A Dcs4231-regs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 /* codec registers */
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 */
50 #define CS4231_IRQ_STATUS 0x18 /* irq status register */
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 ) */
65 #define CS4231_INIT 0x80 /* CODEC is initializing */
69 /* definitions for codec status register - CODECP( STATUS ) */
[all …]
H A Dwss.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #include <sound/cs4231-regs.h>
16 /* defines for codec.mode */
24 /* defines for codec.hardware */
38 #define WSS_HW_CS4235 0x0400 /* CS4235 - Crystal Clear (tm) stereo enhancement */
40 #define WSS_HW_CS4237B 0x0402 /* CS4237B - SRS 3D */
41 #define WSS_HW_CS4238B 0x0403 /* CS4238B - QSOUND 3D */
42 #define WSS_HW_CS4239 0x0404 /* CS4239 - Crystal Clear (tm) stereo enhancement */
51 #define WSS_HW_OPL3SA2 0x1101 /* OPL3-SA2 chip, similar to cs4231 */
54 /* defines for codec.hwshare */
[all …]
H A Des1688.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
23 unsigned long mpu_port; /* MPU-401 port of ESS chip */
24 int irq; /* IRQ number of ESS chip */ member
25 int mpu_irq; /* MPU IRQ */
26 int dma8; /* 8-bit DMA */
44 #define ES1688P(codec, x) ((codec)->port + e_s_s_ESS1688##x) argument
100 int irq,
/linux/drivers/mfd/
H A Dmc13xxx-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2009-2010 Pengutronix
4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
51 if (!mutex_trylock(&mc13xxx->lock)) { in mc13xxx_lock()
52 dev_dbg(mc13xxx->dev, "wait for %s from %ps\n", in mc13xxx_lock()
55 mutex_lock(&mc13xxx->lock); in mc13xxx_lock()
57 dev_dbg(mc13xxx->dev, "%s from %ps\n", in mc13xxx_lock()
64 dev_dbg(mc13xxx->dev, "%s from %ps\n", in mc13xxx_unlock()
66 mutex_unlock(&mc13xxx->lock); in mc13xxx_unlock()
74 ret = regmap_read(mc13xxx->regmap, offset, val); in mc13xxx_reg_read()
[all …]
/linux/drivers/input/touchscreen/
H A Dwm97xx-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm97xx-core.c -- Touch screen driver core for Wolfson WM9705, WM9712
15 * - supports WM9705, WM9712, WM9713
16 * - polling mode
17 * - continuous mode (arch-dependent)
18 * - adjustable rpu/dpp settings
19 * - adjustable pressure current
20 * - adjustable sample settle delay
21 * - 4 and 5 wire touchscreens (5 wire is WM9712 only)
22 * - pen down detection
[all …]
H A Dmainstone-wm97xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * mainstone-wm97xx.c -- Mainstone Continuous Touch screen driver for
16 * - codecs supported:- WM9705, WM9712, WM9713
17 * - processors supported:- Intel XScale PXA25x, PXA26x, PXA27x
25 #include <linux/irq.h>
31 #include <sound/pxa2xx-lib.h>
33 #include <asm/mach-types.h>
36 u16 id; /* codec id */
74 * event. If the irq request fails then it will fall back to polling mode.
146 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dx-powers,ac100.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,ac100.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AC100
10 - Chen-Yu Tsai <wens@csie.org>
14 const: x-powers,ac100
19 codec:
23 "#clock-cells":
27 const: x-powers,ac100-codec
[all …]
H A Dda9055.txt3 DA9055 consists of a large and varied group of sub-devices (I2C Only):
6 ------ ------------ -----------
7 da9055-gpio : : GPIOs
8 da9055-regulator : : Regulators
9 da9055-onkey : : On key
10 da9055-rtc : : RTC
11 da9055-hwmon : : ADC
12 da9055-watchdog : : Watchdog
14 The CODEC device in DA9055 has a separate, configurable I2C address and so
17 For details on accompanying CODEC I2C device, see the following:
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra20-ac97.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-ac97.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <treding@nvidia.com>
11 - Jon Hunter <jonathanh@nvidia.com>
15 const: nvidia,tegra20-ac97
23 reset-names:
35 dma-names:
37 - const: rx
[all …]
H A Deverest,es8326.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Everest ES8326 audio CODEC
10 - David Yang <yangxiaohua@everest-semi.com>
21 - description: clock for master clock (MCLK)
23 clock-names:
25 - const: mclk
31 "#sound-dai-cells":
34 everest,jack-pol:
[all …]
H A Ddialog,da7219.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dialog Semiconductor DA7219 Audio Codec
10 - David Rau <David.Rau.opensource@dm.renesas.com>
13 The DA7219 is an ultra low-power audio codec with
14 in-built advanced accessory detection (AAD) for mobile
16 sample rates up to 96 kHz at 24-bit resolution.
28 VDD-supply:
32 VDDMIC-supply:
[all …]
/linux/sound/pci/au88x0/
H A Dau88x0.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
44 /* IRQ flags */
64 /* codec io: VORTEX_CODEC_IO bits */
73 //#define VORTEX_IS_QUAD(x) (((x)->codec == NULL) ? 0 : ((x)->codec->ext_id&0x80))
74 #define VORTEX_IS_QUAD(x) ((x)->isquad)
77 (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_VORTEX_2) || \
78 (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_ADVANTAGE))
89 #define MIX_CAPT(x) (vortex->mixcapt[x])
90 #define MIX_PLAYB(x) (vortex->mixplayb[x])
91 #define MIX_SPDIF(x) (vortex->mixspdif[x])
[all …]
/linux/sound/soc/sof/intel/
H A Dhda.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
26 #include <sound/intel-dsp-config.h>
27 #include <sound/intel-nhlt.h>
28 #include <sound/soc-acpi-intel-ssp-common.h>
31 #include <sound/hda-mlink.h>
32 #include "../sof-audio.h"
33 #include "../sof-pci-dev.h"
35 #include "../ipc4-topology.h"
41 #include <sound/soc-acpi-intel-match.h>
62 struct snd_soc_dai *d = params_data->dai; in sdw_params_stream()
[all …]
H A Dhda-bus.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 #include "../sof-priv.h"
34 static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable) in sof_hda_bus_link_power() argument
36 struct hdac_bus *bus = codec->bus; in sof_hda_bus_link_power()
37 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power()
39 snd_hdac_ext_bus_link_power(codec, enable); in sof_hda_bus_link_power()
45 * Both codec driver and controller can hold references to in sof_hda_bus_link_power()
46 * display power. To avoid unnecessary power-up/down cycles, in sof_hda_bus_link_power()
49 * If the codec driver powers down the link, release in sof_hda_bus_link_power()
52 if (codec->addr == HDA_IDISP_ADDR && !enable) in sof_hda_bus_link_power()
[all …]
/linux/sound/soc/samsung/
H A Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <linux/input-event-codes.h>
90 static irqreturn_t headset_det_irq_thread(int irq, void *data) in headset_det_irq_thread() argument
98 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
101 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
105 time_left_ms -= 20; in headset_det_irq_thread()
109 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
113 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
115 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
127 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread()
[all …]
/linux/Documentation/sound/
H A Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
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
64 ------------------
86 regarding opening the device. When this option is non-zero,
90 Module snd-rawmidi
91 ------------------
[all …]

12345678910>>...20