Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-5.10/sound/isa/opti9xx/
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>
42 MODULE_DESCRIPTION("OPTi92X - CS4231");
46 MODULE_DESCRIPTION("OPTi92X - AD1848");
53 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */
62 static int irq = SNDRV_DEFAULT_IRQ1; /* 5,7,9,10,11 */ variable
82 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for opti9xx driver.");
85 module_param_hw(irq, int, irq, 0444);
86 MODULE_PARM_DESC(irq, "WSS irq # for opti9xx driver.");
[all …]
/kernel/linux/linux-5.10/sound/pci/
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 …]
Dintel8x0m.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * This is modified (by Sasha Khapyorsky <sashak@alsa-project.org>) version
28 MODULE_SUPPORTED_DEVICE("{{Intel,82801AA-ICH},"
29 "{Intel,82901AB-ICH0},"
30 "{Intel,82801BA-ICH2},"
31 "{Intel,82801CA-ICH3},"
32 "{Intel,82801DB-ICH4},"
44 static int index = -2; /* Exclude the first card */
53 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
68 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \
[all …]
/kernel/linux/linux-5.10/sound/pci/ali5451/
Dali5451.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * --
11 * --
21 #include <linux/dma-mapping.h>
142 #define ALI_REG(codec, x) ((codec)->port + x) argument
181 struct snd_ali *codec; member
186 int count; /* runtime->period_size */
188 /* --- */
215 int irq; member
267 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dvideocodec.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
15 /* Should ease the (re-)usage of drivers supporting cards with (different)
19 The codecs are typically have a "strong" binding to their master - so I
21 i2c. If you have an other opinion, let's discuss & implement it :-)))
28 The best is just calling them at module (de-)initialisation.
46 ----------------------------------------------------------------------------
50 ----------------------------------------------------------------------------
59 name -> name of the device structure for reference and debugging
60 master_data -> data ref. for the master (e.g. the zr36055,57,67)
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
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 …]
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * skl.c - Implementation of ASoC Intel SKL HD Audio driver
5 * Copyright (C) 2014-2015 Intel Corp
23 #include <sound/soc-acpi.h>
24 #include <sound/soc-acpi-intel-match.h>
29 #include <sound/intel-nhlt.h>
30 #include <sound/intel-dsp-config.h>
32 #include "skl-sst-dsp.h"
33 #include "skl-sst-ipc.h"
61 * Clear bits 0-2 of PCI register TCSEL (at offset 0x44) in skl_init_pci()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
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
24 #include <linux/irq.h>
30 #include <mach/regs-ac97.h>
32 #include <asm/mach-types.h>
35 u16 id; /* codec id */
61 static int irq; variable
74 * event. If the irq request fails then it will fall back to polling mode.
[all …]
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 …]
/kernel/linux/linux-5.10/sound/soc/cirrus/
Dep93xx-ac97.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Based on s3c-ac97 ASoC driver by Jaswinder Singh.
23 #include <linux/platform_data/dma-ep93xx.h>
26 #include "ep93xx-pcm.h"
29 * Per channel (1-4) registers.
31 #define AC97CH(n) (((n) - 1) * 0x20)
88 * struct ep93xx_ac97_info - EP93xx AC97 controller info structure
107 .name = "ac97-pcm-out",
113 .name = "ac97-pcm-in",
121 return __raw_readl(info->regs + reg); in ep93xx_ac97_read_reg()
[all …]
/kernel/linux/linux-5.10/sound/soc/txx9/
Dtxx9aclc-ac97.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * (C) Copyright TOSHIBA CORPORATION 2004-2006
17 #include <asm/mach-tx39xx/ioremap.h> /* for TXX9_DIRECTMAP_BASE */
42 return __raw_readl(drvdata->base + ACINTSTS) & ACINT_REGACCRDY; in txx9aclc_regready()
45 /* AC97 controller reads codec register */
50 void __iomem *base = drvdata->base; in txx9aclc_ac97_read()
53 if (!(__raw_readl(base + ACINTSTS) & ACINT_CODECRDY(ac97->num))) in txx9aclc_ac97_read()
55 reg |= ac97->num << 7; in txx9aclc_ac97_read()
78 /* AC97 controller writes to codec register */
83 void __iomem *base = drvdata->base; in txx9aclc_ac97_write()
[all …]
/kernel/linux/linux-5.10/include/sound/
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 …]
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 …]
Des1688.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
22 unsigned long mpu_port; /* MPU-401 port of ESS chip */
23 int irq; /* IRQ number of ESS chip */ member
24 int mpu_irq; /* MPU IRQ */
25 int dma8; /* 8-bit DMA */
43 #define ES1688P(codec, x) ((codec)->port + e_s_s_ESS1688##x) argument
99 int irq,
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dab8500.txt1 * AB8500 Multi-Functional Device (MFD)
4 - compatible : contains "stericsson,ab8500" or "stericsson,ab8505";
5 - interrupts : contains the IRQ line for the AB8500
6 - interrupt-controller : describes the AB8500 as an Interrupt Controller (has its own domain)
7 - #interrupt-cells : should be 2, for 2-cell format
8 - The first cell is the AB8500 local IRQ number
9 - The second cell is used to specify optional parameters
10 - bits[3:0] trigger type and level flags:
11 1 = low-to-high edge triggered
12 2 = high-to-low edge triggered
[all …]
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 …]
Dmotorola-cpcap.txt4 - compatible : One or both of "motorola,cpcap" or "ste,6556002"
5 - reg : SPI chip select
6 - interrupts : The interrupt line the device is connected to
7 - interrupt-controller : Marks the device node as an interrupt controller
8 - #interrupt-cells : The number of cells to describe an IRQ, should be 2
9 - #address-cells : Child device offset number of cells, should be 1
10 - #size-cells : Child device size number of cells, should be 0
11 - spi-max-frequency : Typically set to 3000000
12 - spi-cs-high : SPI chip select direction
16 The sub-functions of CPCAP get their own node with their own compatible values,
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Hantro VPU codec driver
8 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
20 #include <media/v4l2-ctrls.h>
21 #include <media/v4l2-device.h>
22 #include <media/v4l2-ioctl.h>
23 #include <media/v4l2-mem2mem.h>
24 #include <media/videobuf2-core.h>
25 #include <media/videobuf2-dma-contig.h>
40 * struct hantro_irq - irq handler and name
[all …]
Drk3399_vpu_hw.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
6 * Jeffy Chen <jeffy.chen@rock-chips.com>
91 static irqreturn_t rk3399_vepu_irq(int irq, void *dev_id) in rk3399_vepu_irq() argument
109 static irqreturn_t rk3399_vdpu_irq(int irq, void *dev_id) in rk3399_vdpu_irq() argument
130 clk_set_rate(vpu->clocks[0].clk, RK3399_ACLK_MAX_FREQ); in rk3399_vpu_hw_init()
136 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_enc_reset()
145 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_dec_reset()
153 * Supported codec ops.
197 .codec = HANTRO_JPEG_ENCODER | HANTRO_MPEG2_DECODER |
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dmc13xxx-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2009-2010 Pengutronix
4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
50 if (!mutex_trylock(&mc13xxx->lock)) { in mc13xxx_lock()
51 dev_dbg(mc13xxx->dev, "wait for %s from %ps\n", in mc13xxx_lock()
54 mutex_lock(&mc13xxx->lock); in mc13xxx_lock()
56 dev_dbg(mc13xxx->dev, "%s from %ps\n", in mc13xxx_lock()
63 dev_dbg(mc13xxx->dev, "%s from %ps\n", in mc13xxx_unlock()
65 mutex_unlock(&mc13xxx->lock); in mc13xxx_unlock()
73 ret = regmap_read(mc13xxx->regmap, offset, val); in mc13xxx_reg_read()
[all …]
/kernel/linux/linux-5.10/sound/pci/au88x0/
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 …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dmainstone.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/mainstone.h
19 #define MST_P2V(x) ((x) - MST_FPGA_PHYS + MST_FPGA_VIRT)
20 #define MST_V2P(x) ((x) - MST_FPGA_VIRT + MST_FPGA_PHYS)
45 #define MST_MSCWR1_LCD_CTL (1 << 13) /* General-purpose LCD control */
68 #define MST_MSCWR2_I2S_SPKROFF (1 << 3) /* I2S CODEC amplifier control */
69 #define MST_MSCWR2_AC97_SPKROFF (1 << 2) /* AC97 CODEC amplifier control */
71 #define MST_MSCWR2_RADIO_WAKE (1 << 0) /* Radio module wake-up signal */
86 #define MST_MSCRD_nMMC_WP (1 << 0) /* SD/MMC write-protect status */
88 #define MST_INT_S1_IRQ (1 << 15) /* PCMCIA socket 1 IRQ */
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/madera/
Dpdata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2015-2018 Cirrus Logic
12 #include <linux/regulator/arizona-ldo1.h>
13 #include <linux/regulator/arizona-micsupp.h>
15 #include <sound/madera-pdata.h>
26 * struct madera_pdata - Configuration data for Madera devices
31 * @irq_flags: Mode for primary IRQ (defaults to active low)
34 * Documentation/driver-api/pinctl.rst)
38 * in the datasheet for the available values for your codec)
39 * @codec: Substruct of pdata for the ASoC codec driver
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <linux/input-event-codes.h>
92 static irqreturn_t headset_det_irq_thread(int irq, void *data) in headset_det_irq_thread() argument
100 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
103 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
107 time_left_ms -= 20; in headset_det_irq_thread()
111 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
115 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
117 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
129 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dda7218.txt1 Dialog Semiconductor DA7218 Audio Codec bindings
3 DA7218 is an audio codec with HP detect feature.
8 - compatible : Should be "dlg,da7217" or "dlg,da7218"
9 - reg: Specifies the I2C slave address
11 - VDD-supply: VDD power supply for the device
12 - VDDMIC-supply: VDDMIC power supply for the device
13 - VDDIO-supply: VDDIO power supply for the device
18 - interrupts: IRQ line info for DA7218 chip.
19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
[all …]

12345678910>>...18