Searched refs:period_ptr (Results 1 – 6 of 6) sorted by relevance
82 dma_addr_t period_ptr; /* physical address of next period */ member106 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()107 if (prtd->period_ptr >= prtd->dma_buffer_end) in atmel_pcm_dma_irq()108 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_dma_irq()111 prtd->period_ptr); in atmel_pcm_dma_irq()120 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()121 if (prtd->period_ptr >= prtd->dma_buffer_end) in atmel_pcm_dma_irq()122 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_dma_irq()125 prtd->period_ptr); in atmel_pcm_dma_irq()206 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_trigger()[all …]
105 periods_elapsed = chip->playback_ptr - chip->period_ptr; in pcsp_pointer_update()120 chip->period_ptr += periods_elapsed * period_bytes; in pcsp_pointer_update()121 chip->period_ptr %= buffer_bytes; in pcsp_pointer_update()234 chip->period_ptr = 0; in snd_pcsp_playback_prepare()
64 size_t period_ptr; member
74 pcsp_chip.period_ptr = 0; in snd_pcsp_create()
37 size_t period_ptr; /* actual write pointer to period */ member
1162 runtime->oss.period_ptr = 0; in snd_pcm_oss_prepare()1435 tmp = snd_pcm_oss_write2(substream, runtime->oss.buffer + runtime->oss.period_ptr, in snd_pcm_oss_write1()1436 runtime->oss.buffer_used - runtime->oss.period_ptr, 1); in snd_pcm_oss_write1()1440 runtime->oss.period_ptr += tmp; in snd_pcm_oss_write1()1441 runtime->oss.period_ptr %= runtime->oss.period_bytes; in snd_pcm_oss_write1()1442 if (runtime->oss.period_ptr == 0 || in snd_pcm_oss_write1()1443 runtime->oss.period_ptr == runtime->oss.buffer_used) in snd_pcm_oss_write1()1535 runtime->oss.period_ptr = tmp; in snd_pcm_oss_read1()1541 …if (copy_to_user(buf, runtime->oss.buffer + (runtime->oss.period_ptr - runtime->oss.buffer_used), … in snd_pcm_oss_read1()1589 runtime->oss.period_ptr = 0; in snd_pcm_oss_reset()[all …]