| /freebsd/sys/dev/sound/pci/ |
| H A D | spicds.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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() 76 spicds_wrcd(struct spicds_info *codec, int reg, u_int16_t val) in spicds_wrcd() argument [all …]
|
| /freebsd/sys/dev/sound/pcm/ |
| H A D | ac97.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 40 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); 97 [SOUND_MIXER_IGAIN] = { -AC97_MIX_MIC, 1, 6, 0, 0, 0, 1, 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 316 ac97_rdcd(struct ac97_info *codec, int reg) in ac97_rdcd() argument 318 if (codec->flags & AC97_F_RDCD_BUG) { in ac97_rdcd() [all …]
|
| /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/contrib/device-tree/Bindings/sound/ |
| 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 | ti,j721e-cpb-ivi-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/sound/ti,j721e-cp [all...] |
| H A D | rockchip-max98090.txt | 1 ROCKCHIP with MAX98090 CODEC 4 - compatible: "rockchip,rockchip-audio-max98090" 5 - rockchip,model: The user-visible name of this sound complex 6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 7 connected to the CODEC 10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec. 11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is 12 required if there is rockchip,audio-codec. 13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec. 17 /* For max98090-only board. */ [all …]
|
| H A D | mt8183-mt6358-ts3a227-max98357.txt | 4 - compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec 5 "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec 6 "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec 7 "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec 8 - mediatek,platform: the phandle of MT8183 ASoC platform 11 - mediatek,headset-codec: the phandles of ts3a227 codecs 12 - mediatek,ec-codec: the phandle of EC codecs. 13 See google,cros-ec-codec.txt for more details. 14 - mediatek,hdmi-codec: the phandles of HDMI codec 20 mediatek,headset-codec = <&ts3a227>; [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 | 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 | 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 | 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 | 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 | allwinner,sun8i-a23-codec-analog.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A23 Analog Codec 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 18 # - allwinner,sun8i-a23-codec-analog 19 - const: allwinner,sun8i-h3-codec-analog 20 - 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 | mt8183-da7219-max98357.txt | 4 - compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec 5 "mediatek,mt8183_da7219_rt1015" for RT1015 codec 6 "mediatek,mt8183_da7219_rt1015p" for RT1015P codec 7 - mediatek,headset-codec: the phandles of da7219 codecs 8 - mediatek,platform: the phandle of MT8183 ASoC platform 11 - mediatek,hdmi-codec: the phandles of HDMI codec 17 mediatek,headset-codec = <&da7219>; 18 mediatek,hdmi-codec = <&it6505dptx>;
|
| 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 | 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,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 | 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 | da9055.txt | 1 * Dialog DA9055 Audio CODEC 3 DA9055 provides Audio CODEC support (I2C only). 5 The Audio CODEC device in DA9055 has its own I2C address which is configurable, 13 - compatible: "dlg,da9055-codec" 14 - reg: Specifies the I2C slave address 19 codec: da9055-codec@1a { 20 compatible = "dlg,da9055-codec";
|
| /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> 32 * Intel High Definition Audio (CODEC) driver for FreeBSD. 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"); 123 { HDA_CODEC_ALC660, 0, "Realtek ALC660-VD" }, 138 { HDA_CODEC_ALC861VD, 0, "Realtek ALC861-VD" }, [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mfd/ |
| H A 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 …]
|
| H A D | ac100.txt | 1 X-Powers AC100 Codec/RTC IC Device Tree bindings 3 AC100 is a audio codec and RTC subsystem combo IC. The 2 parts are 8 - compatible: "x-powers,ac100" 9 - reg: The I2C slave address or RSB hardware address for the chip 10 - sub-nodes: 11 - codec 12 - compatible: "x-powers,ac100-codec" 13 - interrupts: SoC NMI / GPIO interrupt connected to the 15 - #clock-cells: Shall be 0 16 - clock-output-names: "4M_adda" [all …]
|