Searched refs:codec (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-current/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) argument
59 if (codec->cif)
67 codec->ctrl(codec->devinfo, cs, 0, cdti);
69 codec->ctrl(codec->devinfo, cs, 1, cdti);
76 spicds_wrcd(struct spicds_info *codec, int reg, u_int16_t val) argument
81 device_printf(codec
142 struct spicds_info *codec; local
166 spicds_destroy(struct spicds_info *codec) argument
173 spicds_settype(struct spicds_info *codec, unsigned int type) argument
181 spicds_setcif(struct spicds_info *codec, unsigned int cif) argument
189 spicds_setformat(struct spicds_info *codec, unsigned int format) argument
197 spicds_setdvc(struct spicds_info *codec, unsigned int dvc) argument
205 spicds_init(struct spicds_info *codec) argument
251 spicds_reinit(struct spicds_info *codec) argument
272 spicds_set(struct spicds_info *codec, int dir, unsigned int left, unsigned int right) argument
[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);
H A Denvy24.c95 /* codec interface entrys */
98 void (*destroy)(void *codec);
99 void (*init)(void *codec);
100 void (*reinit)(void *codec);
101 void (*setvolume)(void *codec, int dir, unsigned int left, unsigned int right);
102 void (*setrate)(void *codec, int which, int rate);
113 struct codec_entry *codec; member in struct:cfg_info
238 -1, /* Master output level. It is depend on codec support */
248 1, /* alternative codec */
361 &delta_codec, /* default codec routine
807 envy24_gpio_i2c_ctl(void *codec, unsigned int scl, unsigned int sda) argument
823 i2c_wrbit(void *codec, void (*ctrl)(void*, unsigned int, unsigned int), int bit) argument
842 i2c_start(void *codec, void (*ctrl)(void*, unsigned int, unsigned int)) argument
855 i2c_stop(void *codec, void (*ctrl)(void*, unsigned int, unsigned int)) argument
868 i2c_ack(void *codec, void (*ctrl)(void*, unsigned int, unsigned int)) argument
882 i2c_wr(void *codec, void (*ctrl)(void*, unsigned int, unsigned int), u_int32_t dev, int reg, u_int8_t val) argument
911 envy24_delta_ak4524_ctl(void *codec, unsigned int cs, unsigned int cclk, unsigned int cdti) argument
961 envy24_delta_ak4524_destroy(void *codec) argument
983 envy24_delta_ak4524_init(void *codec) argument
1038 envy24_delta_ak4524_reinit(void *codec) argument
1051 envy24_delta_ak4524_setvolume(void *codec, int dir, unsigned int left, unsigned int right) argument
[all...]
H A Dvia82c686.c86 struct ac97_info *codec; member in struct:via_info
147 /* poll until codec not busy */
152 printf("via: codec busy\n");
164 /* poll until codec valid */
169 printf("via: codec invalid\n");
315 * If the codec supports variable-rate audio (i.e. does the upsampling
316 * itself), then negotiate the rate with the codec. Otherwise,
321 return ac97_setrate(via->codec, reg, speed);
503 /* Wait for codec to become ready (largest reported delay here 310ms) */
534 via->codec
[all...]
H A Denvy24ht.c104 /* codec interface entrys */
107 void (*destroy)(void *codec);
108 void (*init)(void *codec);
109 void (*reinit)(void *codec);
110 void (*setvolume)(void *codec, int dir, unsigned int left, unsigned int right);
111 void (*setrate)(void *codec, int which, int rate);
122 struct codec_entry *codec; member in struct:cfg_info
207 /* SPI codec access interface */
237 -1, /* Master output level. It is depend on codec support */
247 1, /* alternative codec */
896 envy24ht_spi_ctl(void *codec, unsigned int cs, unsigned int cclk, unsigned int cdti) argument
946 envy24ht_spi_destroy(void *codec) argument
968 envy24ht_spi_init(void *codec) argument
994 envy24ht_spi_reinit(void *codec) argument
1007 envy24ht_spi_setvolume(void *codec, int dir, unsigned int left, unsigned int right) argument
[all...]
H A Dich.c189 struct ac97_info *codec; member in struct:sc_info
244 /* ac97 codec */
472 ch->spd = ((uint64_t)ac97_setrate(sc->codec, ch->spdreg, r) *
703 * function of the ac97 codec initialization code (to be investigated).
842 device_printf(sc->dev, "primary codec not ready!\n");
920 * the primary codec becoming ready in ich_init().
1004 sc->codec = AC97_CREATE(dev, sc, ich_ac97);
1005 if (sc->codec == NULL)
1025 ac97_setflags(sc->codec, ac97_getflags(sc->codec) | AC97_F_EAPD_IN
[all...]
H A Dfm801.c205 * ac97 codec routines
219 printf("fm801 rdcd: codec busy\n");
231 printf("fm801 rdcd: write codec invalid\n");
248 /* Poll until codec is ready */
254 printf("fm801 wrcd: read codec busy\n");
261 /* wait until codec is ready */
267 printf("fm801 wrcd: read codec busy\n");
543 /* reset codec */
572 struct ac97_info *codec = NULL; local
613 codec
[all...]
H A Dvia8233.c113 struct ac97_info *codec; member in struct:via_info
313 /* poll until codec not busy */
319 device_printf(via->dev, "%s: codec busy\n", __func__);
328 /* poll until codec valid */
334 device_printf(via->dev, "%s: codec invalid\n", __func__);
478 return (ac97_setrate(via->codec, AC97_REGEXT_LADCRATE, speed));
510 return (ac97_setrate(via->codec, AC97_REGEXT_FDACRATE, speed));
1152 /* Wait for codec to become ready (largest reported delay 310ms) */
1159 device_printf(dev, "primary codec not ready (cnt = 0x%02x)\n", cnt);
1332 via->codec
[all...]
H A Datiixp.c120 struct ac97_info *codec; member in struct:atiixp_info
402 device_printf(sc->dev, "codec read timeout! (reg 0x%x)\n", reg);
1034 "WARNING: timeout during codec detection; "
1043 * ATI IXP can have upto 3 codecs, but single codec should be
1047 /* codec 0 present */
1054 /* codec 1 present */
1059 /* codec 2 present */
1069 sc->codec = AC97_CREATE(sc->dev, sc, atiixp_ac97);
1070 if (sc->codec == NULL)
1078 ac97_setflags(sc->codec, ac97_getflag
[all...]
H A Dcsapcm.c137 /* ac97 codec */
778 struct ac97_info *codec; local
808 codec = AC97_CREATE(dev, csa, csa_ac97);
809 if (codec == NULL) {
814 ac97_setflags(codec, AC97_F_EAPD_INV);
815 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) {
816 ac97_destroy(codec);
827 ac97_destroy(codec);
836 ac97_destroy(codec);
886 * And power down everything on the AC97 codec
[all...]
H A Dt4dwave.c176 /* ac97 codec */
233 if (i == 0) printf("codec timeout during read of register %x\n", regno);
294 if (i==0) printf("codec timeout writing %x, data %x\n", regno, data);
825 struct ac97_info *codec = NULL; local
874 codec = AC97_CREATE(dev, tr, tr_ac97);
875 if (codec == NULL) goto bad;
876 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad;
934 if (codec) ac97_destroy(codec);
H A Dneomagic.c206 /* ac97 codec */
256 device_printf(sc->dev, "ac97 codec not ready\n");
276 device_printf(sc->dev, "ac97 codec not ready\n");
667 struct ac97_info *codec = NULL; local
693 codec = AC97_CREATE(dev, sc, nm_ac97);
694 if (codec == NULL) goto bad;
695 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad;
718 if (codec) ac97_destroy(codec);
H A Dcs4281.c252 /* ac97 codec */
546 /* Power off card and codec */
609 device_printf(sc->dev, "codec did not avail\n");
614 * AC97 codec */
619 /* (9) Wait for codec calibration */
628 device_printf(sc->dev, "codec failed to calibrate\n");
644 /* (12) Start digital data transfer of audio data to codec */
758 struct ac97_info *codec = NULL; local
836 codec = AC97_CREATE(dev, sc, cs4281_ac97);
837 if (codec
[all...]
H A Demu10kx-pcm.c106 struct ac97_info *codec; member in struct:emu_pcm_info
213 /* create submixer for AC97 codec */
214 if ((sc->ac97_mixerclass != NULL) && (sc->codec != NULL)) {
215 sc->sm = mixer_create(sc->dev, sc->ac97_mixerclass, sc->codec, "ac97");
260 /* drop submixer for AC97 codec */
287 to AC97 codec). Calculate it manually. */
408 /* Recording from AC97 codec.
508 * Some parts of AC97 codec are not used by hardware, but can be used
601 * in mixer). There is no 'playback' from AC97 codec -
652 /* real ac97 codec */
[all...]
/freebsd-current/sys/dev/sound/pcm/
H A Dac97_patch.c37 void ad1886_patch(struct ac97_info* codec) argument
46 ac97_wrcd(codec, AC97_AD_JACK_SPDIF, 0x0010);
49 void ad198x_patch(struct ac97_info* codec) argument
51 switch (ac97_getsubvendor(codec)) {
55 ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420);
60 void ad1981b_patch(struct ac97_info* codec) argument
65 switch (ac97_getsubvendor(codec)) {
68 ac97_wrcd(codec, AC97_AD_JACK_SPDIF,
69 ac97_rdcd(codec, AC97_AD_JACK_SPDI
76 cmi9739_patch(struct ac97_info* codec) argument
93 alc655_patch(struct ac97_info* codec) argument
[all...]
H A Dac97.c41 static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec");
235 * XXX This is a fluke, really! The real codec
309 ac97_rdcd(struct ac97_info *codec, int reg) argument
311 if (codec->flags & AC97_F_RDCD_BUG) {
314 i[0] = AC97_READ(codec->methods, codec->devinfo, reg);
315 i[1] = AC97_READ(codec->methods, codec->devinfo, reg);
317 i[j-- & 1] = AC97_READ(codec->methods, codec
330 ac97_wrcd(struct ac97_info *codec, int reg, u_int16_t val) argument
336 ac97_reset(struct ac97_info *codec) argument
350 ac97_setrate(struct ac97_info *codec, int which, int rate) argument
381 ac97_setextmode(struct ac97_info *codec, u_int16_t mode) argument
397 ac97_getextmode(struct ac97_info *codec) argument
403 ac97_getextcaps(struct ac97_info *codec) argument
409 ac97_getcaps(struct ac97_info *codec) argument
415 ac97_getsubvendor(struct ac97_info *codec) argument
421 ac97_setrecsrc(struct ac97_info *codec, int channel) argument
437 ac97_setmixer(struct ac97_info *codec, unsigned channel, unsigned left, unsigned right) argument
516 ac97_fix_auxout(struct ac97_info *codec) argument
551 ac97_fix_tone(struct ac97_info *codec) argument
598 ac97_initmixer(struct ac97_info *codec) argument
797 ac97_reinitmixer(struct ac97_info *codec) argument
830 struct ac97_info *codec; local
854 ac97_destroy(struct ac97_info *codec) argument
864 ac97_setflags(struct ac97_info *codec, u_int32_t val) argument
870 ac97_getflags(struct ac97_info *codec) argument
880 struct ac97_info *codec; local
906 ac97_init_sysctl(struct ac97_info *codec) argument
924 codec, sizeof(codec), sysctl_hw_snd_ac97_eapd, local
931 struct ac97_info *codec = mix_getdevinfo(m); local
1032 struct ac97_info *codec = mix_getdevinfo(m); local
1047 struct ac97_info *codec = mix_getdevinfo(m); local
1057 struct ac97_info *codec = mix_getdevinfo(m); local
1068 struct ac97_info *codec = mix_getdevinfo(m); 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, in
[all...]
/freebsd-current/lib/libbearssl/
H A DMakefile.libsa.inc18 codec/ccopy.c \
19 codec/dec32be.c \
20 codec/dec64be.c \
21 codec/enc32be.c \
22 codec/enc64be.c \
23 codec/pemdec.c \
H A DMakefile12 codec/dec16be.c \
13 codec/dec16le.c \
14 codec/dec32le.c \
15 codec/dec64le.c \
16 codec/enc16be.c \
17 codec/enc16le.c \
18 codec/enc32le.c \
19 codec/enc64le.c \
20 codec/pemenc.c \
/freebsd-current/sys/dev/sound/pci/hda/
H A Dhdacc.c63 #define hdacc_lock(codec) snd_mtxlock((codec)->lock)
64 #define hdacc_unlock(codec) snd_mtxunlock((codec)->lock)
65 #define hdacc_lockassert(codec) snd_mtxassert((codec)->lock)
483 struct hdacc_softc *codec = device_get_softc(dev); local
491 codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev);
492 codec->dev = dev;
493 codec
539 struct hdacc_softc *codec = device_get_softc(dev); local
583 struct hdacc_softc *codec = device_get_softc(dev); local
631 struct hdacc_softc *codec = device_get_softc(dev); local
647 struct hdacc_softc *codec = device_get_softc(dev); local
660 struct hdacc_softc *codec = device_get_softc(dev); local
699 struct hdacc_softc *codec = device_get_softc(dev); local
709 struct hdacc_softc *codec = device_get_softc(dev); local
729 struct hdacc_softc *codec = device_get_softc(dev); local
739 struct hdacc_softc *codec = device_get_softc(dev); local
[all...]
/freebsd-current/usr.bin/bintrans/
H A Dqp.c141 void (*codec)(const char *line, FILE *f);
143 codec = encode ? encode_quoted_printable : decode_quoted_printable ;
146 codec(line, fpo);
/freebsd-current/usr.sbin/bhyve/
H A Dpci_hda.c151 struct hda_codec_class *codec, const char *play, const char *rec);
317 struct hda_codec_class *codec = NULL; local
335 * For now we play with one single codec
337 codec = hda_find_codec_class("hda_codec");
338 if (codec) {
351 err = hda_codec_constructor(sc, codec, play, rec);
426 hda_codec_constructor(struct hda_softc *sc, struct hda_codec_class *codec, argument
441 hci->codec = codec;
445 if (!codec
472 struct hda_codec_class *codec = NULL; local
499 struct hda_codec_class *codec = NULL; local
526 struct hda_codec_class *codec = NULL; local
[all...]
H A Dpci_hda.h66 struct hda_codec_class *codec; member in struct:hda_codec_inst
/freebsd-current/tools/test/stress2/misc/
H A Dldt2.sh30 # processes on amd64 by running wine and mplayer with a 32 bit codec.
67 - Fetch a clip for a win32 codec:
80 the i386 codec, so you have to build mplayer your self with option
81 "Enable win32 codec set on the IA32 arch".
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c151 unsigned long codec; member in struct:_7z_folder::_7z_coder
288 /* The codec information of a folder. */
289 unsigned long codec; member in struct:_7zip
705 has a coder with a _7Z_CRYPTO codec then the folder is encrypted.
710 switch(folder->coders[fidx].codec) {
1091 zip->codec = coder1->codec;
1094 switch (zip->codec) {
1101 if (coder2->codec != _7Z_X86 &&
1102 coder2->codec !
[all...]

Completed in 306 milliseconds

12