Lines Matching refs:dma_buf
220 u64 *dma_buf; // buffer for DMA contents (frames) member
627 dma->dma_buf = kzalloc(DMA_BUF_SIZE, GFP_KERNEL); in init_serdma()
628 if (!dma->dma_buf) { in init_serdma()
633 dma->dma_buf_phys = CPHYSADDR((long)dma->dma_buf); in init_serdma()
641 kfree(dma->dma_buf); in init_serdma()
650 (int)dma->descrtab, (int)dma->dma_buf, in init_serdma()
753 data_p = &d->dma_buf[swptr * 4]; in serdma_reg_access()
943 s_ptr = (u32 *)&(d->dma_buf[d->swptr*4]); in cs4297a_update_ptr()
983 s_ptr = (u32 *)s->dma_adc.dma_buf; in cs4297a_update_ptr()
1016 data_p = &d->dma_buf[d->swptr*4]; in cs4297a_update_ptr()
1048 data_p = d->dma_buf; in cs4297a_update_ptr()
1103 (unsigned)d->dma_buf, in cs4297a_update_ptr()
1105 memset(d->dma_buf, 0, d->ringsz * FRAME_BYTES); in cs4297a_update_ptr()
1117 clear_advance(d->dma_buf, in cs4297a_update_ptr()
1834 t_tmpl = (u32 *)(d->dma_buf + (swptr * 4)); in cs4297a_write()
1860 *(u64 *)(d->dma_buf + (swptr * 4)) |= in cs4297a_write()