Lines Matching defs:usecs
506 (scratch >> 8) & 0x000f, type, qh->usecs,
2749 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH,
2777 qh->c_usecs = qh->usecs + HS_USECS(0);
2778 qh->usecs = HS_USECS(1);
2780 qh->usecs += HS_USECS(1);
3330 /* how many of the uframe's 125 usecs are allocated? */
3336 unsigned usecs = 0;
3345 usecs += q->qh->usecs;
3349 usecs += q->qh->c_usecs;
3366 usecs += q->itd->stream->usecs;
3372 if (usecs > fotg210->uframe_periodic_max)
3373 fotg210_err(fotg210, "uframe %d sched overrun: %d usecs\n",
3374 frame * 8 + uframe, usecs);
3375 return usecs;
3485 (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs,
3533 ? ((qh->usecs + qh->c_usecs) / qh->period)
3534 : (qh->usecs * 8);
3574 ? ((qh->usecs + qh->c_usecs) / qh->period)
3575 : (qh->usecs * 8);
3580 (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs,
3668 unsigned uframe, unsigned period, unsigned usecs)
3678 /* convert "usecs we need" to "max already claimed" */
3679 usecs = fotg210->uframe_periodic_max - usecs;
3689 if (claimed > usecs)
3698 if (claimed > usecs)
3716 if (!check_period(fotg210, frame, uframe, qh->period, qh->usecs))
3947 /* usbfs wants to report the average usecs per frame tied up
3952 stream->usecs = NS_TO_US(usb_calc_bus_time(dev->speed,
3954 stream->usecs /= 8;
3957 stream->usecs = HS_USECS_ISO(maxp);
3959 bandwidth = stream->usecs * 8;
4131 u8 usecs, u32 period)
4137 > (fotg210->uframe_periodic_max - usecs))
4238 stream->usecs, period))