Home
last modified time | relevance | path

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

12345678910>>...41

/freebsd/sys/dev/sound/pci/
H A Dspicds.c56 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()
87 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd()
89 if (codec->type != SPICDS_TYPE_WM8770) { in spicds_wrcd()
[all …]
H A Dspicds.h114 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/sys/dev/sound/pcm/
H A Dac97.c40 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec");
306 ac97_rdcd(struct ac97_info *codec, int reg) in ac97_rdcd() argument
308 if (codec->flags & AC97_F_RDCD_BUG) { in ac97_rdcd()
311 i[0] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
312 i[1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
314 i[j-- & 1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd()
317 return AC97_READ(codec in ac97_rdcd()
321 ac97_wrcd(struct ac97_info * codec,int reg,u_int16_t val) ac97_wrcd() argument
327 ac97_reset(struct ac97_info * codec) ac97_reset() argument
341 ac97_setrate(struct ac97_info * codec,int which,int rate) ac97_setrate() argument
372 ac97_setextmode(struct ac97_info * codec,u_int16_t mode) ac97_setextmode() argument
388 ac97_getextmode(struct ac97_info * codec) ac97_getextmode() argument
394 ac97_getextcaps(struct ac97_info * codec) ac97_getextcaps() argument
400 ac97_getcaps(struct ac97_info * codec) ac97_getcaps() argument
406 ac97_getsubvendor(struct ac97_info * codec) ac97_getsubvendor() argument
412 ac97_setrecsrc(struct ac97_info * codec,int channel) ac97_setrecsrc() argument
428 ac97_setmixer(struct ac97_info * codec,unsigned channel,unsigned left,unsigned right) ac97_setmixer() argument
504 ac97_fix_auxout(struct ac97_info * codec) ac97_fix_auxout() argument
539 ac97_fix_tone(struct ac97_info * codec) ac97_fix_tone() argument
586 ac97_initmixer(struct ac97_info * codec) ac97_initmixer() argument
778 ac97_reinitmixer(struct ac97_info * codec) ac97_reinitmixer() argument
811 struct ac97_info *codec; ac97_create() local
835 ac97_destroy(struct ac97_info * codec) ac97_destroy() argument
844 ac97_setflags(struct ac97_info * codec,u_int32_t val) ac97_setflags() argument
850 ac97_getflags(struct ac97_info * codec) ac97_getflags() argument
856 ad1886_patch(struct ac97_info * codec) ad1886_patch() argument
869 ad198x_patch(struct ac97_info * codec) ad198x_patch() argument
881 ad1981b_patch(struct ac97_info * codec) ad1981b_patch() argument
898 cmi9739_patch(struct ac97_info * codec) cmi9739_patch() argument
916 alc655_patch(struct ac97_info * codec) alc655_patch() argument
947 struct ac97_info *codec; sysctl_hw_snd_ac97_eapd() local
973 ac97_init_sysctl(struct ac97_info * codec) ac97_init_sysctl() argument
998 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_init() local
1092 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_uninit() local
1103 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_reinit() local
1113 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_set() local
1124 struct ac97_info *codec = mix_getdevinfo(m); ac97mix_setrecsrc() local
[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/sound/
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 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 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 {
183 routing = "codec Playback", "DAI0 Playback",
[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 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 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 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 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";
H A Dst,sti-asoc-card.txt4 codec or external codecs.
50 Should be declared depending on associated codec.
98 2) sti-sas-codec: internal audio codec IPs driver
102 - compatible: "st,sti<chip>-sas-codec" .
103 Should be chip "st,stih416-sas-codec" or "st,stih407-sas-codec"
112 sti_sas_codec: sti-sas-codec {
113 compatible = "st,stih407-sas-codec";
133 codec {
144 codec {
160 codec {
H A Damlogic,axg-sound-card.txt42 - 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:
51 Optional codec subnodes properties:
99 codec@0 {
103 codec@1 {
107 codec@2 {
111 codec@3 {
120 codec {
H A Dmt2701-cs42448.txt7 - mediatek,audio-codec: the phandles of cs42448 codec
8 - mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec
37 mediatek,audio-codec = <&cs42448>;
38 mediatek,audio-codec-bt-mrg = <&bt_sco_codec>;
H A Dux500-msp.txt18 stericsson,audio-codec = <&codec>;
39 codec: ab8500-codec {
40 compatible = "stericsson,ab8500-codec";
H A Dsirf-audio-codec.txt5 - compatible : "sirf,atlas6-audio-codec" or "sirf,prima2-audio-codec"
9 - clocks: the clock of SiRF internal audio codec
14 compatible = "sirf,atlas6-audio-codec";
H A Dsirf-audio.txt1 * SiRF atlas6 and prima2 internal audio codec and port based audio setups
6 - sirf,audio-codec: phandle for the SiRF internal codec node
24 SiRF internal audio codec pins:
35 sirf,audio-codec = <&audiocodec>;
/freebsd/sys/dev/sound/pci/hda/
H A Dhdacc.c63 #define hdacc_lock(codec) mtx_lock((codec)->lock) argument
64 #define hdacc_unlock(codec) mtx_unlock((codec)->lock) argument
65 #define hdacc_lockassert(codec) mtx_assert((codec)->lock, MA_OWNED) argument
487 struct hdacc_softc *codec = device_get_softc(dev); in hdacc_attach() local
495 codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev); in hdacc_attach()
496 codec->dev = dev; in hdacc_attach()
497 codec->cad = cad; in hdacc_attach()
499 hdacc_lock(codec); in hdacc_attach()
502 hdacc_unlock(codec); in hdacc_attach()
505 codec->fgcnt = HDA_PARAM_SUB_NODE_COUNT_TOTAL(subnode); in hdacc_attach()
[all …]
/freebsd/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";
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt8188-geralt-ciri-sku5.dts18 /delete-node/ audio-codec@1a;
22 es8326: audio-codec@19 {
56 codec {
62 codec {
68 codec {
/freebsd/lib/libbearssl/
H A DMakefile.libsa.inc17 codec/ccopy.c \
18 codec/dec32be.c \
19 codec/dec64be.c \
20 codec/enc32be.c \
21 codec/enc64be.c \
22 codec/pemdec.c \
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
H A Drk3288-veyron-analog-audio.dtsi4 * codec and analog headphone jack.
16 rockchip,audio-codec = <&max98090>;
19 rockchip,headset-codec = <&headsetcodec>;
20 rockchip,hdmi-codec = <&hdmi>;
75 codec {
85 int_codec: int-codec {

12345678910>>...41