Lines Matching defs:bandwidth
528 /* compute the minimum bandwidth for the current transfer */
531 u32 bandwidth;
534 bandwidth = gspca_dev->pixfmt.sizeimage;
538 bandwidth < gspca_dev->pixfmt.width *
540 bandwidth = bandwidth * 3 / 8; /* 0.375 */
547 bandwidth *= parm.parm.capture.timeperframe.denominator;
548 bandwidth /= parm.parm.capture.timeperframe.numerator;
555 bandwidth *= 15; /* 15 fps */
557 bandwidth *= 30; /* 30 fps */
560 gspca_dbg(gspca_dev, D_STREAM, "min bandwidth: %d\n", bandwidth);
561 return bandwidth;
568 u32 bandwidth;
573 * and compute the minimum bandwidth for the image transfer
581 u32 bandwidth, last_bw;
591 ep_tb->bandwidth = 2000 * 2000 * 120;
605 bandwidth = psize * 1000;
608 bandwidth *= 8;
609 bandwidth /= 1 << (ep->desc.bInterval - 1);
610 if (bandwidth <= last_bw)
612 if (bandwidth < ep_tb->bandwidth) {
613 ep_tb->bandwidth = bandwidth;
620 gspca_dbg(gspca_dev, D_STREAM, "alt %d bandwidth %d\n",
621 ep_tb->alt, ep_tb->bandwidth);
622 last_bw = ep_tb->bandwidth;
631 * uses the max full speed iso bandwidth; and
633 * then skip the highest alt setting to spare bandwidth for the mic
644 /* get the requested bandwidth and start at the highest atlsetting */
645 bandwidth = which_bandwidth(gspca_dev);
649 if (ep_tb->bandwidth < bandwidth)
792 /* else, compute the minimum bandwidth
873 /* the bandwidth is not wide enough
876 gspca_err(gspca_dev, "alt %d - bandwidth not wide enough, trying again\n",