| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | nvidia,tegra20-ac97.txt | 1 NVIDIA Tegra 20 AC97 controller 4 - compatible : "nvidia,tegra20-ac97" 5 - reg : Should contain AC97 controller registers location and length 6 - interrupts : Should contain AC97 interrupt 7 - resets : Must contain an entry for each entry in reset-names. 9 - reset-names : Must include the following entries: 10 - ac97 11 - dmas : Must contain an entry for each entry in clock-names. 13 - dma-names : Must include the following entries: 14 - rx [all …]
|
| D | marvell,pxa2xx-ac97.txt | 3 This descriptions matches the AC97 controller found in pxa2xx and pxa3xx series. 6 - compatible: should be one of the following: 7 "marvell,pxa250-ac97" 8 "marvell,pxa270-ac97" 9 "marvell,pxa300-ac97" 10 - reg: device MMIO address space 11 - interrupts: single interrupt generated by AC97 IP 12 - clocks: input clock of the AC97 IP, refer to clock-bindings.txt 15 - pinctrl-names, pinctrl-0: refer to pinctrl-bindings.txt 16 - reset-gpios: gpio used for AC97 reset, refer to gpio.txt [all …]
|
| D | ac97-bus.txt | 1 Generic AC97 Device Properties 3 This documents describes the devicetree bindings for an ac97 controller child 4 node describing ac97 codecs. 7 -compatible : Must be "ac97,vendor_id1,vendor_id2 10 -reg : Must be the ac97 codec number, between 0 and 3 13 ac97: sound@40500000 { 14 compatible = "marvell,pxa270-ac97"; 17 reset-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>; 18 #sound-dai-cells = <1>; 19 pinctrl-names = "default"; [all …]
|
| D | fsl,ssi.txt | 4 be programmed in AC97, I2S, left-justified, or right-justified modes. 7 - compatible: Compatible list, should contain one of the following 9 fsl,mpc8610-ssi 10 fsl,imx51-ssi 11 fsl,imx35-ssi 12 fsl,imx21-ssi 13 - cell-index: The SSI, <0> = SSI1, <1> = SSI2, and so on. 14 - reg: Offset and length of the register set for the device. 15 - interrupts: <a b> where a is the interrupt number and b is a 19 depending on the type of interrupt controller you [all …]
|
| D | atmel_ac97c.txt | 1 * Atmel AC97 controller 4 - compatible: "atmel,at91sam9263-ac97c" 5 - reg: Address and length of the register set for the device 6 - interrupts: Should contain AC97 interrupt 7 - ac97-gpios: Please refer to soc-ac97link.txt, only ac97-reset is used 9 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt 13 compatible = "atmel,at91sam9263-ac97c"; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&pinctrl_ac97>; 19 ac97-gpios = <&pioB 0 0 &pioB 2 0 &pioC 29 GPIO_ACTIVE_LOW>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | nvidia,tegra20-ac97.txt | 1 NVIDIA Tegra 20 AC97 controller 4 - compatible : "nvidia,tegra20-ac97" 5 - reg : Should contain AC97 controller registers location and length 6 - interrupts : Should contain AC97 interrupt 7 - resets : Must contain an entry for each entry in reset-names. 9 - reset-names : Must include the following entries: 10 - ac97 11 - dmas : Must contain an entry for each entry in clock-names. 13 - dma-names : Must include the following entries: 14 - rx [all …]
|
| D | nvidia,tegra-audio-wm9712.txt | 4 - compatible : "nvidia,tegra-audio-wm9712" 5 - clocks : Must contain an entry for each entry in clock-names. 6 See ../clocks/clock-bindings.txt for details. 7 - clock-names : Must include the following entries: 8 - pll_a 9 - pll_a_out0 10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 11 - nvidia,model : The user-visible name of this sound complex. 12 - nvidia,audio-routing : A list of the connections between audio components. 39 - nvidia,ac97-controller : The phandle of the Tegra AC97 controller [all …]
|
| D | marvell,pxa2xx-ac97.txt | 3 This descriptions matches the AC97 controller found in pxa2xx and pxa3xx series. 6 - compatible: should be one of the following: 7 "marvell,pxa250-ac97" 8 "marvell,pxa270-ac97" 9 "marvell,pxa300-ac97" 10 - reg: device MMIO address space 11 - interrupts: single interrupt generated by AC97 IP 12 - clocks: input clock of the AC97 IP, refer to clock-bindings.txt 15 - pinctrl-names, pinctrl-0: refer to pinctrl-bindings.txt 16 - reset-gpios: gpio used for AC97 reset, refer to gpio.txt [all …]
|
| D | ac97-bus.txt | 1 Generic AC97 Device Properties 3 This documents describes the devicetree bindings for an ac97 controller child 4 node describing ac97 codecs. 7 -compatible : Must be "ac97,vendor_id1,vendor_id2 10 -reg : Must be the ac97 codec number, between 0 and 3 13 ac97: sound@40500000 { 14 compatible = "marvell,pxa270-ac97"; 17 reset-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>; 18 #sound-dai-cells = <1>; 19 pinctrl-names = "default"; [all …]
|
| D | fsl,ssi.txt | 4 be programmed in AC97, I2S, left-justified, or right-justified modes. 7 - compatible: Compatible list, should contain one of the following 9 fsl,mpc8610-ssi 10 fsl,imx51-ssi 11 fsl,imx35-ssi 12 fsl,imx21-ssi 13 - cell-index: The SSI, <0> = SSI1, <1> = SSI2, and so on. 14 - reg: Offset and length of the register set for the device. 15 - interrupts: <a b> where a is the interrupt number and b is a 19 depending on the type of interrupt controller you [all …]
|
| D | atmel_ac97c.txt | 1 * Atmel AC97 controller 4 - compatible: "atmel,at91sam9263-ac97c" 5 - reg: Address and length of the register set for the device 6 - interrupts: Should contain AC97 interrupt 7 - ac97-gpios: Please refer to soc-ac97link.txt, only ac97-reset is used 9 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt 13 compatible = "atmel,at91sam9263-ac97c"; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&pinctrl_ac97>; 19 ac97-gpios = <&pioB 0 0 &pioB 2 0 &pioC 29 GPIO_ACTIVE_LOW>;
|
| /kernel/linux/linux-5.10/include/sound/ac97/ |
| D | controller.h | 1 /* SPDX-License-Identifier: GPL-2.0 18 * struct ac97_controller - The AC97 controller of the AC-Link 19 * @ops: the AC97 operations. 21 * @adap: the shell device ac97-%d, ie. ac97 adapter 24 * @parent: the device providing the AC97 controller. 25 * @codecs: the 4 possible AC97 codecs (NULL if none found). 28 * This structure is internal to AC97 bus, and should not be used by the 43 * struct ac97_controller_ops - The AC97 operations 44 * @reset: Cold reset of the AC97 AC-Link. 45 * @warm_reset: Warm reset of the AC97 AC-Link. [all …]
|
| D | codec.h | 1 /* SPDX-License-Identifier: GPL-2.0 22 * struct ac97_id - matches a codec device and driver on an ac97 bus 36 * ac97_codec_device - a ac97 codec 38 * @vendor_id: the vendor_id of the codec, as sensed on the AC-link 41 * @ac97_ctrl: ac97 digital controller on the same AC-link 43 * This is the device instantiated for each codec living on a AC-link. There are 44 * normally 0 to 4 codec devices per AC-link, and all of them are controlled by 45 * an AC97 digital controller. 56 * ac97_codec_driver - a ac97 codec driver 61 * @id_table: ac97 vendor_id match table, { } member terminated [all …]
|
| /kernel/linux/linux-6.6/include/sound/ac97/ |
| D | controller.h | 1 /* SPDX-License-Identifier: GPL-2.0 18 * struct ac97_controller - The AC97 controller of the AC-Link 19 * @ops: the AC97 operations. 21 * @adap: the shell device ac97-%d, ie. ac97 adapter 24 * @parent: the device providing the AC97 controller. 25 * @codecs: the 4 possible AC97 codecs (NULL if none found). 28 * This structure is internal to AC97 bus, and should not be used by the 43 * struct ac97_controller_ops - The AC97 operations 44 * @reset: Cold reset of the AC97 AC-Link. 45 * @warm_reset: Warm reset of the AC97 AC-Link. [all …]
|
| D | codec.h | 1 /* SPDX-License-Identifier: GPL-2.0 22 * struct ac97_id - matches a codec device and driver on an ac97 bus 36 * ac97_codec_device - a ac97 codec 38 * @vendor_id: the vendor_id of the codec, as sensed on the AC-link 41 * @ac97_ctrl: ac97 digital controller on the same AC-link 43 * This is the device instantiated for each codec living on a AC-link. There are 44 * normally 0 to 4 codec devices per AC-link, and all of them are controlled by 45 * an AC97 digital controller. 56 * ac97_codec_driver - a ac97 codec driver 61 * @id_table: ac97 vendor_id match table, { } member terminated [all …]
|
| /kernel/linux/linux-5.10/sound/soc/cirrus/ |
| D | ep93xx-ac97.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ASoC driver for Cirrus Logic EP93xx AC97 controller. 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) 56 * Global AC97 controller registers. 88 * struct ep93xx_ac97_info - EP93xx AC97 controller info structure 91 * @regs: mapped AC97 controller registers [all …]
|
| /kernel/linux/linux-6.6/sound/ac97/ |
| D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <sound/ac97/codec.h> 19 #include <sound/ac97/controller.h> 20 #include <sound/ac97/regs.h> 42 return -ENODEV; in ac97_unbound_ctrl_write() 48 return -ENODEV; in ac97_unbound_ctrl_read() 64 return ERR_PTR(-EINVAL); in ac97_codec_find() 66 return ac97_ctrl->codecs[codec_num]; in ac97_codec_find() 75 char compat[] = "ac97,0000,0000"; in ac97_of_get_child_device() 77 snprintf(compat, sizeof(compat), "ac97,%04x,%04x", in ac97_of_get_child_device() [all …]
|
| D | snd_ac97_compat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <sound/ac97/codec.h> 9 #include <sound/ac97/compat.h> 10 #include <sound/ac97/controller.h> 20 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset() argument 22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset() 23 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_reset() 25 if (actrl->ops->reset) in compat_ac97_reset() 26 actrl->ops->reset(actrl); in compat_ac97_reset() 29 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset() argument [all …]
|
| /kernel/linux/linux-5.10/sound/ac97/ |
| D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <sound/ac97/codec.h> 19 #include <sound/ac97/controller.h> 20 #include <sound/ac97/regs.h> 42 return -ENODEV; in ac97_unbound_ctrl_write() 48 return -ENODEV; in ac97_unbound_ctrl_read() 64 return ERR_PTR(-EINVAL); in ac97_codec_find() 66 return ac97_ctrl->codecs[codec_num]; in ac97_codec_find() 75 char compat[] = "ac97,0000,0000"; in ac97_of_get_child_device() 77 snprintf(compat, sizeof(compat), "ac97,%04x,%04x", in ac97_of_get_child_device() [all …]
|
| D | snd_ac97_compat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <sound/ac97/codec.h> 9 #include <sound/ac97/compat.h> 10 #include <sound/ac97/controller.h> 20 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset() argument 22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset() 23 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_reset() 25 if (actrl->ops->reset) in compat_ac97_reset() 26 actrl->ops->reset(actrl); in compat_ac97_reset() 29 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset() argument [all …]
|
| /kernel/linux/linux-6.6/sound/soc/au1x/ |
| D | psc-ac97.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (c) 2007-2009 MSC Vertriebsges.m.b.H., 8 * Au1xxx-PSC AC97 glue. 22 #include <asm/mach-au1x00/au1000.h> 23 #include <asm/mach-au1x00/au1xxx_psc.h> 54 /* this could theoretically work, but ac97->bus->card->private_data can be NULL 60 struct snd_soc_card *c = x->bus->card->private_data; 61 return snd_soc_dai_get_drvdata(c->asoc_rtd_to_cpu(rtd, 0)); 70 /* AC97 controller reads codec register */ 71 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, in au1xpsc_ac97_read() argument [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Controllers in AC97 and I2S mode, and the Descriptor-Based DMA 11 Controller (DBDMA) as found on the Au12xx/Au13xx/Au1550 SoC. 29 This is a driver set for the AC97 unit and the 30 old DMA controller as found on the Au1000/Au1500/Au1100 chips. 51 Select this option to enable AC97 audio on the early DB1x00 series 63 Select this option to enable audio (AC97 and I2S) on the
|
| /kernel/linux/linux-5.10/sound/soc/au1x/ |
| D | psc-ac97.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (c) 2007-2009 MSC Vertriebsges.m.b.H., 8 * Au1xxx-PSC AC97 glue. 22 #include <asm/mach-au1x00/au1000.h> 23 #include <asm/mach-au1x00/au1xxx_psc.h> 54 /* this could theoretically work, but ac97->bus->card->private_data can be NULL 60 struct snd_soc_card *c = x->bus->card->private_data; 61 return snd_soc_dai_get_drvdata(c->asoc_rtd_to_cpu(rtd, 0)); 70 /* AC97 controller reads codec register */ 71 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, in au1xpsc_ac97_read() argument [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Controllers in AC97 and I2S mode, and the Descriptor-Based DMA 11 Controller (DBDMA) as found on the Au12xx/Au13xx/Au1550 SoC. 29 This is a driver set for the AC97 unit and the 30 old DMA controller as found on the Au1000/Au1500/Au1100 chips. 51 Select this option to enable AC97 audio on the early DB1x00 series 63 Select this option to enable audio (AC97 and I2S) on the
|
| /kernel/linux/linux-5.10/sound/soc/txx9/ |
| D | txx9aclc-ac97.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TXx9 ACLC AC97 driver 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 */ 46 static unsigned short txx9aclc_ac97_read(struct snd_ac97 *ac97, in txx9aclc_ac97_read() argument 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() [all …]
|