| /freebsd-14.2/sys/dev/sound/pci/ |
| H A D | spicds.c | 67 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit() 69 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit() 85 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd() 87 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd() 128 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd() 130 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd() 133 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd() 147 codec = malloc(sizeof(*codec), M_SPICDS, M_NOWAIT); in spicds_create() 152 codec->lock = snd_mtxcreate(codec->name, codec->name); in spicds_create() 217 spicds_wrcd(codec, AK4524_DVC, codec->dvc); in spicds_init() [all …]
|
| H A D | spicds.h | 114 void spicds_destroy(struct spicds_info *codec); 115 void spicds_settype(struct spicds_info *codec, unsigned int type); 116 void spicds_setcif(struct spicds_info *codec, unsigned int cif); 117 void spicds_setformat(struct spicds_info *codec, unsigned int format); 118 void spicds_setdvc(struct spicds_info *codec, unsigned int dvc); 119 void spicds_init(struct spicds_info *codec); 120 void spicds_reinit(struct spicds_info *codec); 121 void spicds_set(struct spicds_info *codec, int dir, unsigned int left, unsigned int right);
|
| /freebsd-14.2/sys/dev/sound/pcm/ |
| H A D | ac97.c | 326 return AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 332 AC97_WRITE(codec->methods, codec->devinfo, reg, val); in ac97_wrcd() 609 codec->count = AC97_INIT(codec->methods, codec->devinfo); in ac97_initmixer() 694 k = codec->noext? codec->mix[i].enable : 1; in ac97_initmixer() 770 if (codec->extcaps != 0 || codec->extid) { in ac97_initmixer() 800 codec->count = AC97_INIT(codec->methods, codec->devinfo); in ac97_reinitmixer() 812 ac97_wrcd(codec, AC97_REGEXT_STAT, codec->extstat); in ac97_reinitmixer() 885 if (codec == NULL || codec->id == 0 || codec->lock == NULL) in sysctl_hw_snd_ac97_eapd() 910 if (codec == NULL || codec->dev == NULL) in ac97_init_sysctl() 924 codec, sizeof(codec), sysctl_hw_snd_ac97_eapd, in ac97_init_sysctl() [all …]
|
| H A D | ac97_patch.c | 37 void ad1886_patch(struct ac97_info* codec) in ad1886_patch() argument 49 void ad198x_patch(struct ac97_info* codec) in ad198x_patch() argument 51 switch (ac97_getsubvendor(codec)) { in ad198x_patch() 55 ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420); in ad198x_patch() 65 switch (ac97_getsubvendor(codec)) { in ad1981b_patch() 68 ac97_wrcd(codec, AC97_AD_JACK_SPDIF, in ad1981b_patch() 82 switch (ac97_getsubvendor(codec)) { in cmi9739_patch() 86 ac97_wrcd(codec, 0x64, 0x7110); in cmi9739_patch() 98 switch (ac97_getsubvendor(codec)) { in alc655_patch() 103 ac97_wrcd(codec, 0x7a, ac97_rdcd(codec, 0x7a) & 0xfffd); in alc655_patch() [all …]
|
| H A D | ac97.h | 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); 101 u_int16_t ac97_getextmode(struct ac97_info *codec); 102 u_int16_t ac97_getextcaps(struct ac97_info *codec); 103 u_int16_t ac97_getcaps(struct ac97_info *codec); 104 u_int32_t ac97_getsubvendor(struct ac97_info *codec); 106 u_int16_t ac97_rdcd(struct ac97_info *codec, int reg); [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/pinctrl/ |
| H A D | cirrus,lochnagar.yaml | 72 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1, 83 codec-gpio3, codec-gpio4, codec-gpio5, codec-gpio6, 103 codec-pdmdat1, codec-pdmclk2, codec-pdmdat2, 104 codec-dmicclk1, codec-dmicdat1, codec-dmicclk2, 105 codec-dmicdat2, codec-dmicclk3, codec-dmicdat3, 118 codec-gpio3, codec-gpio4, codec-gpio5, codec-gpio6, 129 codec-pdmclk2, codec-pdmdat2, codec-dmicclk1, 130 codec-dmicdat1, codec-dmicclk2, codec-dmicdat2, 131 codec-dmicclk3, codec-dmicdat3, codec-dmicclk4, 141 codec-aif1-txdat, codec-aif2, codec-aif2-bclk, [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/sound/ |
| 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 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>; 21 mediatek,ec-codec = <&ec_codec>; [all …]
|
| H A D | allwinner,sun4i-a10-codec.yaml | 19 - allwinner,sun4i-a10-codec 20 - allwinner,sun6i-a31-codec 21 - allwinner,sun7i-a20-codec 22 - allwinner,sun8i-a23-codec 23 - allwinner,sun8i-h3-codec 24 - allwinner,sun8i-v3s-codec 40 - const: codec 86 allwinner,codec-analog-controls: 112 - allwinner,sun8i-h3-codec 236 codec@1c22c00 { [all …]
|
| H A D | ti,j721e-cpb-ivi-audio.yaml | 57 ti,cpb-codec: 65 ti,ivi-codec-a: 69 ti,ivi-codec-b: 93 - const: cpb-codec-scki 94 - const: cpb-codec-scki-48000 99 - const: ivi-codec-scki 107 - ti,cpb-codec 109 - ti,ivi-codec-a 110 - ti,ivi-codec-b 140 "cpb-codec-scki-48000", "cpb-codec-scki-44100", [all …]
|
| H A D | ingenic,codec.yaml | 4 $id: http://devicetree.org/schemas/sound/ingenic,codec.yaml# 7 title: Ingenic JZ47xx internal codec 17 pattern: '^audio-codec@.*' 22 - ingenic,jz4770-codec 23 - ingenic,jz4760-codec 24 - ingenic,jz4725b-codec 25 - ingenic,jz4740-codec 27 - const: ingenic,jz4760b-codec 28 - const: ingenic,jz4760-codec 55 codec: audio-codec@10020080 { [all …]
|
| H A D | rockchip-max98090.txt | 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. 22 rockchip,audio-codec = <&max98090>; 23 rockchip,headset-codec = <&headsetcodec>; 31 rockchip,hdmi-codec = <&hdmi>; 39 rockchip,audio-codec = <&max98090>; 40 rockchip,headset-codec = <&headsetcodec>; 41 rockchip,hdmi-codec = <&hdmi>;
|
| 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 11 - mediatek,hdmi-codec: the phandles of HDMI codec 17 mediatek,headset-codec = <&da7219>; 18 mediatek,hdmi-codec = <&it6505dptx>;
|
| H A D | allwinner,sun8i-a23-codec-analog.yaml | 4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml# 18 # - allwinner,sun8i-a23-codec-analog 19 - const: allwinner,sun8i-h3-codec-analog 21 - const: allwinner,sun8i-v3-codec-analog 22 - const: allwinner,sun8i-h3-codec-analog 23 - const: allwinner,sun8i-v3s-codec-analog 36 codec_analog: codec-analog@1f015c0 { 37 compatible = "allwinner,sun8i-h3-codec-analog";
|
| H A D | audio-graph-card.txt | 57 audio-codec { 80 audio-codec@0 { 89 audio-codec@1 { 98 audio-codec@2 { 146 prefix = "codec"; 148 "DAI0 Capture", "codec Capture"; 154 audio-codec { 190 audio-codec { 193 audio-graph-card,prefix = "codec"; 253 ak4613: codec@10 { [all …]
|
| H A D | ti,j721e-cpb-audio.yaml | 51 ti,cpb-codec: 52 description: phandle to the pcm3168a codec used on the CPB 67 - ti,cpb-codec 96 - const: cpb-codec-scki 97 - const: cpb-codec-scki-48000 98 - const: cpb-codec-scki-44100 119 - const: cpb-codec-scki 120 - const: cpb-codec-scki-48000 129 ti,cpb-codec = <&pcm3168a_1>; 137 "cpb-codec-scki", [all …]
|
| H A D | inno-rk3036.txt | 1 Inno audio codec for RK3036 3 Inno audio codec is integrated inside RK3036 SoC. 6 - compatible : Should be "rockchip,rk3036-codec". 7 - reg : The registers of codec. 9 - clocks : The clock of codec. 15 compatible = "rk3036-codec";
|
| H A D | mt8173-rt5650.txt | 5 - mediatek,audio-codec: the phandles of rt5650 codecs 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 24 mediatek,audio-codec = <&rt5650 &hdmi0>; 27 codec-capture {
|
| H A D | renesas,idt821034.yaml | 7 title: Renesas IDT821034 codec device 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 19 sub-nodes that involve the codec. The codec uses one 8bit time-slot per 23 The IDT821034 codec also supports 5 gpios (SLIC signals) per channel. 66 audio-codec@0 {
|
| H A D | google,cros-ec-codec.yaml | 4 $id: http://devicetree.org/schemas/sound/google,cros-ec-codec.yaml# 7 title: Audio codec controlled by ChromeOS EC 14 Google's ChromeOS EC codec is a digital mic codec provided by the 16 interface. An EC codec node should only be found inside the "codecs" 25 const: google,cros-ec-codec 69 cros_ec_codec: ec-codec@10500000 { 70 compatible = "google,cros-ec-codec";
|
| H A D | rockchip,rk3328-codec.yaml | 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml# 7 title: Rockchip rk3328 internal codec 17 const: rockchip,rk3328-codec 24 - description: clock for audio codec 65 codec: codec@ff410000 { 66 compatible = "rockchip,rk3328-codec";
|
| H A D | ux500-mop500.txt | 10 - stericsson,audio-codec : Phandle to the Audio CODEC 19 stericsson,audio-codec = <&codec>; 36 codec: ab8500-codec { 37 compatible = "stericsson,ab8500-codec";
|
| H A D | rockchip,rk3328-codec.txt | 1 * Rockchip Rk3328 internal codec 5 - compatible: "rockchip,rk3328-codec" 18 Example for rk3328 internal codec: 20 codec: codec@ff410000 { 21 compatible = "rockchip,rk3328-codec";
|
| /freebsd-14.2/sys/dev/sound/pci/hda/ |
| H A D | hdacc.c | 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 494 codec->dev = dev; in hdacc_attach() 495 codec->cad = cad; in hdacc_attach() 497 hdacc_lock(codec); in hdacc_attach() 500 hdacc_unlock(codec); in hdacc_attach() 514 codec->fgs = malloc(sizeof(struct hdacc_fg) * codec->fgcnt, in hdacc_attach() 518 hdacc_lock(codec); in hdacc_attach() 602 hdacc_lock(codec); in hdacc_probe_nomatch() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | x-powers,ac100.yaml | 19 codec: 27 const: x-powers,ac100-codec 35 Name of the 4M_adda clock exposed by the codec 61 A phandle to the codec's "4M_adda" clock 66 Name of the cko1, cko2 and cko3 clocks exposed by the codec 80 - codec 93 codec@e89 { 97 ac100_codec: codec { 98 compatible = "x-powers,ac100-codec";
|
| H A D | ac100.txt | 3 AC100 is a audio codec and RTC subsystem combo IC. The 2 parts are 11 - codec 12 - compatible: "x-powers,ac100-codec" 22 - clocks: A phandle to the codec's "4M_adda" clock 30 ac100: codec@e89 { 34 ac100_codec: codec { 35 compatible = "x-powers,ac100-codec";
|