Lines Matching refs:gbufsize
48 static unsigned int gbufsize = MEYE_MAX_BUFSIZE; variable
49 module_param(gbufsize, int, 0444);
50 MODULE_PARM_DESC(gbufsize, "size of the capture buffers, default is 614400 (will be rounded up to a…
795 mchip_cont_read_frame(v, meye.grab_fbuffer + gbufsize * reqnr, in meye_irq()
806 size = mchip_comp_read_frame(v, meye.grab_temp, gbufsize); in meye_irq()
816 memcpy(meye.grab_fbuffer + gbufsize * reqnr, meye.grab_temp, in meye_irq()
1002 *len = mchip_compress_frame(meye.grab_fbuffer, gbufsize); in meyeioc_stilljcapt()
1230 rvfree(meye.grab_fbuffer, gbuffers * gbufsize); in vidioc_reqbufs()
1236 meye.grab_fbuffer = rvmalloc(gbuffers * gbufsize); in vidioc_reqbufs()
1272 buf->m.offset = index * gbufsize; in vidioc_querybuf()
1273 buf->length = gbufsize; in vidioc_querybuf()
1338 buf->m.offset = reqnr * gbufsize; in vidioc_dqbuf()
1339 buf->length = gbufsize; in vidioc_dqbuf()
1446 if (size > gbuffers * gbufsize || offset > gbuffers * gbufsize - size) { in meye_mmap()
1454 meye.grab_fbuffer = rvmalloc(gbuffers*gbufsize); in meye_mmap()
1482 vma->vm_private_data = (void *) (offset / gbufsize); in meye_mmap()
1773 rvfree(meye.grab_fbuffer, gbuffers*gbufsize); in meye_remove()
1800 if (gbufsize > MEYE_MAX_BUFSIZE) in meye_init()
1801 gbufsize = MEYE_MAX_BUFSIZE; in meye_init()
1802 gbufsize = PAGE_ALIGN(gbufsize); in meye_init()
1805 gbufsize / 1024, gbuffers * gbufsize / 1024); in meye_init()