Lines Matching refs:bandwidth
531 u32 bandwidth; in which_bandwidth() local
534 bandwidth = gspca_dev->pixfmt.sizeimage; in which_bandwidth()
538 bandwidth < gspca_dev->pixfmt.width * in which_bandwidth()
540 bandwidth = bandwidth * 3 / 8; /* 0.375 */ in which_bandwidth()
547 bandwidth *= parm.parm.capture.timeperframe.denominator; in which_bandwidth()
548 bandwidth /= parm.parm.capture.timeperframe.numerator; in which_bandwidth()
555 bandwidth *= 15; /* 15 fps */ in which_bandwidth()
557 bandwidth *= 30; /* 30 fps */ in which_bandwidth()
560 gspca_dbg(gspca_dev, D_STREAM, "min bandwidth: %d\n", bandwidth); in which_bandwidth()
561 return bandwidth; in which_bandwidth()
568 u32 bandwidth; member
581 u32 bandwidth, last_bw; in build_isoc_ep_tb() local
591 ep_tb->bandwidth = 2000 * 2000 * 120; in build_isoc_ep_tb()
605 bandwidth = psize * 1000; in build_isoc_ep_tb()
608 bandwidth *= 8; in build_isoc_ep_tb()
609 bandwidth /= 1 << (ep->desc.bInterval - 1); in build_isoc_ep_tb()
610 if (bandwidth <= last_bw) in build_isoc_ep_tb()
612 if (bandwidth < ep_tb->bandwidth) { in build_isoc_ep_tb()
613 ep_tb->bandwidth = bandwidth; in build_isoc_ep_tb()
621 ep_tb->alt, ep_tb->bandwidth); in build_isoc_ep_tb()
622 last_bw = ep_tb->bandwidth; in build_isoc_ep_tb()
645 bandwidth = which_bandwidth(gspca_dev); in build_isoc_ep_tb()
649 if (ep_tb->bandwidth < bandwidth) in build_isoc_ep_tb()