| /freebsd-src/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 */ 47 unsigned int cif; /* Controll data Interface Format (0/1) */ 49 unsigned int dvc; /* De-emphasis and Volume Control */ 56 spicds_wrbit(struct spicds_info *codec, in 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 40 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); 46 /* reg < 0 if inverted polarity */ 48 unsigned ofs:4; /* offset (only if stereo=0) */ 86 [SOUND_MIXER_VOLUME] = { AC97_MIX_MASTER, 5, 0, 1, 1, 6, 0, 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_patch.c | |
| H A D | ac97.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 #define AC97_MUTE 0x8080 31 #define AC97_REG_RESET 0x00 32 #define AC97_CAP_MICCHANNEL (1 << 0) 41 #define AC97_MIX_MASTER 0x02 42 #define AC97_MIX_AUXOUT 0x04 43 #define AC97_MIX_MONO 0x06 44 #define AC97_MIX_TONE 0x08 45 #define AC97_MIX_BEEP 0x0a [all …]
|
| /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": 15 const: 0 19 - allwinner,sun4i-a10-codec [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 | 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 | 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 | ux500-mop500.txt | 6 - compatible : "stericsson,snd-soc-mop500" 8 Non-standard properties: 9 - stericsson,cpu-dai : Phandle to the CPU-side DAI 10 - stericsson,audio-codec : Phandle to the Audio CODEC 11 - stericsson,card-name : Over-ride default card name 16 compatible = "stericsson,snd-soc-mop500"; 18 stericsson,cpu-dai = <&msp1 &msp3>; 19 stericsson,audio-codec = <&codec>; 23 compatible = "stericsson,ux500-msp-i2s"; 24 reg = <0x80124000 0x1000>; [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 | 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 | 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 | 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 | 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 17 0 : external oscillator, MCLK = 12.288M [all …]
|
| H A D | qcom,apq8016-sbc.txt | 7 - compatible : "qcom,apq8016-sbc-sndcard" 9 - pinctrl-N : One property must exist for each entry in 10 pinctrl-names. See ../pinctrl/pinctrl-bindings.txt 12 - pinctrl-names : Must contain a "default" entry. 13 - reg : Must contain an address for each entry in reg-names. 14 - reg-names : A list which must include the following entries: 15 * "mic-iomux" 16 * "spkr-iomux" 17 - qcom,model : Name of the sound card. 19 - qcom,audio-routing : A list of the connections between audio components. [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": 26 "#size-cells": [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 | 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": 18 minimum: 0 [all …]
|
| /freebsd-src/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)->loc argument 64 hdacc_unlock(codec) global() argument 65 hdacc_lockassert(codec) global() argument 484 struct hdacc_softc *codec = device_get_softc(dev); hdacc_attach() local 540 struct hdacc_softc *codec = device_get_softc(dev); hdacc_detach() local 584 struct hdacc_softc *codec = device_get_softc(dev); hdacc_probe_nomatch() local 632 struct hdacc_softc *codec = device_get_softc(dev); hdacc_get_mtx() local 648 struct hdacc_softc *codec = device_get_softc(dev); hdacc_stream_alloc() local 661 struct hdacc_softc *codec = device_get_softc(dev); hdacc_stream_free() local 700 struct hdacc_softc *codec = device_get_softc(dev); hdacc_stream_intr() local 710 struct hdacc_softc *codec = device_get_softc(dev); hdacc_unsol_alloc() local 730 struct hdacc_softc *codec = device_get_softc(dev); hdacc_unsol_free() local 740 struct hdacc_softc *codec = device_get_softc(dev); hdacc_unsol_intr() local [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 27 - description: Master Clock 28 - description: System Clock Receive 29 - description: System Clock Transmit 31 clock-names: 33 - const: mclk [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 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-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 19 codec: 23 "#clock-cells": 24 const: 0 [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 …]
|