Searched refs:sb_swptr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/sound/oss/
H A Dswarm_cs4297a.c240 u16 *sb_swptr; member in struct:serdma_s
661 dma->sb_swptr = dma->sb_hwptr = dma->sample_buf; init_serdma()
984 if (d->count && (d->sb_hwptr == d->sb_swptr)) { cs4297a_update_ptr()
1704 cnt = (s->dma_adc.sb_end - s->dma_adc.sb_swptr) / 2; cs4297a_read()
1763 if (copy_to_user (buffer, ((void *)s->dma_adc.sb_swptr), cnt_by)) cs4297a_read()
1772 s->dma_adc.sb_swptr += cnt * 2; cs4297a_read()
1773 if (s->dma_adc.sb_swptr == s->dma_adc.sb_end) cs4297a_read()
1774 s->dma_adc.sb_swptr = s->dma_adc.sample_buf; cs4297a_read()
2592 s->dma_adc.sb_swptr = s->dma_adc.sb_hwptr = s->dma_adc.sample_buf; cs4297a_interrupt()

Completed in 41 milliseconds