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

/linux-4.4.14/drivers/gpu/drm/msm/
H A Dmsm_gpu.h168 const char *name, const char *ioname, const char *irqname, int ringsz);
H A Dmsm_gpu.c571 const char *name, const char *ioname, const char *irqname, int ringsz) msm_gpu_init()
670 gpu->rb = msm_ringbuffer_new(gpu, ringsz); msm_gpu_init()
569 msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, struct msm_gpu *gpu, const struct msm_gpu_funcs *funcs, const char *name, const char *ioname, const char *irqname, int ringsz) msm_gpu_init() argument
/linux-4.4.14/sound/oss/
H A Dswarm_cs4297a.c190 #define SERDMA_NEXTBUF(d,f) (((d)->f+1) % (d)->ringsz)
229 unsigned ringsz; member in struct:serdma_s
632 dma->ringsz = DMA_DESCR; init_serdma()
633 dma->descrtab = kzalloc(dma->ringsz * sizeof(serdma_descr_t), GFP_KERNEL); init_serdma()
638 dma->descrtab_end = dma->descrtab + dma->ringsz; init_serdma()
766 d->hwptr = d->swptr = (d->swptr + 1) % d->ringsz; serdma_reg_access()
957 diff2 = diff = (d->ringsz + hwptr - d->hwptr) % d->ringsz; cs4297a_update_ptr()
1010 d->swptr = (d->swptr + diff) % d->ringsz; cs4297a_update_ptr()
1027 diff2 = diff = (hwptr + d->ringsz - d->hwptr) % d->ringsz; cs4297a_update_ptr()
1094 diff = (d->ringsz + hwptr - d->hwptr) % d->ringsz; cs4297a_update_ptr()
1121 d->ringsz)); cs4297a_update_ptr()
1122 memset(d->dma_buf, 0, d->ringsz * FRAME_BYTES); cs4297a_update_ptr()
1887 swptr = (swptr + (cnt/FRAME_SAMPLE_BYTES)) % d->ringsz; cs4297a_write()

Completed in 229 milliseconds