Home
last modified time | relevance | path

Searched full:codec (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/freebsd-src/sys/dev/sound/pci/
H A Dspicds.c38 static MALLOC_DEFINE(M_SPICDS, "spicds", "SPI codec");
46 unsigned int type; /* codec type */
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
81 device_printf(codec in spicds_wrcd()
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 Dac97.c40 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec");
242 * XXX This is a fluke, really! The real codec
316 ac97_rdcd(struct ac97_info *codec, int reg) in ac97_rdcd()
318 if (codec->flags & AC97_F_RDCD_BUG) { in ac97_rdcd()
321 i[0] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
322 i[1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
324 i[j-- & 1] = AC97_READ(codec->methods, codec in ac97_rdcd()
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 Dac97_patch.c
H A Dac97.h96 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-src/sys/contrib/device-tree/Bindings/pinctrl/
H A Dcirrus,lochnagar.yaml14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
72 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1,
82 fpga-gpio5, fpga-gpio6, codec-gpio1, codec-gpio2,
83 codec-gpio3, codec-gpio4, codec-gpio5, codec-gpio6,
84 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
86 gf-gpio2, gf-gpio3, gf-gpio7, codec-aif1-bclk,
87 codec-aif1-rxdat, codec-aif1-lrclk, codec-aif1-txdat,
88 codec-aif2-bclk, codec-aif2-rxdat, codec-aif2-lrclk,
89 codec-aif2-txdat, codec-aif3-bclk, codec-aif3-rxdat,
90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/sound/
H A Dallwinner,sun4i-a10-codec.yaml4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml#
7 title: Allwinner A10 Codec
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:
[all …]
H A Dti,j721e-cpb-ivi-audio.yaml57 ti,cpb-codec:
58 description: phandle to the pcm3168a codec used on the CPB
65 ti,ivi-codec-a:
66 description: phandle to the pcm3168a-A codec on the expansion board
69 ti,ivi-codec-b:
70 description: phandle to the pcm3168a-B codec on the expansion board
78 - description: SCKI clock for the pcm3168a codec on CPB
84 - description: SCKI clock for the pcm3168a codec on IVI
93 - const: cpb-codec-scki
94 - const: cpb-codec-scki-48000
[all …]
H A Drockchip-max98090.txt1 ROCKCHIP with MAX98090 CODEC
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.
22 rockchip,audio-codec = <&max98090>;
23 rockchip,headset-codec = <&headsetcodec>;
31 rockchip,hdmi-codec = <&hdmi>;
39 rockchip,audio-codec = <&max98090>;
[all …]
H A Dmt8183-mt6358-ts3a227-max98357.txt4 - 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 Dingenic,codec.yaml4 $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 Ddavinci-evm-audio.txt1 * Texas Instruments SoC audio setups with TLV320AIC3X Codec
6 - ti,audio-codec : The phandle of the TLV320AIC3x audio codec
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.
17 - Either codec-clock-rate or the codec-clock reference has to be defined. If
34 ti,audio-codec = <&tlv320aic3x>;
36 ti,codec-clock-rate = <12000000>;
H A Dti,j721e-cpb-audio.yaml15 The audio support on the board is using pcm3168a codec connected to McASP10
51 ti,cpb-codec:
52 description: phandle to the pcm3168a codec used on the CPB
67 - ti,cpb-codec
87 - description: SCKI clock for the pcm3168a codec on CPB
96 - const: cpb-codec-scki
97 - const: cpb-codec-scki-48000
98 - const: cpb-codec-scki-44100
112 - description: SCKI clock for the pcm3168a codec on CPB
119 - const: cpb-codec-scki
[all …]
H A Damlogic,axg-sound-card.txt16 - dai-link: Container for dai-link level properties and the CODEC
25 - dai-format : CPU/CODEC common audio format
42 - codec: dai-link representing backend links should have at least one subnode.
43 One subnode for each codec of the dai-link.
44 dai-link representing frontend links have no codec, therefore have no
47 Required codec subnodes properties:
49 - sound-dai: phandle and port of the CODEC DAI.
51 Optional codec subnodes properties:
99 codec@0 {
103 codec@1 {
[all …]
H A Dallwinner,sun8i-a23-codec-analog.yaml4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml#
7 title: Allwinner A23 Analog Codec
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 Dmt8183-da7219-max98357.txt4 - 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 Daudio-graph-card.txt3 Audio Graph Card specifies audio DAI connections of SoC <-> codec.
57 audio-codec {
80 audio-codec@0 {
89 audio-codec@1 {
98 audio-codec@2 {
146 prefix = "codec";
147 routing = "codec Playback", "DAI0 Playback",
148 "DAI0 Capture", "codec Capture";
154 audio-codec {
176 Example: 2 CPU 1 Codec (Mixing)
[all …]
H A Dda9055.txt1 * 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"
19 codec: da9055-codec@1a {
20 compatible = "dlg,da9055-codec";
H A Dmt8173-rt5650.txt5 - 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 Dsamsung,snow.yaml7 title: Google Snow audio complex with MAX9809x codec
20 codec:
25 description: List of phandles to the CODEC and HDMI IP nodes.
27 - description: Phandle to the MAX98090, MAX98091 or MAX98095 CODEC.
42 samsung,audio-codec:
43 description: Phandle to the audio codec.
58 - codec
73 codec {
H A Dux500-mop500.txt10 - stericsson,audio-codec : Phandle to the Audio CODEC
19 stericsson,audio-codec = <&codec>;
36 codec: ab8500-codec {
37 compatible = "stericsson,ab8500-codec";
H A Drenesas,idt821034.yaml7 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 {
/freebsd-src/sys/dev/sound/pci/hda/
H A Dhdacc.c32 * 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");
478 device_set_descf(dev, "%s HDA CODEC", buf); in hdacc_probe()
485 struct hdacc_softc *codec in hdacc_attach()
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 Dlantiq,pef2256.yaml107 '^codec(-([0-9]|[1-2][0-9]|3[0-1]))?$':
112 Codec provided by the pef2256. This codec allows to use some of the PCM
115 The time-slots used by the codec must be set and so, the properties
118 sub-nodes that involve the codec. The codec uses 8-bit time-slots.
120 The tx and rx masks define the pef2256 time-slots assigned to the codec.
124 const: lantiq,pef2256-codec
168 pef2256_codec0: codec-0 {
169 compatible = "lantiq,pef2256-codec";
174 pef2256_codec1: codec-1 {
175 compatible = "lantiq,pef2256-codec";
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/
H A Dx-powers,ac100.yaml19 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 Dac100.txt1 X-Powers AC100 Codec/RTC IC Device Tree bindings
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";

12345678910>>...48