Lines Matching refs:bandwidth
533 u32 bandwidth; in which_bandwidth() local
536 bandwidth = gspca_dev->pixfmt.sizeimage; in which_bandwidth()
540 bandwidth < gspca_dev->pixfmt.width * in which_bandwidth()
542 bandwidth = bandwidth * 3 / 8; /* 0.375 */ in which_bandwidth()
549 bandwidth *= parm.parm.capture.timeperframe.denominator; in which_bandwidth()
550 bandwidth /= parm.parm.capture.timeperframe.numerator; in which_bandwidth()
557 bandwidth *= 15; /* 15 fps */ in which_bandwidth()
559 bandwidth *= 30; /* 30 fps */ in which_bandwidth()
562 gspca_dbg(gspca_dev, D_STREAM, "min bandwidth: %d\n", bandwidth); in which_bandwidth()
563 return bandwidth; in which_bandwidth()
570 u32 bandwidth; member
583 u32 bandwidth, last_bw; in build_isoc_ep_tb() local
593 ep_tb->bandwidth = 2000 * 2000 * 120; in build_isoc_ep_tb()
607 bandwidth = psize * 1000; in build_isoc_ep_tb()
610 bandwidth *= 8; in build_isoc_ep_tb()
611 bandwidth /= 1 << (ep->desc.bInterval - 1); in build_isoc_ep_tb()
612 if (bandwidth <= last_bw) in build_isoc_ep_tb()
614 if (bandwidth < ep_tb->bandwidth) { in build_isoc_ep_tb()
615 ep_tb->bandwidth = bandwidth; in build_isoc_ep_tb()
623 ep_tb->alt, ep_tb->bandwidth); in build_isoc_ep_tb()
624 last_bw = ep_tb->bandwidth; in build_isoc_ep_tb()
647 bandwidth = which_bandwidth(gspca_dev); in build_isoc_ep_tb()
651 if (ep_tb->bandwidth < bandwidth) in build_isoc_ep_tb()