Lines Matching refs:usecs

132 /* how many of the uframe's 125 usecs are allocated? */
138 unsigned usecs = 0;
147 usecs += q->qh->usecs;
151 usecs += q->qh->c_usecs;
168 usecs += q->itd->stream->usecs;
178 usecs += q->sitd->stream->usecs;
180 usecs += HS_USECS_ISO (188);
187 usecs += q->sitd->stream->c_usecs;
196 if (usecs > ehci->uframe_periodic_max)
197 ehci_err (ehci, "uframe %d sched overrun: %d usecs\n",
198 frame * 8 + uframe, usecs);
200 return usecs;
253 /* How many of the tt's periodic downstream 1000 usecs are allocated?
255 * While this measures the bandwidth in terms of usecs/uframe,
261 * and the second one would "carry over" 75 usecs into the next uframe.
311 ehci_err(ehci, "frame %d tt sched overrun: %d usecs\n",
317 * periodic transfer of the specified length (usecs), starting at the
342 u16 usecs
353 ehci_vdbg(ehci, "tt frame %d check %d usecs start uframe %d in"
355 frame, usecs, uframe,
370 if (125 < usecs) {
371 int ufs = (usecs / 125);
383 tt_usecs[uframe] += usecs;
390 "tt unavailable usecs %d frame %d uframe %d\n",
391 usecs, frame, uframe);
567 qh, qh->start, qh->usecs, qh->c_usecs);
615 ? ((qh->usecs + qh->c_usecs) / qh->period)
616 : (qh->usecs * 8);
643 ? ((qh->usecs + qh->c_usecs) / qh->period)
644 : (qh->usecs * 8);
650 qh, qh->start, qh->usecs, qh->c_usecs);
722 unsigned usecs
732 /* convert "usecs we need" to "max already claimed" */
733 usecs = ehci->uframe_periodic_max - usecs;
742 if (claimed > usecs)
751 if (claimed > usecs)
774 if (!check_period (ehci, frame, uframe, qh->period, qh->usecs))
1011 /* usbfs wants to report the average usecs per frame tied up
1014 stream->usecs = HS_USECS_ISO (maxp);
1015 bandwidth = stream->usecs * 8;
1030 stream->usecs = HS_USECS_ISO (maxp);
1039 stream->c_usecs = stream->usecs;
1040 stream->usecs = HS_USECS_ISO (1);
1048 bandwidth = stream->usecs + stream->c_usecs;
1300 u8 usecs,
1308 > (ehci->uframe_periodic_max - usecs))
1365 max_used = ehci->uframe_periodic_max - stream->usecs;
1495 stream->usecs, period))