Home
last modified time | relevance | path

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

/Linux-v5.15/sound/pci/ymfpci/
Dymfpci_main.c277 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free()
280 pvoice->ypcm = NULL; in snd_ymfpci_voice_free()
292 struct snd_ymfpci_pcm *ypcm; in snd_ymfpci_pcm_interrupt() local
295 ypcm = voice->ypcm; in snd_ymfpci_pcm_interrupt()
296 if (!ypcm) in snd_ymfpci_pcm_interrupt()
298 if (ypcm->substream == NULL) in snd_ymfpci_pcm_interrupt()
301 if (ypcm->running) { in snd_ymfpci_pcm_interrupt()
303 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt()
304 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt()
306 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt()
[all …]
Dymfpci.h238 struct snd_ymfpci_pcm *ypcm; member