Lines Matching refs:gbufsize
59 static unsigned int gbufsize = MEYE_MAX_BUFSIZE; variable
60 module_param(gbufsize, int, 0444);
61 MODULE_PARM_DESC(gbufsize, "size of the capture buffers, default is 614400"
810 mchip_cont_read_frame(v, meye.grab_fbuffer + gbufsize * reqnr, in meye_irq()
821 size = mchip_comp_read_frame(v, meye.grab_temp, gbufsize); in meye_irq()
831 memcpy(meye.grab_fbuffer + gbufsize * reqnr, meye.grab_temp, in meye_irq()
1017 *len = mchip_compress_frame(meye.grab_fbuffer, gbufsize); in meyeioc_stilljcapt()
1398 rvfree(meye.grab_fbuffer, gbuffers * gbufsize); in vidioc_reqbufs()
1404 meye.grab_fbuffer = rvmalloc(gbuffers * gbufsize); in vidioc_reqbufs()
1441 buf->m.offset = index * gbufsize; in vidioc_querybuf()
1442 buf->length = gbufsize; in vidioc_querybuf()
1507 buf->m.offset = reqnr * gbufsize; in vidioc_dqbuf()
1508 buf->length = gbufsize; in vidioc_dqbuf()
1615 if (size > gbuffers * gbufsize) { in meye_mmap()
1623 meye.grab_fbuffer = rvmalloc(gbuffers*gbufsize); in meye_mmap()
1651 vma->vm_private_data = (void *) (offset / gbufsize); in meye_mmap()
1920 rvfree(meye.grab_fbuffer, gbuffers*gbufsize); in meye_remove()
1948 if (gbufsize < 0 || gbufsize > MEYE_MAX_BUFSIZE) in meye_init()
1949 gbufsize = MEYE_MAX_BUFSIZE; in meye_init()
1950 gbufsize = PAGE_ALIGN(gbufsize); in meye_init()
1954 gbufsize / 1024, gbuffers * gbufsize / 1024); in meye_init()