Lines Matching refs:bandwidth
126 u32 bandwidth; in uvc_fixup_video_ctrl() local
138 bandwidth = frame->wWidth * frame->wHeight / 8 * format->bpp; in uvc_fixup_video_ctrl()
139 bandwidth *= 10000000 / interval + 1; in uvc_fixup_video_ctrl()
140 bandwidth /= 1000; in uvc_fixup_video_ctrl()
142 bandwidth /= 8; in uvc_fixup_video_ctrl()
143 bandwidth += 12; in uvc_fixup_video_ctrl()
152 bandwidth = max_t(u32, bandwidth, 1024); in uvc_fixup_video_ctrl()
154 ctrl->dwMaxPayloadTransferSize = bandwidth; in uvc_fixup_video_ctrl()
296 __u16 bandwidth; in uvc_probe_video() local
334 bandwidth = probe->dwMaxPayloadTransferSize; in uvc_probe_video()
335 if (bandwidth <= stream->maxpsize) in uvc_probe_video()
1609 unsigned int bandwidth; in uvc_init_video() local
1614 bandwidth = stream->ctrl.dwMaxPayloadTransferSize; in uvc_init_video()
1616 if (bandwidth == 0) { in uvc_init_video()
1619 bandwidth = 1; in uvc_init_video()
1622 "B/frame bandwidth.\n", bandwidth); in uvc_init_video()
1637 if (psize >= bandwidth && psize <= best_psize) { in uvc_init_video()