Lines Matching defs:bandwidth
530 /* compute the minimum bandwidth for the current transfer */
533 u32 bandwidth;
536 bandwidth = gspca_dev->pixfmt.sizeimage;
540 bandwidth < gspca_dev->pixfmt.width *
542 bandwidth = bandwidth * 3 / 8; /* 0.375 */
549 bandwidth *= parm.parm.capture.timeperframe.denominator;
550 bandwidth /= parm.parm.capture.timeperframe.numerator;
557 bandwidth *= 15; /* 15 fps */
559 bandwidth *= 30; /* 30 fps */
562 gspca_dbg(gspca_dev, D_STREAM, "min bandwidth: %d\n", bandwidth);
563 return bandwidth;
570 u32 bandwidth;
575 * and compute the minimum bandwidth for the image transfer
583 u32 bandwidth, last_bw;
593 ep_tb->bandwidth = 2000 * 2000 * 120;
607 bandwidth = psize * 1000;
610 bandwidth *= 8;
611 bandwidth /= 1 << (ep->desc.bInterval - 1);
612 if (bandwidth <= last_bw)
614 if (bandwidth < ep_tb->bandwidth) {
615 ep_tb->bandwidth = bandwidth;
622 gspca_dbg(gspca_dev, D_STREAM, "alt %d bandwidth %d\n",
623 ep_tb->alt, ep_tb->bandwidth);
624 last_bw = ep_tb->bandwidth;
633 * uses the max full speed iso bandwidth; and
635 * then skip the highest alt setting to spare bandwidth for the mic
646 /* get the requested bandwidth and start at the highest atlsetting */
647 bandwidth = which_bandwidth(gspca_dev);
651 if (ep_tb->bandwidth < bandwidth)
794 /* else, compute the minimum bandwidth
875 /* the bandwidth is not wide enough
878 gspca_err(gspca_dev, "alt %d - bandwidth not wide enough, trying again\n",