Lines Matching defs:usecs
203 ps->usecs, ps->c_usecs, ps->cs_mask);
211 int usecs = qh->ps.usecs;
223 usecs = -usecs;
231 ehci->bandwidth[i] += usecs;
328 * periodic transfer of the specified length (usecs), starting at the
356 unsigned usecs = ps->tt_usecs;
366 if (tt->bandwidth[frame] + usecs > 900)
381 if (usecs > 125) {
382 int ufs = (usecs / 125);
389 tt_usecs[uframe] += usecs;
523 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs);
571 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period)
572 : (qh->ps.usecs * 8);
609 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period)
610 : (qh->ps.usecs * 8);
616 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs);
740 unsigned usecs
748 /* convert "usecs we need" to "max already claimed" */
749 usecs = ehci->uframe_periodic_max - usecs;
753 if (ehci->bandwidth[uframe] > usecs)
776 if (!check_period(ehci, frame, uframe, qh->ps.bw_uperiod, qh->ps.usecs))
1046 /* usbfs wants to report the average usecs per frame tied up
1049 stream->ps.usecs = HS_USECS_ISO(maxp);
1060 stream->bandwidth = stream->ps.usecs * 8 /
1075 stream->ps.usecs = HS_USECS_ISO(maxp);
1084 stream->ps.c_usecs = stream->ps.usecs;
1085 stream->ps.usecs = HS_USECS_ISO(1);
1104 stream->bandwidth = (stream->ps.usecs + stream->ps.c_usecs) /
1302 int usecs = stream->ps.usecs;
1314 usecs = -usecs;
1322 ehci->bandwidth[i] += usecs;
1334 ehci->bandwidth[i+j] += usecs;
1359 unsigned usecs;
1361 /* convert "usecs we need" to "max already claimed" */
1362 usecs = ehci->uframe_periodic_max - stream->ps.usecs;
1366 if (ehci->bandwidth[uframe] > usecs)
1420 max_used = ehci->uframe_periodic_max - stream->ps.usecs;