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;
334 * periodic transfer of the specified length (usecs), starting at the
362 unsigned usecs = ps->tt_usecs;
372 if (tt->bandwidth[frame] + usecs > 900)
387 if (usecs > 125) {
388 int ufs = (usecs / 125);
395 tt_usecs[uframe] += usecs;
530 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs);
578 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period)
579 : (qh->ps.usecs * 8);
616 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period)
617 : (qh->ps.usecs * 8);
623 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs);
747 unsigned usecs
755 /* convert "usecs we need" to "max already claimed" */
756 usecs = ehci->uframe_periodic_max - usecs;
760 if (ehci->bandwidth[uframe] > usecs)
783 if (!check_period(ehci, frame, uframe, qh->ps.bw_uperiod, qh->ps.usecs))
1053 /* usbfs wants to report the average usecs per frame tied up
1056 stream->ps.usecs = HS_USECS_ISO(maxp);
1067 stream->bandwidth = stream->ps.usecs * 8 /
1082 stream->ps.usecs = HS_USECS_ISO(maxp);
1091 stream->ps.c_usecs = stream->ps.usecs;
1092 stream->ps.usecs = HS_USECS_ISO(1);
1111 stream->bandwidth = (stream->ps.usecs + stream->ps.c_usecs) /
1307 int usecs = stream->ps.usecs;
1319 usecs = -usecs;
1327 ehci->bandwidth[i] += usecs;
1339 ehci->bandwidth[i+j] += usecs;
1370 unsigned usecs;
1372 /* convert "usecs we need" to "max already claimed" */
1373 usecs = ehci->uframe_periodic_max - stream->ps.usecs;
1377 if (ehci->bandwidth[uframe] > usecs)
1431 max_used = ehci->uframe_periodic_max - stream->ps.usecs;