Searched refs:period_ptr (Results 1 – 6 of 6) sorted by relevance
157 dma_addr_t period_ptr; /* physical address of next period */ member181 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()182 if (prtd->period_ptr >= prtd->dma_buffer_end) in atmel_pcm_dma_irq()183 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_dma_irq()186 prtd->period_ptr); in atmel_pcm_dma_irq()195 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()196 if (prtd->period_ptr >= prtd->dma_buffer_end) in atmel_pcm_dma_irq()197 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_dma_irq()200 prtd->period_ptr); in atmel_pcm_dma_irq()281 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()241 chip->period_ptr = 0; in snd_pcsp_playback_prepare()
64 size_t period_ptr; member
75 pcsp_chip.period_ptr = 0; in snd_pcsp_create()
52 size_t period_ptr; /* actual write pointer to period */ member
1147 runtime->oss.period_ptr = 0; in snd_pcm_oss_prepare()1416 tmp = snd_pcm_oss_write2(substream, runtime->oss.buffer + runtime->oss.period_ptr, in snd_pcm_oss_write1()1417 runtime->oss.buffer_used - runtime->oss.period_ptr, 1); in snd_pcm_oss_write1()1421 runtime->oss.period_ptr += tmp; in snd_pcm_oss_write1()1422 runtime->oss.period_ptr %= runtime->oss.period_bytes; in snd_pcm_oss_write1()1423 if (runtime->oss.period_ptr == 0 || in snd_pcm_oss_write1()1424 runtime->oss.period_ptr == runtime->oss.buffer_used) in snd_pcm_oss_write1()1516 runtime->oss.period_ptr = tmp; in snd_pcm_oss_read1()1522 …if (copy_to_user(buf, runtime->oss.buffer + (runtime->oss.period_ptr - runtime->oss.buffer_used), … in snd_pcm_oss_read1()1570 runtime->oss.period_ptr = 0; in snd_pcm_oss_reset()[all …]