Lines Matching refs:nbuffers
136 cam->nbuffers = count; in zc0301_request_buffers()
137 while (cam->nbuffers > 0) { in zc0301_request_buffers()
138 if ((buff = vmalloc_32_user(cam->nbuffers * in zc0301_request_buffers()
141 cam->nbuffers--; in zc0301_request_buffers()
144 for (i = 0; i < cam->nbuffers; i++) { in zc0301_request_buffers()
156 return cam->nbuffers; in zc0301_request_buffers()
162 if (cam->nbuffers) { in zc0301_release_buffers()
164 cam->nbuffers = 0; in zc0301_release_buffers()
202 for (i = 0; i < cam->nbuffers; i++) in zc0301_queue_unusedframes()
721 cam->nbuffers = 0; in zc0301_open()
977 for (i = 0; i < cam->nbuffers; i++) { in zc0301_mmap()
981 if (i == cam->nbuffers) { in zc0301_mmap()
1211 const u32 nbuffers = cam->nbuffers; in zc0301_vidioc_s_crop() local
1224 for (i = 0; i < cam->nbuffers; i++) in zc0301_vidioc_s_crop()
1287 nbuffers != zc0301_request_buffers(cam, nbuffers, cam->io)) { in zc0301_vidioc_s_crop()
1398 const u32 nbuffers = cam->nbuffers; in zc0301_vidioc_try_s_fmt() local
1447 for (i = 0; i < cam->nbuffers; i++) in zc0301_vidioc_try_s_fmt()
1481 nbuffers != zc0301_request_buffers(cam, nbuffers, cam->io)) { in zc0301_vidioc_try_s_fmt()
1564 for (i = 0; i < cam->nbuffers; i++) in zc0301_vidioc_reqbufs()
1602 b.index >= cam->nbuffers || cam->io != IO_MMAP) in zc0301_vidioc_querybuf()
1632 b.index >= cam->nbuffers || cam->io != IO_MMAP) in zc0301_vidioc_qbuf()