/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A 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 …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | ac97.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 40 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); 97 [SOUND_MIXER_IGAIN] = { -AC97_MIX_MIC, 1, 6, 0, 0, 0, 1, 1 }, 98 [SOUND_MIXER_CD] = { AC97_MIX_CD, 5, 0, 1, 1, 2, 0, 1 }, 101 [SOUND_MIXER_RECLEV] = { -AC97_MIX_RGAIN, 4, 0, 1, 1, 0, 0, 1 } 110 { 0x434d4900, "C-Media Electronics" }, 187 { 0x43585430, 0x00, 0, "CX20468-21", 0 }, 242 * XXX This is a fluke, really! The real codec [all …]
|
H A D | ac97.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 33 #define AC97_CAP_TONE (1 << 2) 61 #define AC97_POWER_ANL (1 << 2) 96 void ac97_destroy(struct ac97_info *codec); 97 void ac97_setflags(struct ac97_info *codec, u_int32_t val); 98 u_int32_t ac97_getflags(struct ac97_info *codec); 99 int ac97_setrate(struct ac97_info *codec, int which, int rate); 100 int ac97_setextmode(struct ac97_info *codec, u_int16_t mode); [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | ti,j721e-cpb-ivi-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- [all...] |
H A D | amlogic,axg-sound-card.txt | 5 - compatible: "amlogic,axg-sound-card" 6 - model : User specified audio sound card name, one string 10 - audio-aux-devs : List of phandles pointing to auxiliary devices 11 - audio-widgets : Please refer to widgets.txt. 12 - audio-routing : A list of the connections between audio components. 16 - dai-link: Container for dai-link level properties and the CODEC 17 sub-nodes. There should be at least one (and probably more) 20 Required dai-link properties: 22 - sound-dai: phandle and port of the CPU DAI. 24 Required TDM Backend dai-link properties: [all …]
|
H A D | qcom,wcd939x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm WCD9380/WCD9385 Audio Codec 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC. 15 The WCD9390/WCD9395 IC has a functionally separate USB-C Mux subsystem 17 The Audio Headphone and Microphone data path between the Codec and the USB-C Mux 18 subsystems are external to the IC, thus requiring DT port-endpoint graph description 19 to handle USB-C altmode & orientation switching for Audio Accessory Mode. [all …]
|
H A D | davinci-evm-audio.txt | 1 * Texas Instruments SoC audio setups with TLV320AIC3X Codec 4 - compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx 5 - ti,model : The user-visible name of this sound complex. 6 - ti,audio-codec : The phandle of the TLV320AIC3x audio codec 7 - ti,mcasp-controller : The phandle of the McASP controller 8 - ti,audio-routing : A list of the connections between audio components. 11 sinks are the codec's pins, and the jacks on the board: 14 - ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. 15 - clocks : Reference to the master clock 16 - clock-names : The clock should be named "mclk" [all …]
|
H A D | mt8192-mt6359-rt1015-rt5682.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 11 - Shane Chien <shane.chien@mediatek.com> 17 - $ref: sound-card-common.yaml# 22 - mediatek,mt8192_mt6359_rt1015_rt5682 23 - mediatek,mt8192_mt6359_rt1015p_rt5682 24 - mediatek,mt8192_mt6359_rt1015p_rt5682s [all …]
|
H A D | mt8195-mt6359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Trevor Wu <trevor.wu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8195_mt6359_rt1019_rt5682 22 - mediatek,mt8195_mt6359_rt1011_rt5682 23 - mediatek,mt8195_mt6359_max98390_rt5682 29 audio-routing: [all …]
|
H A D | audio-graph-card.txt | 3 Audio Graph Card specifies audio DAI connections of SoC <-> codec. 8 see ${LINUX}/Documentation/devicetree/bindings/sound/simple-card.yaml 10 Below are same as Simple-Card. 12 - label 13 - widgets 14 - routing 15 - dai-format 16 - frame-master 17 - bitclock-master 18 - bitclock-inversion [all …]
|
H A D | qcom,wcd937x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm WCD9370/WCD9375 Audio Codec 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC. 17 - $ref: dai-common.yaml# 18 - $ref: qcom,wcd93xx-common.yaml# 23 - const: qcom,wcd9370-codec 24 - items: [all …]
|
H A D | mt8186-mt6366-da7219-max98357.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-da7219-max98357-sound 23 audio-routing: 24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 30 power supplies, MicBias of codec and the software switch. [all …]
|
H A D | mt8186-mt6366-rt1019-rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound 22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound 23 - mediatek,mt8186-mt6366-rt5650-sound 25 audio-routing: [all …]
|
H A D | qcom,wcd938x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm WCD9380/WCD9385 Audio Codec 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. 17 - $ref: dai-common.yaml# 18 - $ref: qcom,wcd93xx-common.yaml# 23 - qcom,wcd9380-codec 24 - qcom,wcd9385-codec [all …]
|
H A D | ti,j721e-cpb-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/sound/ti,j721e-cpb-audio.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 15 The audio support on the board is using pcm3168a codec connected to McASP10 25 PLL4 ---> PLL4_HSDIV0 ---> MCASP10_AUXCLK ---> McASP10.auxclk 26 |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI 29 PLL15 ---> PLL15_HSDIV0 ---> MCASP10_AUXCLK ---> McASP10.auxclk 30 |-> PLL15_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI [all …]
|
H A D | amlogic,axg-sound-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 17 const: amlogic,axg-sound-card 19 audio-aux-devs: 20 $ref: /schemas/types.yaml#/definitions/phandle-array 23 audio-widgets: [all …]
|
H A D | rockchip,rk3308-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3308-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip RK3308 Internal Codec 10 This is the audio codec embedded in the Rockchip RK3308 11 SoC. It has 8 24-bit ADCs and 2 24-bit DACs. The maximum supported 17 The RK3308 audio codec has 8 independent capture channels, but some 19 * grp 0 -- MIC1 / MIC2 20 * grp 1 -- MIC3 / MIC4 [all …]
|
H A D | ingenic,codec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/ingenic,codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic JZ47xx internal codec 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: dai-common.yaml# 17 pattern: '^audio-codec@.*' 21 - enum: 22 - ingenic,jz4770-codec [all …]
|
H A D | allwinner,sun4i-a10-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 Codec 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#sound-dai-cells": 19 - allwinner,sun4i-a10-codec 20 - allwinner,sun6i-a31-codec [all …]
|
H A D | renesas,idt821034.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas IDT821034 codec device 10 - Herve Codina <herve.codina@bootlin.com> 13 The IDT821034 codec is a four channel PCM codec with onchip filters and 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for 19 sub-nodes that involve the codec. The codec uses one 8bit time-slot per [all …]
|
H A D | infineon,peb2466.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Infineon PEB2466 codec 10 - Herve Codina <herve.codina@bootlin.com> 13 The Infineon PEB2466 codec is a programmable DSP-based four channels codec 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes 19 that involve the codec. The codec uses one 8bit time-slot per channel. [all …]
|
H A D | rt5659.txt | 1 RT5659/RT5658 audio CODEC 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. [all …]
|
H A D | nvidia,tegra20-ac97.yaml | 1 # 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: 33 maxItems: 2 35 dma-names: [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | spicds.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 13 * 2. Redistributions in binary form must reproduce the above copyright 38 static MALLOC_DEFINE(M_SPICDS, "spicds", "SPI codec"); 46 unsigned int type; /* codec type */ 49 unsigned int dvc; /* De-emphasis and Volume Control */ 56 spicds_wrbit(struct spicds_info *codec, int bit) in spicds_wrbit() argument 59 if (codec->cif) in spicds_wrbit() 67 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit() 69 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit() [all …]
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdacc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org> 14 * 2. Redistributions in binary form must reproduce the above copyright 32 * Intel High Definition Audio (CODEC) driver for FreeBSD. 57 device_t streams[2][16]; 63 #define hdacc_lock(codec) snd_mtxlock((codec)->lock) argument 64 #define hdacc_unlock(codec) snd_mtxunlock((codec)->lock) argument 65 #define hdacc_lockassert(codec) snd_mtxassert((codec)->lock) argument 67 MALLOC_DEFINE(M_HDACC, "hdacc", "HDA CODEC"); [all …]
|