Home
last modified time | relevance | path

Searched refs:ypcm (Results 1 – 2 of 2) sorted by relevance

/sound/pci/ymfpci/
Dymfpci_main.c289 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free()
292 pvoice->ypcm = NULL; in snd_ymfpci_voice_free()
304 struct snd_ymfpci_pcm *ypcm; in snd_ymfpci_pcm_interrupt() local
307 if ((ypcm = voice->ypcm) == NULL) in snd_ymfpci_pcm_interrupt()
309 if (ypcm->substream == NULL) in snd_ymfpci_pcm_interrupt()
312 if (ypcm->running) { in snd_ymfpci_pcm_interrupt()
314 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt()
315 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt()
317 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt()
318 ypcm->period_pos += delta; in snd_ymfpci_pcm_interrupt()
[all …]
Dymfpci.h253 struct snd_ymfpci_pcm *ypcm; member