| /freebsd-src/sys/dev/sound/pci/ |
| H A D | spicds.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 38 static MALLOC_DEFINE(M_SPICDS, "spicds", "SPI codec"); 46 unsigned int type; /* codec type */ 47 unsigned int cif; /* Controll data Interface Format (0/1) */ 49 unsigned int dvc; /* De-emphasi 56 spicds_wrbit(struct spicds_info * codec,int bit) spicds_wrbit() argument 76 spicds_wrcd(struct spicds_info * codec,int reg,u_int16_t val) spicds_wrcd() argument 142 struct spicds_info *codec; spicds_create() local 166 spicds_destroy(struct spicds_info * codec) spicds_destroy() argument 173 spicds_settype(struct spicds_info * codec,unsigned int type) spicds_settype() argument 181 spicds_setcif(struct spicds_info * codec,unsigned int cif) spicds_setcif() argument 189 spicds_setformat(struct spicds_info * codec,unsigned int format) spicds_setformat() argument 197 spicds_setdvc(struct spicds_info * codec,unsigned int dvc) spicds_setdvc() argument 205 spicds_init(struct spicds_info * codec) spicds_init() argument 251 spicds_reinit(struct spicds_info * codec) spicds_reinit() argument 272 spicds_set(struct spicds_info * codec,int dir,unsigned int left,unsigned int right) spicds_set() argument [all...] |
| /freebsd-src/sys/dev/sound/pcm/ |
| H A D | ac97.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 40 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); 49 unsigned stereo:1; /* set for stereo controls */ 50 unsigned mute:1; /* bit15 is MUTE */ 52 unsigned mask:1; /* us 309 ac97_rdcd(struct ac97_info * codec,int reg) ac97_rdcd() argument 330 ac97_wrcd(struct ac97_info * codec,int reg,u_int16_t val) ac97_wrcd() argument 336 ac97_reset(struct ac97_info * codec) ac97_reset() argument 350 ac97_setrate(struct ac97_info * codec,int which,int rate) ac97_setrate() argument 381 ac97_setextmode(struct ac97_info * codec,u_int16_t mode) ac97_setextmode() argument 397 ac97_getextmode(struct ac97_info * codec) ac97_getextmode() argument 403 ac97_getextcaps(struct ac97_info * codec) ac97_getextcaps() argument 409 ac97_getcaps(struct ac97_info * codec) ac97_getcaps() argument 415 ac97_getsubvendor(struct ac97_info * codec) ac97_getsubvendor() argument 421 ac97_setrecsrc(struct ac97_info * codec,int channel) ac97_setrecsrc() argument 437 ac97_setmixer(struct ac97_info * codec,unsigned channel,unsigned left,unsigned right) ac97_setmixer() argument 516 ac97_fix_auxout(struct ac97_info * codec) ac97_fix_auxout() argument 551 ac97_fix_tone(struct ac97_info * codec) ac97_fix_tone() argument 598 ac97_initmixer(struct ac97_info * codec) ac97_initmixer() argument 797 ac97_reinitmixer(struct ac97_info * codec) ac97_reinitmixer() argument 830 struct ac97_info *codec; ac97_create() local 854 ac97_destroy(struct ac97_info * codec) ac97_destroy() argument 864 ac97_setflags(struct ac97_info * codec,u_int32_t val) ac97_setflags() argument 870 ac97_getflags(struct ac97_info * codec) ac97_getflags() argument 880 struct ac97_info *codec; sysctl_hw_snd_ac97_eapd() local 906 ac97_init_sysctl(struct ac97_info * codec) ac97_init_sysctl() argument 931 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_init() local 1032 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_uninit() local 1047 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_reinit() local 1057 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_set() local 1068 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_setrecsrc() local [all...] |
| H A D | ac97.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 32 #define AC97_CAP_MICCHANNEL (1 << 0) 33 #define AC97_CAP_TONE (1 << 2) 34 #define AC97_CAP_SIMSTEREO (1 << 3) 35 #define AC97_CAP_HEADPHONE (1 << 4) 36 #define AC97_CAP_LOUDNESS (1 << 5) 37 #define AC97_CAP_DAC_18 (1 << 6) 38 #define AC97_CAP_DAC_20 (1 << 7) [all …]
|
| H A D | ac97_patch.c | |
| /freebsd-src/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 | 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 | 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-cpb-ivi-audio.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 17 sound/ti,j721e-cpb-audio.txt 31 PLL4 ---> PLL4_HSDIV0 ---> MCASP10_AUXCLK ---> McASP10.auxclk 32 | |-> MCASP0_AUXCLK ---> McASP0.auxclk 34 |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI 35 |-> AUDIO_REFCLK0 ---> pcm3168a_a/b.SCKI [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 | 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 | 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 | st,sti-asoc-card.txt | 3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas 4 codec or external codecs. 8 Documentation/devicetree/bindings/sound/simple-card.yaml. 10 1) sti-uniperiph-dai: audio dai device. 11 --------------------------------------- 14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out", 15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif", 16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi", 18 - st,syscfg: phandle to boot-device system configuration registers 20 - clock-names: name of the clocks listed in clocks property in the same order [all …]
|
| H A D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 18 bitclock-master: 19 description: Indicates dai-link bit clock master 22 frame-inversion: [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-soun [all...] |
| H A D | google,cros-ec-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/sound/google,cros-ec-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio codec controlled by ChromeOS EC 10 - Cheng-Yi Chiang <cychiang@chromium.org> 11 - Tzung-Bi Shih <tzungbi@kernel.org> 14 Google's ChromeOS EC codec is a digital mic codec provided by the 15 Embedded Controller (EC) and is controlled via a host-command 16 interface. An EC codec node should only be found inside the "codecs" [all …]
|
| H A D | mt8173-rt5650.txt | 4 - compatible : "mediatek,mt8173-rt5650" 5 - mediatek,audio-codec: the phandles of rt5650 codecs 7 - mediatek,platform: the phandle of MT8173 ASoC platform 10 - codec-capture : the subnode of rt5650 codec capture 11 Required codec-capture subnode properties: 12 - sound-dai: audio codec dai name on capture path 13 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1) 14 <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2) 16 - mediatek,mclk: the MCLK source 18 1 : internal source from mt8173, MCLK = sampling rate*256 [all …]
|
| H A D | allwinner,sun8i-a33-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A33 Codec 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 - $ref: dai-common.yaml# 17 "#sound-dai-cells": 19 maximum: 1 [all …]
|
| H A D | google,sc7280-herobrine.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/google,sc7280-herobrine.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Google SC7280-Herobrine ASoC sound card driver 10 - Judy Hsiao <judyhsiao@chromium.org> 16 - $ref: sound-card-common.yaml# 21 - google,sc7280-herobrine 23 "#address-cells": 24 const: 1 [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-schema [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 | 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 …]
|
| /freebsd-src/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 25 [1] GPIO : ../gpio/gpio.txt 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/net/ |
| H A D | lantiq,pef2256.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 20 - const: lantiq,pef2256 23 maxItems: 1 27 - description: Master Clock 28 - description: System Clock Receive 29 - description: System Clock Transmit 31 clock-names: [all …]
|
| /freebsd-src/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 17 maxItems: 1 19 codec: 23 "#clock-cells": [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 …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/clock/ |
| H A D | qcom,lcc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 15 - qcom,lcc-apq8064 16 - qcom,lcc-ipq8064 17 - qcom,lcc-mdm9615 18 - qcom,lcc-msm8960 23 clock-names: 26 '#clock-cells': [all …]
|