Home
last modified time | relevance | path

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

12345678910>>...52

/freebsd/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->dev, "spicds_wrcd(codec, 0x%02x, 0x%02x)\n", reg, val); in spicds_wrcd()
84 if (codec->cif) in spicds_wrcd()
85 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
[all …]
/freebsd/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() argument
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->devinfo, reg); in ac97_rdcd()
327 return AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
331 ac97_wrcd(struct ac97_info *codec, int reg, u_int16_t val) in ac97_wrcd() argument
333 AC97_WRITE(codec->methods, codec->devinfo, reg, val); in ac97_wrcd()
[all …]
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/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/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
[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 Dmt8195-mt6359.yaml35 power supplies, MicBias of codec and the software switch.
60 mediatek,dptx-codec:
62 description: The phandle of MT8195 Display Port Tx codec node.
65 mediatek,hdmi-codec:
67 description: The phandle of MT8195 HDMI codec node.
85 Container for dai-link level properties and CODEC sub-nodes.
99 codec:
100 description: Holds subnode which indicates codec dai.
117 enum: [ cpu, codec ]
135 mediatek,dptx-codec: false
[all …]
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 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 Dmt8192-mt6359-rt1015-rt5682.yaml32 power supplies, MicBias of codec and the software switch.
55 mediatek,hdmi-codec:
57 description: The phandle of HDMI codec.
60 headset-codec:
91 Container for dai-link level properties and CODEC sub-nodes.
109 codec:
110 description: Holds subnode which indicates codec dai.
127 enum: [ cpu, codec ]
145 headset-codec: false
147 mediatek,hdmi-codec: false
[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 Dqcom,wcd939x.yaml7 title: Qualcomm WCD9380/WCD9385 Audio Codec
13 Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC.
17 The Audio Headphone and Microphone data path between the Codec and the USB-C Mux
28 - const: qcom,wcd9390-codec
30 - const: qcom,wcd9395-codec
31 - const: qcom,wcd9390-codec
44 A port node to link the WCD939x Codec node to USB MUX subsystems for the
56 codec {
57 compatible = "qcom,wcd9390-codec";
78 wcd939x_rx: codec@0,4 {
[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 Dmt8186-mt6366-da7219-max98357.yaml30 power supplies, MicBias of codec and the software switch.
52 headset-codec:
69 - description: phandle of dp codec
70 - description: phandle of l channel speaker codec
71 - description: phandle of r channel speaker codec
91 Container for dai-link level properties and CODEC sub-nodes.
103 codec:
104 description: Holds subnode which indicates codec dai.
130 - codec
148 headset-codec: false
[all …]
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 Dmt8186-mt6366-rt1019-rt5682s.yaml32 power supplies, MicBias of codec and the software switch.
64 headset-codec:
81 - description: phandle of dp codec
82 - description: phandle of l channel speaker codec
83 - description: phandle of r channel speaker codec
103 Container for dai-link level properties and CODEC sub-nodes.
110 codec:
111 description: Holds subnode which indicates codec dai.
128 enum: [ cpu, codec ]
146 headset-codec: false
[all …]
H A Dqcom,wcd937x.yaml7 title: Qualcomm WCD9370/WCD9375 Audio Codec
13 Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC.
23 - const: qcom,wcd9370-codec
25 - const: qcom,wcd9375-codec
26 - const: qcom,wcd9370-codec
40 codec {
41 compatible = "qcom,wcd9370-codec";
65 wcd937x_rx: codec@0,4 {
76 wcd937x_tx: codec@0,3 {
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";
/freebsd/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 = device_get_softc(dev); in hdacc_attach() local
493 codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev); in hdacc_attach()
494 codec->dev = dev; in hdacc_attach()
495 codec->cad = cad; in hdacc_attach()
[all …]
/freebsd/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>>...52