Lines Matching refs:bandwidth
632 u32 bandwidth; in which_bandwidth() local
635 bandwidth = gspca_dev->pixfmt.sizeimage; in which_bandwidth()
639 bandwidth < gspca_dev->pixfmt.width * in which_bandwidth()
641 bandwidth = bandwidth * 3 / 8; /* 0.375 */ in which_bandwidth()
648 bandwidth *= parm.parm.capture.timeperframe.denominator; in which_bandwidth()
649 bandwidth /= parm.parm.capture.timeperframe.numerator; in which_bandwidth()
656 bandwidth *= 15; /* 15 fps */ in which_bandwidth()
658 bandwidth *= 30; /* 30 fps */ in which_bandwidth()
661 PDEBUG(D_STREAM, "min bandwidth: %d", bandwidth); in which_bandwidth()
662 return bandwidth; in which_bandwidth()
669 u32 bandwidth; member
682 u32 bandwidth, last_bw; in build_isoc_ep_tb() local
692 ep_tb->bandwidth = 2000 * 2000 * 120; in build_isoc_ep_tb()
706 bandwidth = psize * 1000; in build_isoc_ep_tb()
709 bandwidth *= 8; in build_isoc_ep_tb()
710 bandwidth /= 1 << (ep->desc.bInterval - 1); in build_isoc_ep_tb()
711 if (bandwidth <= last_bw) in build_isoc_ep_tb()
713 if (bandwidth < ep_tb->bandwidth) { in build_isoc_ep_tb()
714 ep_tb->bandwidth = bandwidth; in build_isoc_ep_tb()
722 ep_tb->alt, ep_tb->bandwidth); in build_isoc_ep_tb()
723 last_bw = ep_tb->bandwidth; in build_isoc_ep_tb()
746 bandwidth = which_bandwidth(gspca_dev); in build_isoc_ep_tb()
750 if (ep_tb->bandwidth < bandwidth) in build_isoc_ep_tb()