Lines Matching full:pcm
46 #include <dev/sound/pcm/sound.h>
47 #include <dev/sound/pcm/ac97.h>
63 struct emu_pcm_info *pcm; member
81 struct emu_pcm_info *pcm; member
166 static uint32_t emu_pcm_intr(void *pcm, uint32_t stat);
285 /* In emu10k1 case PCM volume does not affect in emu_dspmixer_set()
511 * - pcm volume controls FX[0|1]_FRONT_[R|L]
592 case AC97_MIX_PCM: /* PCM OUT VOL */ in emu_ac97_write_emulation()
596 data = 0x8000; /* Mute AC97 PCM out */ in emu_ac97_write_emulation()
600 * PCM recording source is set to "stereo mix" (labeled "vol" in emu_ac97_write_emulation()
719 ch->pcm = sc; in emupchan_init()
739 struct emu_pcm_info *sc = ch->pcm; in emupchan_free()
770 struct emu_pcm_info *sc = ch->pcm; in emupchan_setblocksize()
772 if (blocksize > ch->pcm->bufsz) in emupchan_setblocksize()
773 blocksize = ch->pcm->bufsz; in emupchan_setblocksize()
785 struct emu_pcm_info *sc = ch->pcm; in emupchan_trigger()
801 /* PCM interrupt handler will handle PCMTRIG_STOP event */ in emupchan_trigger()
812 struct emu_pcm_info *sc = ch->pcm; in emupchan_getptr()
824 struct emu_pcm_info *sc = ch->pcm; in emupchan_getcaps()
865 ch->pcm = sc; in emurchan_init()
891 struct emu_pcm_info *sc = ch->pcm; in emurchan_free()
911 if (ch->pcm->is_emu10k1) { in emurchan_setspeed()
924 struct emu_pcm_info *sc = ch->pcm; in emurchan_setblocksize()
932 if (ch->blksz < (ch->pcm->bufsz / 2)) { in emurchan_setblocksize()
945 struct emu_pcm_info *sc = ch->pcm; in emurchan_trigger()
1009 struct emu_pcm_info *sc = ch->pcm; in emurchan_getptr()
1055 ch->pcm = sc; in emufxrchan_init()
1096 if (ch->blksz < (ch->pcm->bufsz / 2)) in emufxrchan_setblocksize()
1097 ch->blksz = ch->pcm->bufsz / 2; in emufxrchan_setblocksize()
1105 struct emu_pcm_info *sc = ch->pcm; in emufxrchan_trigger()
1179 struct emu_pcm_info *sc = ch->pcm; in emufxrchan_getptr()
1191 struct emu_pcm_info *sc = ch->pcm; in emufxrchan_getcaps()
1203 struct emu_pcm_info *sc = ch->pcm; in emufxrchan_getrates()
1227 emu_pcm_intr(void *pcm, uint32_t stat) in emu_pcm_intr() argument
1229 struct emu_pcm_info *sc = (struct emu_pcm_info *)pcm; in emu_pcm_intr()
1329 device_set_descf(dev, "EMU10Kx DSP %s PCM interface", rt); in emu_pcm_probe()
1350 sc->lock = snd_mtxcreate(device_get_nameunit(dev), "snd_emu10kx pcm softc"); in emu_pcm_attach()
1451 device_printf(dev, "unable to initialize PCM part of the card\n"); in emu_pcm_attach()
1457 * in pcm device. Mark pcm device as MPSAFE manually. in emu_pcm_attach()
1520 "pcm",