Lines Matching defs:usecs
507 (scratch >> 8) & 0x000f, type, qh->usecs,
2748 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH,
2776 qh->c_usecs = qh->usecs + HS_USECS(0);
2777 qh->usecs = HS_USECS(1);
2779 qh->usecs += HS_USECS(1);
3329 /* how many of the uframe's 125 usecs are allocated? */
3335 unsigned usecs = 0;
3344 usecs += q->qh->usecs;
3348 usecs += q->qh->c_usecs;
3365 usecs += q->itd->stream->usecs;
3371 if (usecs > fotg210->uframe_periodic_max)
3372 fotg210_err(fotg210, "uframe %d sched overrun: %d usecs\n",
3373 frame * 8 + uframe, usecs);
3374 return usecs;
3484 (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs,
3532 ? ((qh->usecs + qh->c_usecs) / qh->period)
3533 : (qh->usecs * 8);
3573 ? ((qh->usecs + qh->c_usecs) / qh->period)
3574 : (qh->usecs * 8);
3579 (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs,
3667 unsigned uframe, unsigned period, unsigned usecs)
3677 /* convert "usecs we need" to "max already claimed" */
3678 usecs = fotg210->uframe_periodic_max - usecs;
3688 if (claimed > usecs)
3697 if (claimed > usecs)
3715 if (!check_period(fotg210, frame, uframe, qh->period, qh->usecs))
3946 /* usbfs wants to report the average usecs per frame tied up
3951 stream->usecs = NS_TO_US(usb_calc_bus_time(dev->speed,
3953 stream->usecs /= 8;
3956 stream->usecs = HS_USECS_ISO(maxp);
3958 bandwidth = stream->usecs * 8;
4131 u8 usecs, u32 period)
4137 > (fotg210->uframe_periodic_max - usecs))
4238 stream->usecs, period))