Lines Matching refs:tt_usecs
242 static inline void carryover_tt_bandwidth(unsigned short tt_usecs[8]) in carryover_tt_bandwidth()
246 if (max_tt_usecs[i] < tt_usecs[i]) { in carryover_tt_bandwidth()
247 tt_usecs[i+1] += tt_usecs[i] - max_tt_usecs[i]; in carryover_tt_bandwidth()
248 tt_usecs[i] = max_tt_usecs[i]; in carryover_tt_bandwidth()
268 unsigned short tt_usecs[8] in periodic_tt_usecs()
275 memset(tt_usecs, 0, 16); in periodic_tt_usecs()
286 tt_usecs[uf] += q->qh->tt_usecs; in periodic_tt_usecs()
294 tt_usecs[uf] += q->sitd->stream->tt_usecs; in periodic_tt_usecs()
308 carryover_tt_bandwidth(tt_usecs); in periodic_tt_usecs()
310 if (max_tt_usecs[7] < tt_usecs[7]) in periodic_tt_usecs()
312 frame, tt_usecs[7] - max_tt_usecs[7]); in periodic_tt_usecs()
349 unsigned short tt_usecs[8]; in tt_available() local
351 periodic_tt_usecs (ehci, dev, frame, tt_usecs); in tt_available()
356 tt_usecs[0], tt_usecs[1], tt_usecs[2], tt_usecs[3], in tt_available()
357 tt_usecs[4], tt_usecs[5], tt_usecs[6], tt_usecs[7]); in tt_available()
359 if (max_tt_usecs[uframe] <= tt_usecs[uframe]) { in tt_available()
374 if (0 < tt_usecs[i]) { in tt_available()
383 tt_usecs[uframe] += usecs; in tt_available()
385 carryover_tt_bandwidth(tt_usecs); in tt_available()
388 if (max_tt_usecs[7] < tt_usecs[7]) { in tt_available()
784 qh->tt_usecs)) { in check_intr_schedule()
1032 stream->tt_usecs = NS_TO_US (think_time + usb_calc_bus_time ( in iso_stream_init()
1353 stream->udev, frame, uf, stream->tt_usecs)) in sitd_slot_ok()