| /dflybsd-src/sys/dev/sound/pci/ |
| H A D | spicds.c | 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() 87 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd() 89 if (codec->type != SPICDS_TYPE_WM8770) { in spicds_wrcd() [all …]
|
| H A D | spicds.h | 114 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 D | envy24.c | 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 620 buff->codec = cfg_table[i].codec; in envy24_rom2cfg() 807 envy24_gpio_i2c_ctl(void *codec, unsigned int scl, unsigned int sda) in envy24_gpio_i2c_ctl() argument 810 struct envy24_delta_ak4524_codec *ptr = codec; in envy24_gpio_i2c_ctl() 823 i2c_wrbit(void *codec, void (*ctrl)(void*, unsigned int, unsigned int), int bit) in i2c_wrbit() argument [all …]
|
| H A D | envy24ht.c | 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 662 buff->codec = cfg_table[i].codec; in envy24ht_rom2cfg() 701 buff->codec = cfg_table[i].codec; in envy24ht_rom2cfg() 896 envy24ht_spi_ctl(void *codec, unsigned int cs, unsigned int cclk, unsigned int cdti) in envy24ht_spi_ctl() argument 899 struct envy24ht_spi_codec *ptr = codec; in envy24ht_spi_ctl() [all …]
|
| H A D | via82c686.c | 86 struct ac97_info *codec; member 325 return ac97_setrate(via->codec, reg, speed); in viachan_setspeed() 544 via->codec = AC97_CREATE(dev, via, via_ac97); in via_attach() 545 if (!via->codec) in via_attach() 548 if (mixer_init(dev, ac97_getmixerclass(), via->codec)) in via_attach() 551 via->codec_caps = ac97_getextcaps(via->codec); in via_attach() 552 ac97_setextmode(via->codec, in via_attach() 602 if (via->codec) ac97_destroy(via->codec); in via_attach()
|
| H A D | ich.c | 189 struct ac97_info *codec; member 472 ch->spd = ((uint64_t)ac97_setrate(sc->codec, ch->spdreg, r) * in ichchan_setspeed() 1004 sc->codec = AC97_CREATE(dev, sc, ich_ac97); in ich_pci_attach() 1005 if (sc->codec == NULL) in ich_pci_attach() 1025 ac97_setflags(sc->codec, ac97_getflags(sc->codec) | AC97_F_EAPD_INV); in ich_pci_attach() 1031 mixer_init(dev, ac97_getmixerclass(), sc->codec); in ich_pci_attach() 1034 extcaps = ac97_getextcaps(sc->codec); in ich_pci_attach() 1038 (ac97_getcaps(sc->codec) & AC97_CAP_MICCHANNEL)) ? 1 : 0; in ich_pci_attach() 1039 ac97_setextmode(sc->codec, sc->hasvra | sc->hasvrm); in ich_pci_attach() 1096 if (sc->codec) in ich_pci_attach() [all …]
|
| H A D | atiixp.c | 120 struct ac97_info *codec; member 1069 sc->codec = AC97_CREATE(sc->dev, sc, atiixp_ac97); in atiixp_chip_post_init() 1070 if (sc->codec == NULL) in atiixp_chip_post_init() 1078 ac97_setflags(sc->codec, ac97_getflags(sc->codec) | in atiixp_chip_post_init() 1085 mixer_init(sc->dev, ac97_getmixerclass(), sc->codec); in atiixp_chip_post_init() 1129 if (sc->codec) { in atiixp_release_resource() 1130 ac97_destroy(sc->codec); in atiixp_release_resource() 1131 sc->codec = NULL; in atiixp_release_resource() 1317 if (sc->codec != NULL) { in atiixp_pci_detach() 1322 sc->codec = NULL; in atiixp_pci_detach()
|
| H A D | fm801.c | 576 struct ac97_info *codec = 0; in fm801_pci_attach() local 617 codec = AC97_CREATE(dev, fm801, fm801_ac97); in fm801_pci_attach() 618 if (codec == NULL) goto oops; in fm801_pci_attach() 620 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto oops; in fm801_pci_attach() 657 if (codec) ac97_destroy(codec); in fm801_pci_attach()
|
| H A D | via8233.c | 113 struct ac97_info *codec; member 479 return (ac97_setrate(via->codec, AC97_REGEXT_LADCRATE, speed)); in via8233wr_setspeed() 511 return (ac97_setrate(via->codec, AC97_REGEXT_FDACRATE, speed)); in via8233msgd_setspeed() 1331 via->codec = AC97_CREATE(dev, via, via_ac97); in via_attach() 1332 if (!via->codec) in via_attach() 1335 mixer_init(dev, ac97_getmixerclass(), via->codec); in via_attach() 1337 via->codec_caps = ac97_getextcaps(via->codec); in via_attach() 1342 uint16_t ext = ac97_getextmode(via->codec); in via_attach() 1346 ac97_setextmode(via->codec, ext); in via_attach() 1372 if (via->codec) in via_attach() [all …]
|
| H A D | neomagic.c | 667 struct ac97_info *codec = 0; in nm_pci_attach() local 693 codec = AC97_CREATE(dev, sc, nm_ac97); in nm_pci_attach() 694 if (codec == NULL) goto bad; in nm_pci_attach() 695 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad; in nm_pci_attach() 717 if (codec) ac97_destroy(codec); in nm_pci_attach()
|
| H A D | cs4281.c | 762 struct ac97_info *codec = NULL; in cs4281_pci_attach() local 840 codec = AC97_CREATE(dev, sc, cs4281_ac97); in cs4281_pci_attach() 841 if (codec == NULL) in cs4281_pci_attach() 844 mixer_init(dev, ac97_getmixerclass(), codec); in cs4281_pci_attach() 860 if (codec) in cs4281_pci_attach() 861 ac97_destroy(codec); in cs4281_pci_attach()
|
| H A D | emu10kx-pcm.c | 104 struct ac97_info *codec; member 213 if ((sc->ac97_mixerclass != NULL) && (sc->codec != NULL)) { in emu_dspmixer_init() 214 sc->sm = mixer_create(sc->dev, sc->ac97_mixerclass, sc->codec, "ac97"); in emu_dspmixer_init() 1364 sc->codec = NULL; in emu_pcm_attach() 1393 sc->codec = AC97_CREATE(dev, sc, emu_ac97); in emu_pcm_attach() 1395 sc->codec = AC97_CREATE(dev, sc, emu_eac97); in emu_pcm_attach() 1397 if (sc->codec != NULL) in emu_pcm_attach() 1489 if (sc->codec) in emu_pcm_attach() 1490 ac97_destroy(sc->codec); in emu_pcm_attach()
|
| H A D | t4dwave.c | 831 struct ac97_info *codec = 0; in tr_pci_attach() local 880 codec = AC97_CREATE(dev, tr, tr_ac97); in tr_pci_attach() 881 if (codec == NULL) goto bad; in tr_pci_attach() 882 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad; in tr_pci_attach() 938 if (codec) ac97_destroy(codec); in tr_pci_attach()
|
| H A D | aureal.c | 561 struct ac97_info *codec; in au_pci_attach() local 632 codec = AC97_CREATE(dev, au, au_ac97); in au_pci_attach() 633 if (codec == NULL) goto bad; in au_pci_attach() 634 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad; in au_pci_attach()
|
| H A D | maestro.c | 167 struct ac97_info *codec; member 1783 struct ac97_info *codec = NULL; in agg_attach() local 1888 codec = AC97_CREATE(dev, ess, agg_ac97); in agg_attach() 1889 if (codec == NULL) { in agg_attach() 1894 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) { in agg_attach() 1899 ess->codec = codec; in agg_attach() 1923 if (codec != NULL) in agg_attach() 1924 ac97_destroy(codec); in agg_attach()
|
| H A D | emu10k1.c | 2075 struct ac97_info *codec = NULL; in emu_pci_attach() local 2119 codec = AC97_CREATE(dev, sc, emu_ac97); in emu_pci_attach() 2120 if (codec == NULL) goto bad; in emu_pci_attach() 2121 gotmic = (ac97_getcaps(codec) & AC97_CAP_MICCHANNEL) ? 1 : 0; in emu_pci_attach() 2122 if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad; in emu_pci_attach() 2150 if (codec) ac97_destroy(codec); in emu_pci_attach()
|
| H A D | es137x.c | 1710 struct ac97_info *codec = NULL; in es_pci_attach() local 1810 codec = AC97_CREATE(dev, es, es1371_ac97); in es_pci_attach() 1811 if (codec == NULL) in es_pci_attach() 1816 if (mixer_init(dev, ac97_getmixerclass(), codec)) in es_pci_attach() 1886 if (codec) in es_pci_attach() 1887 ac97_destroy(codec); in es_pci_attach()
|
| /dflybsd-src/sys/dev/sound/pcm/ |
| H A D | ac97.c | 309 ac97_rdcd(struct ac97_info *codec, int reg) in ac97_rdcd() argument 311 if (codec->flags & AC97_F_RDCD_BUG) { in ac97_rdcd() 314 i[0] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 315 i[1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 317 i[j-- & 1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 320 device_printf(codec->dev, "%s(): Inconsistent register value at" in ac97_rdcd() 326 return AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 330 ac97_wrcd(struct ac97_info *codec, int reg, u_int16_t val) in ac97_wrcd() argument 332 AC97_WRITE(codec->methods, codec->devinfo, reg, val); in ac97_wrcd() 336 ac97_reset(struct ac97_info *codec) in ac97_reset() argument [all …]
|
| H A D | ac97_patch.c | 37 void ad1886_patch(struct ac97_info* codec) in ad1886_patch() argument 46 ac97_wrcd(codec, AC97_AD_JACK_SPDIF, 0x0010); in ad1886_patch() 49 void ad198x_patch(struct ac97_info* codec) in ad198x_patch() argument 51 switch (ac97_getsubvendor(codec)) { in ad198x_patch() 55 ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420); in ad198x_patch() 60 void ad1981b_patch(struct ac97_info* codec) in ad1981b_patch() argument 65 switch (ac97_getsubvendor(codec)) { in ad1981b_patch() 68 ac97_wrcd(codec, AC97_AD_JACK_SPDIF, in ad1981b_patch() 69 ac97_rdcd(codec, AC97_AD_JACK_SPDIF) | 0x0800); in ad1981b_patch() 76 void cmi9739_patch(struct ac97_info* codec) in cmi9739_patch() argument [all …]
|
| H A D | ac97.h | 96 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 …]
|
| /dflybsd-src/sys/dev/sound/pci/hda/ |
| H A D | hdacc.c | 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 66 #define hdacc_lockowned(codec) mtx_owned((codec)->lock) argument 407 struct hdacc_softc *codec = device_get_softc(dev); in hdacc_attach() local 415 codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev); in hdacc_attach() 416 codec->dev = dev; in hdacc_attach() 417 codec->cad = cad; in hdacc_attach() 419 hdacc_lock(codec); in hdacc_attach() 422 hdacc_unlock(codec); in hdacc_attach() [all …]
|
| /dflybsd-src/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_7zip.c | 122 unsigned long codec; member 260 unsigned long codec; member 673 switch(folder->coders[fidx].codec) { in archive_read_format_7zip_read_header() 1023 zip->codec = coder1->codec; in init_decompression() 1026 switch (zip->codec) { in init_decompression() 1032 if (coder2->codec != _7Z_X86 && in init_decompression() 1033 coder2->codec != _7Z_X86_BCJ2) { in init_decompression() 1037 coder2->codec, coder1->codec); in init_decompression() 1040 zip->codec2 = coder2->codec; in init_decompression() 1042 if (coder2->codec == _7Z_X86) in init_decompression() [all …]
|
| /dflybsd-src/test/stress/stress2/misc/ |
| H A D | ldt2.sh | 68 - Fetch a clip for a win32 codec: 83 the i386 codec, so you have to build mplayer your self with option
|
| /dflybsd-src/contrib/file/magic/Magdir/ |
| H A D | msx | 111 >>>>>>7 ubyte x \b, codec=%d RGB color palettes 112 >>>>>6 ubyte 64 \b, codec=RGB fixed color 113 >>>>>6 ubyte 128 \b, codec=YJK 114 >>>>>6 ubyte 192 \b, codec=YUV 115 >>>>5 ubyte >8 codec=RGB fixed color
|
| H A D | riff | 9 # https://www.iana.org/assignments/wave-avi-codec-registry/wave-avi-codec-registry.xml 229 # WAVE/AVI codec registry: https://www.iana.org/assignments/wave-avi-codec-registry/wave-avi-codec-… 362 # https://www.iana.org/assignments/wave-avi-codec-registry/wave-avi-codec-registry.xml
|