Lines Matching refs:nbuffers
121 uvc_alloc_buffers(struct uvc_video_queue *queue, unsigned int nbuffers,
129 if (nbuffers > UVC_MAX_VIDEO_BUFFERS)
130 nbuffers = UVC_MAX_VIDEO_BUFFERS;
138 if (nbuffers == 0)
142 for (; nbuffers > 0; --nbuffers) {
143 mem = vmalloc_32(nbuffers * bufsize);
153 for (i = 0; i < nbuffers; ++i) {
167 queue->count = nbuffers;
169 ret = nbuffers;