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

/linux-4.4.14/sound/oss/
H A Dswarm_cs4297a.c259 unsigned sbufsz; // 2**buforder. member in struct:serdma_s
653 dma->sbufsz = SAMPLE_BUF_SIZE; init_serdma()
654 dma->sample_buf = kmalloc(dma->sbufsz, GFP_KERNEL); init_serdma()
662 dma->sb_end = (u16 *)((void *)dma->sample_buf + dma->sbufsz); init_serdma()
663 dma->fragsize = dma->sbufsz >> 1; init_serdma()
890 (signed) (s->dma_adc.sbufsz - 2 * s->dma_adc.fragsize)) start_adc()
1007 if (d->count > d->sbufsz) { cs4297a_update_ptr()
1106 if (d->count > d->sbufsz) cs4297a_update_ptr()
1107 d->count &= d->sbufsz - 1; cs4297a_update_ptr()
1135 d->sbufsz, cs4297a_update_ptr()
1141 if ( (d->count <= (signed) d->sbufsz/2) || intflag) cs4297a_update_ptr()
1759 " .sbufsz=%d .count=%d buffer=0x%.8x ret=%d\n", cs4297a_read()
1760 s->dma_adc.sbufsz, s->dma_adc.count, cs4297a_read()
1830 cnt = d->sbufsz - (swptr * FRAME_SAMPLE_BYTES); cs4297a_write()
1832 if (d->count + cnt > d->sbufsz) cs4297a_write()
1833 cnt = d->sbufsz - d->count; cs4297a_write()
1945 if ((signed) (s->dma_dac.sbufsz/2) >= s->dma_dac.count) cs4297a_poll()
2187 abinfo.bytes = s->dma_dac.sbufsz; cs4297a_ioctl()
2190 s->dma_dac.sbufsz - s->dma_dac.count; cs4297a_ioctl()

Completed in 47 milliseconds