Lines Matching refs:sample_buf
222 u16 *sample_buf; // tmp buffer for sample conversions
634 dma->sample_buf = kmalloc(dma->sbufsz, GFP_KERNEL);
635 if (!dma->sample_buf) {
636 printk(KERN_ERR "cs4297a: kmalloc sample_buf failed\n");
641 dma->sb_swptr = dma->sb_hwptr = dma->sample_buf;
642 dma->sb_end = (u16 *)((void *)dma->sample_buf + dma->sbufsz);
646 printk(KERN_ERR "cs4297a: descrtab - %08x dma_buf - %x sample_buf - %x\n",
648 (int)dma->sample_buf));
969 d->sb_hwptr = d->sample_buf;
1747 s->dma_adc.sb_swptr = s->dma_adc.sample_buf;
1819 if (copy_from_user(d->sample_buf, buffer, cnt))
1823 s_tmpl = (u32 *)d->sample_buf;
2557 s->dma_adc.sb_swptr = s->dma_adc.sb_hwptr = s->dma_adc.sample_buf;