| /kernel/linux/linux-6.6/sound/isa/opti9xx/ |
| D | opti92x-ad1848.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/isa/opti9xx/ |
| D | opti92x-ad1848.c | 1 // 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/ |
| D | azt3328.c | 1 // 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 …]
|
| D | intel8x0m.c | 1 // 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/ |
| D | ali5451.c | 1 // 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-6.6/sound/pci/ |
| D | azt3328.c | 1 // 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 …]
|
| D | intel8x0m.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
| D | skl.c | 1 // 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-6.6/sound/pci/ali5451/ |
| D | ali5451.c | 1 // 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 266 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/ |
| D | videocodec.h | 1 /* 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-6.6/drivers/media/pci/zoran/ |
| D | videocodec.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # 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-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # 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-6.6/sound/soc/intel/avs/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 24 #include <sound/intel-dsp-config.h> 25 #include <sound/intel-nhlt.h> 41 struct pci_dev *pci = to_pci_dev(bus->dev); in avs_hda_update_config_dword() 54 avs_hda_update_config_dword(&adev->base.core, AZX_PCIREG_PGCTL, pgctl_mask, value); in avs_hda_power_gating_enable() 66 avs_hdac_clock_gating_enable(&adev->base.core, enable); in avs_hda_clock_gating_enable() 73 snd_hdac_chip_updatel(&adev->base.core, VS_EM2, AZX_VS_EM2_L1SEN, value); in avs_hda_l1sen_enable() 84 bus->num_streams = cp_streams + pb_streams; in avs_hdac_bus_init_streams() 100 /* Reset stream-to-link mapping */ in avs_hdac_bus_init_chip() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
| D | skl.c | 1 // 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/ |
| D | mainstone-wm97xx.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/cirrus/ |
| D | ep93xx-ac97.c | 1 // 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-6.6/drivers/media/platform/verisilicon/ |
| D | hantro_drv.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_loongson.c | 3 * hda_loongson.c - Implementation of primary alsa driver code base 25 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. 43 #include <linux/dma-mapping.h> 70 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 72 static int jackpoll_ms[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1200}; 74 static int enable_msi = -1; 76 static bool beep_mode[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 91 MODULE_PARM_DESC(probe_only, "Only probing and no codec initialization."); 115 MODULE_PARM_DESC(power_save, "Automatic power-saving timeout " 118 /* reset the HD-audio controller in power save mode. [all …]
|
| /kernel/linux/linux-5.10/sound/soc/txx9/ |
| D | txx9aclc-ac97.c | 1 // 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-6.6/include/sound/ |
| D | cs4231-regs.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| D | cs4231-regs.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | ab8500.txt | 1 * 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | x-powers,ac100.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
| D | hantro.h | 1 /* 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 …]
|