Home
last modified time | relevance | path

Searched refs:epcm (Results 1 – 4 of 4) sorted by relevance

/linux/sound/pci/emu10k1/
H A Demupcm.c23 struct snd_emu10k1_pcm *epcm; in snd_emu10k1_pcm_interrupt() local
25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
26 if (!epcm) in snd_emu10k1_pcm_interrupt()
28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt()
33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt()
35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt()
37 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt()
76 static void snd_emu10k1_pcm_free_voices(struct snd_emu10k1_pcm *epcm) in snd_emu10k1_pcm_free_voices() argument
78 for (unsigned i = 0; i < ARRAY_SIZE(epcm->voices); i++) { in snd_emu10k1_pcm_free_voices()
[all …]
H A Demu10k1x.c189 struct emu10k1x_pcm *epcm; member
338 struct emu10k1x_pcm *epcm; in snd_emu10k1x_pcm_interrupt() local
340 epcm = voice->epcm; in snd_emu10k1x_pcm_interrupt()
341 if (!epcm) in snd_emu10k1x_pcm_interrupt()
343 if (epcm->substream == NULL) in snd_emu10k1x_pcm_interrupt()
348 epcm->substream->ops->pointer(epcm->substream), in snd_emu10k1x_pcm_interrupt()
349 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1x_pcm_interrupt()
350 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1x_pcm_interrupt()
352 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1x_pcm_interrupt()
359 struct emu10k1x_pcm *epcm; in snd_emu10k1x_playback_open() local
[all …]
/linux/sound/pci/ca0106/
H A Dca0106_main.c542 struct snd_ca0106_pcm *epcm; in snd_ca0106_pcm_open_playback_channel() local
546 epcm = kzalloc_obj(*epcm); in snd_ca0106_pcm_open_playback_channel()
548 if (epcm == NULL) in snd_ca0106_pcm_open_playback_channel()
550 epcm->emu = chip; in snd_ca0106_pcm_open_playback_channel()
551 epcm->substream = substream; in snd_ca0106_pcm_open_playback_channel()
552 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel()
554 runtime->private_data = epcm; in snd_ca0106_pcm_open_playback_channel()
568 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel()
594 struct snd_ca0106_pcm *epcm = runtime->private_data; in snd_ca0106_pcm_close_playback() local
595 chip->playback_channels[epcm->channel_id].use = 0; in snd_ca0106_pcm_close_playback()
[all …]
H A Dca0106.h639 struct snd_ca0106_pcm *epcm; member