Lines Matching refs:uf
277 unsigned uframe, uf, x; in compute_tt_budget() local
292 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget()
293 x += budget_line[uf]; in compute_tt_budget()
297 budget_line[uf] = x; in compute_tt_budget()
300 budget_line[uf] = 125; in compute_tt_budget()
394 unsigned i, uf; in tt_available() local
400 uf = frame << 3; in tt_available()
401 for (i = 0; i < 8; (++i, ++uf)) in tt_available()
402 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available()
1417 unsigned frame, uf; in sitd_slot_ok() local
1437 uf = uframe & 7; in sitd_slot_ok()
1438 if (!tt_available(ehci, &stream->ps, tt, frame, uf)) in sitd_slot_ok()
1454 uf = uframe; in sitd_slot_ok()
1456 for (tmp = stream->ps.cs_mask & 0xff; tmp; tmp >>= 1, uf++) { in sitd_slot_ok()
1457 if (ehci->bandwidth[uf] > max_used) in sitd_slot_ok()
1465 uf = uframe & ~7; in sitd_slot_ok()
1470 if (ehci->bandwidth[uf+i] > max_used) in sitd_slot_ok()
1715 struct ehci_iso_packet *uf = &iso_sched->packet [index]; in itd_patch() local
1723 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
1725 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1726 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1729 if (unlikely (uf->cross)) { in itd_patch()
1730 u64 bufp = uf->bufp + 4096; in itd_patch()
2134 struct ehci_iso_packet *uf = &iso_sched->packet [index]; in sitd_patch() local
2135 u64 bufp = uf->bufp; in sitd_patch()
2140 sitd->hw_results = uf->transaction; in sitd_patch()
2143 bufp = uf->bufp; in sitd_patch()
2147 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1); in sitd_patch()
2148 if (uf->cross) in sitd_patch()
2382 unsigned uf, now_frame, frame; in scan_isoc() local
2392 uf = ehci_read_frame_index(ehci); in scan_isoc()
2393 now_frame = (uf >> 3) & fmask; in scan_isoc()
2424 for (uf = 0; uf < 8; uf++) { in scan_isoc()
2425 if (q.itd->hw_transaction[uf] & in scan_isoc()
2429 if (uf < 8) { in scan_isoc()