Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 667) sorted by relevance

12345678910>>...27

/freebsd-13.1/sys/dev/sound/pci/
H A Dspicds.c69 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit()
71 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit()
87 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
89 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd()
130 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd()
132 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
135 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
154 codec->lock = snd_mtxcreate(codec->name, codec->name); in spicds_create()
218 spicds_wrcd(codec, AK4524_FORMAT, codec->format); in spicds_init()
219 spicds_wrcd(codec, AK4524_DVC, codec->dvc); in spicds_init()
[all …]
H A Dspicds.h116 void spicds_destroy(struct spicds_info *codec);
117 void spicds_settype(struct spicds_info *codec, unsigned int type);
118 void spicds_setcif(struct spicds_info *codec, unsigned int cif);
119 void spicds_setformat(struct spicds_info *codec, unsigned int format);
120 void spicds_setdvc(struct spicds_info *codec, unsigned int dvc);
121 void spicds_init(struct spicds_info *codec);
122 void spicds_reinit(struct spicds_info *codec);
123 void spicds_set(struct spicds_info *codec, int dir, unsigned int left, unsigned int right);
/freebsd-13.1/sys/dev/sound/pcm/
H A Dac97.c328 return AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
334 AC97_WRITE(codec->methods, codec->devinfo, reg, val); in ac97_wrcd()
611 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 Dac97_patch.c39 void ad1886_patch(struct ac97_info* codec) in ad1886_patch() argument
51 void ad198x_patch(struct ac97_info* codec) in ad198x_patch() argument
53 switch (ac97_getsubvendor(codec)) { in ad198x_patch()
57 ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420); in ad198x_patch()
67 switch (ac97_getsubvendor(codec)) { in ad1981b_patch()
70 ac97_wrcd(codec, AC97_AD_JACK_SPDIF, in ad1981b_patch()
84 switch (ac97_getsubvendor(codec)) { in cmi9739_patch()
88 ac97_wrcd(codec, 0x64, 0x7110); in cmi9739_patch()
100 switch (ac97_getsubvendor(codec)) { in alc655_patch()
105 ac97_wrcd(codec, 0x7a, ac97_rdcd(codec, 0x7a) & 0xfffd); in alc655_patch()
[all …]
H A Dac97.h98 void ac97_destroy(struct ac97_info *codec);
99 void ac97_setflags(struct ac97_info *codec, u_int32_t val);
100 u_int32_t ac97_getflags(struct ac97_info *codec);
101 int ac97_setrate(struct ac97_info *codec, int which, int rate);
102 int ac97_setextmode(struct ac97_info *codec, u_int16_t mode);
103 u_int16_t ac97_getextmode(struct ac97_info *codec);
104 u_int16_t ac97_getextcaps(struct ac97_info *codec);
105 u_int16_t ac97_getcaps(struct ac97_info *codec);
106 u_int32_t ac97_getsubvendor(struct ac97_info *codec);
108 u_int16_t ac97_rdcd(struct ac97_info *codec, int reg);
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/pinctrl/
H A Dcirrus,lochnagar.yaml81 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1,
92 codec-gpio3, codec-gpio4, codec-gpio5, codec-gpio6,
112 codec-pdmdat1, codec-pdmclk2, codec-pdmdat2,
113 codec-dmicclk1, codec-dmicdat1, codec-dmicclk2,
114 codec-dmicdat2, codec-dmicclk3, codec-dmicdat3,
127 codec-gpio3, codec-gpio4, codec-gpio5, codec-gpio6,
138 codec-pdmclk2, codec-pdmdat2, codec-dmicclk1,
139 codec-dmicdat1, codec-dmicclk2, codec-dmicdat2,
140 codec-dmicclk3, codec-dmicdat3, codec-dmicclk4,
150 codec-aif1-txdat, codec-aif2, codec-aif2-bclk,
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/sound/
H A Dallwinner,sun4i-a10-codec.yaml19 - 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:
110 - allwinner,sun8i-h3-codec
234 codec@1c22c00 {
[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
10 - mediatek,headset-codec: the phandles of ts3a227 codecs
11 - mediatek,ec-codec: the phandle of EC codecs.
12 See google,cros-ec-codec.txt for more details.
13 - mediatek,hdmi-codec: the phandles of HDMI codec
19 mediatek,headset-codec = <&ts3a227>;
20 mediatek,ec-codec = <&ec_codec>;
21 mediatek,hdmi-codec = <&it6505dptx>;
H A Dti,j721e-cpb-ivi-audio.yaml55 ti,cpb-codec:
63 ti,ivi-codec-a:
67 ti,ivi-codec-b:
91 - const: cpb-codec-scki
92 - const: cpb-codec-scki-48000
97 - const: ivi-codec-scki
105 - ti,cpb-codec
107 - ti,ivi-codec-a
108 - ti,ivi-codec-b
140 "cpb-codec-scki-48000", "cpb-codec-scki-44100",
[all …]
H A Drockchip-max98090.txt10 - 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 Dingenic,codec.yaml4 $id: http://devicetree.org/schemas/sound/ingenic,codec.yaml#
7 title: Ingenic JZ47xx internal codec DT bindings
14 pattern: '^audio-codec@.*'
18 - const: ingenic,jz4770-codec
19 - const: ingenic,jz4725b-codec
20 - const: ingenic,jz4740-codec
47 codec: audio-codec@10020080 {
48 compatible = "ingenic,jz4740-codec";
H A Dmt8183-da7219-max98357.txt4 - compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec
5 "mediatek,mt8183_da7219_rt1015" for RT1015 codec
6 - mediatek,headset-codec: the phandles of da7219 codecs
10 - mediatek,hdmi-codec: the phandles of HDMI codec
16 mediatek,headset-codec = <&da7219>;
17 mediatek,hdmi-codec = <&it6505dptx>;
H A Daudio-graph-card.txt57 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 Dti,j721e-cpb-audio.yaml13 The audio support on the board is using pcm3168a codec connected to McASP10
42 ti,cpb-codec:
43 description: phandle to the pcm3168a codec used on the CPB
51 - description: SCKI clock for the pcm3168a codec on CPB
60 - const: cpb-codec-scki
61 - const: cpb-codec-scki-48000
62 - const: cpb-codec-scki-44100
68 - ti,cpb-codec
83 ti,cpb-codec = <&pcm3168a_1>;
91 "cpb-codec-scki",
[all …]
H A Dinno-rk3036.txt1 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 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 Dallwinner,sun8i-a23-codec-analog.yaml4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml#
18 # - allwinner,sun8i-a23-codec-analog
19 - allwinner,sun8i-h3-codec-analog
20 - allwinner,sun8i-v3s-codec-analog
33 codec_analog: codec-analog@1f015c0 {
34 compatible = "allwinner,sun8i-h3-codec-analog";
H A Dgoogle,cros-ec-codec.yaml4 $id: http://devicetree.org/schemas/sound/google,cros-ec-codec.yaml#
7 title: Audio codec controlled by ChromeOS EC
13 Google's ChromeOS EC codec is a digital mic codec provided by the
15 An EC codec node should only be found as a sub-node of the EC node (see
20 const: google,cros-ec-codec
60 cros_ec_codec: ec-codec@10500000 {
61 compatible = "google,cros-ec-codec";
H A Drockchip,rk3328-codec.yaml4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml#
7 title: Rockchip rk3328 internal codec
14 const: rockchip,rk3328-codec
21 - description: clock for audio codec
60 codec: codec@ff410000 {
61 compatible = "rockchip,rk3328-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 Drockchip,rk3328-codec.txt1 * Rockchip Rk3328 internal codec
5 - compatible: "rockchip,rk3328-codec"
18 Example for rk3328 internal codec:
20 codec: codec@ff410000 {
21 compatible = "rockchip,rk3328-codec";
H A Ddavinci-evm-audio.txt6 - 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 Dqcom,msm8916-wcd-digital.txt3 ## Bindings for codec core in lpass:
6 - compatible = "qcom,msm8916-wcd-digital-codec";
7 - reg: address space for lpass codec.
13 audio-codec@771c000{
14 compatible = "qcom,msm8916-wcd-digital-codec";
/freebsd-13.1/sys/dev/sound/pci/hda/
H A Dhdacc.c65 #define hdacc_lock(codec) snd_mtxlock((codec)->lock) argument
66 #define hdacc_unlock(codec) snd_mtxunlock((codec)->lock) argument
67 #define hdacc_lockassert(codec) snd_mtxassert((codec)->lock) argument
491 codec->dev = dev; in hdacc_attach()
492 codec->cad = cad; in hdacc_attach()
494 hdacc_lock(codec); in hdacc_attach()
497 hdacc_unlock(codec); in hdacc_attach()
511 codec->fgs = malloc(sizeof(struct hdacc_fg) * codec->fgcnt, in hdacc_attach()
515 hdacc_lock(codec); in hdacc_attach()
599 hdacc_lock(codec); in hdacc_probe_nomatch()
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/mfd/
H A Dac100.txt3 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>>...27