Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd-12.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);
H A Denvy24.c100 void (*destroy)(void *codec);
101 void (*init)(void *codec);
102 void (*reinit)(void *codec);
115 struct codec_entry *codec; member
622 buff->codec = cfg_table[i].codec; in envy24_rom2cfg()
963 envy24_delta_ak4524_destroy(void *codec) in envy24_delta_ak4524_destroy() argument
981 free(codec, M_ENVY24); in envy24_delta_ak4524_destroy()
985 envy24_delta_ak4524_init(void *codec) in envy24_delta_ak4524_init() argument
1040 envy24_delta_ak4524_reinit(void *codec) in envy24_delta_ak4524_reinit() argument
2445 sc->cfg->codec->init(sc->adc[i]); in envy24_init()
[all …]
H A Denvy24ht.c109 void (*destroy)(void *codec);
110 void (*init)(void *codec);
111 void (*reinit)(void *codec);
124 struct codec_entry *codec; member
664 buff->codec = cfg_table[i].codec; in envy24ht_rom2cfg()
703 buff->codec = cfg_table[i].codec; in envy24ht_rom2cfg()
948 envy24ht_spi_destroy(void *codec) in envy24ht_spi_destroy() argument
966 free(codec, M_ENVY24HT); in envy24ht_spi_destroy()
970 envy24ht_spi_init(void *codec) in envy24ht_spi_init() argument
996 envy24ht_spi_reinit(void *codec) in envy24ht_spi_reinit() argument
[all …]
H A Dvia82c686.c88 struct ac97_info *codec; member
327 return ac97_setrate(via->codec, reg, speed); in viachan_setspeed()
546 via->codec = AC97_CREATE(dev, via, via_ac97); in via_attach()
547 if (!via->codec) in via_attach()
550 if (mixer_init(dev, ac97_getmixerclass(), via->codec)) in via_attach()
553 via->codec_caps = ac97_getextcaps(via->codec); in via_attach()
554 ac97_setextmode(via->codec, in via_attach()
606 if (via->codec) ac97_destroy(via->codec); in via_attach()
/freebsd-12.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()
923 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-12.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
68 #define hdacc_lockowned(codec) mtx_owned((codec)->lock) argument
466 codec->dev = dev; in hdacc_attach()
467 codec->cad = cad; in hdacc_attach()
469 hdacc_lock(codec); in hdacc_attach()
472 hdacc_unlock(codec); in hdacc_attach()
486 codec->fgs = malloc(sizeof(struct hdacc_fg) * codec->fgcnt, in hdacc_attach()
490 hdacc_lock(codec); in hdacc_attach()
[all …]
/freebsd-12.1/lib/libbearssl/
H A DMakefile.libsa.inc19 codec/ccopy.c \
20 codec/dec32be.c \
21 codec/dec64be.c \
22 codec/enc32be.c \
23 codec/enc64be.c \
24 codec/pemdec.c \
H A DMakefile13 codec/dec16be.c \
14 codec/dec16le.c \
15 codec/dec32le.c \
16 codec/dec64le.c \
17 codec/enc16be.c \
18 codec/enc16le.c \
19 codec/enc32le.c \
20 codec/enc64le.c \
21 codec/pemenc.c \
/freebsd-12.1/sys/gnu/dts/arm/
H A Drk3288-veyron-analog-audio.dtsi4 * codec and analog headphone jack.
16 rockchip,audio-codec = <&max98090>;
19 rockchip,headset-codec = <&headsetcodec>;
74 codec {
84 int_codec: int-codec {
H A Dexynos5250-snow.dts20 samsung,audio-codec = <&max98095>;
26 codec {
33 max98095: codec@11 {
H A Dexynos5250-snow-rev5.dts22 samsung,audio-codec = <&max98090>;
28 codec {
35 max98090: codec@10 {
H A Dsun8i-a23.dtsi49 codec: codec@1c22c00 { label
51 compatible = "allwinner,sun8i-a23-codec";
55 clock-names = "apb", "codec";
59 allwinner,codec-analog-controls = <&codec_analog>;
H A Dam3517-evm-ui.dtsi36 sound_master: simple-audio-card,codec {
66 sound_master2: simple-audio-card,codec {
140 tlv320aic23_1: codec@1a {
147 tlv320aic23_2: codec@1b {
157 tlv320aic23_3: codec@1a {
H A Dstihxxx-b2120.dtsi42 codec {
57 codec {
71 codec {
202 sti_sasg_codec: sti-sasg-codec {
H A Dimx27-eukrea-mbimxsd27-baseboard.dts111 codec: codec@1a { label
137 codec-handle = <&codec>;
H A Dimx6q-dhcom-pdk2.dts19 clk_ext_audio_codec: clock-codec {
29 audio-codec = <&sgtl5000>;
52 sgtl5000: codec@a {
/freebsd-12.1/sys/gnu/dts/arm64/amlogic/
H A Dmeson-axg-s400.dts63 linein: audio-codec-0 {
73 lineout: audio-codec-1 {
82 spdif_dit: audio-codec-2 {
89 dmics: audio-codec-3 {
98 spdif_dir: audio-codec-4 {
316 codec@0 {
320 codec@1 {
324 codec@2 {
333 codec {
341 codec {
[all …]
/freebsd-12.1/sys/gnu/dts/arm64/freescale/
H A Dfsl-ls1012a-oxalis.dts52 simple-audio-card,codec {
53 sound-dai = <&codec>;
76 codec: audio-codec@a { label
H A Dfsl-ls1012a-frdm.dts51 simple-audio-card,codec {
52 sound-dai = <&codec>;
67 codec: sgtl5000@a { label
H A Dfsl-ls1012a-qds.dts51 simple-audio-card,codec {
52 sound-dai = <&codec>;
119 codec: sgtl5000@a { label
/freebsd-12.1/sys/gnu/dts/arm64/rockchip/
H A Drk3399-puma-haikou.dts30 simple-audio-card,name = "Haikou,I2S-codec";
33 simple-audio-card,codec {
90 vdda_codec: vdda-codec {
99 vddd_codec: vddd-codec {
134 sgtl5000: codec@a {
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c122 unsigned long codec; member
260 unsigned long codec; member
1003 zip->codec = coder1->codec; in init_decompression()
1006 switch (zip->codec) { in init_decompression()
1017 coder2->codec, coder1->codec); in init_decompression()
1020 zip->codec2 = coder2->codec; in init_decompression()
1022 if (coder2->codec == _7Z_X86) in init_decompression()
1030 switch (zip->codec) { in init_decompression()
1072 zip->codec2 = coder2->codec; in init_decompression()
1125 if (zip->codec == _7Z_LZMA2) in init_decompression()
[all …]

12345678910>>...14