Lines Matching refs:bandwidth
134 u32 bandwidth; in uvc_fixup_video_ctrl() local
146 bandwidth = frame->wWidth * frame->wHeight / 8 * format->bpp; in uvc_fixup_video_ctrl()
147 bandwidth *= 10000000 / interval + 1; in uvc_fixup_video_ctrl()
148 bandwidth /= 1000; in uvc_fixup_video_ctrl()
150 bandwidth /= 8; in uvc_fixup_video_ctrl()
151 bandwidth += 12; in uvc_fixup_video_ctrl()
160 bandwidth = max_t(u32, bandwidth, 1024); in uvc_fixup_video_ctrl()
162 ctrl->dwMaxPayloadTransferSize = bandwidth; in uvc_fixup_video_ctrl()
304 __u16 bandwidth; in uvc_probe_video() local
342 bandwidth = probe->dwMaxPayloadTransferSize; in uvc_probe_video()
343 if (bandwidth <= stream->maxpsize) in uvc_probe_video()
1620 unsigned int bandwidth; in uvc_init_video() local
1625 bandwidth = stream->ctrl.dwMaxPayloadTransferSize; in uvc_init_video()
1627 if (bandwidth == 0) { in uvc_init_video()
1630 bandwidth = 1; in uvc_init_video()
1633 "B/frame bandwidth.\n", bandwidth); in uvc_init_video()
1648 if (psize >= bandwidth && psize <= best_psize) { in uvc_init_video()