Lines Matching refs:uf
271 unsigned uframe, uf, x; in compute_tt_budget() local
286 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget()
287 x += budget_line[uf]; in compute_tt_budget()
291 budget_line[uf] = x; in compute_tt_budget()
294 budget_line[uf] = 125; in compute_tt_budget()
369 unsigned i, uf; in tt_available() local
375 uf = frame << 3; in tt_available()
376 for (i = 0; i < 8; (++i, ++uf)) in tt_available()
377 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available()
1393 unsigned frame, uf; in sitd_slot_ok() local
1413 uf = uframe & 7; in sitd_slot_ok()
1414 if (!tt_available(ehci, &stream->ps, tt, frame, uf)) in sitd_slot_ok()
1430 uf = uframe; in sitd_slot_ok()
1432 for (tmp = stream->ps.cs_mask & 0xff; tmp; tmp >>= 1, uf++) { in sitd_slot_ok()
1433 if (ehci->bandwidth[uf] > max_used) in sitd_slot_ok()
1441 uf = uframe & ~7; in sitd_slot_ok()
1446 if (ehci->bandwidth[uf+i] > max_used) in sitd_slot_ok()
1691 struct ehci_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local
1699 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
1701 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1702 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1705 if (unlikely(uf->cross)) { in itd_patch()
1706 u64 bufp = uf->bufp + 4096; in itd_patch()
2109 struct ehci_iso_packet *uf = &iso_sched->packet[index]; in sitd_patch() local
2115 sitd->hw_results = uf->transaction; in sitd_patch()
2118 bufp = uf->bufp; in sitd_patch()
2122 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1); in sitd_patch()
2123 if (uf->cross) in sitd_patch()
2356 unsigned uf, now_frame, frame; in scan_isoc() local
2368 uf = ehci_read_frame_index(ehci); in scan_isoc()
2369 now_frame = (uf >> 3) & fmask; in scan_isoc()
2398 for (uf = 0; uf < 8; uf++) { in scan_isoc()
2399 if (q.itd->hw_transaction[uf] & in scan_isoc()
2403 if (uf < 8) { in scan_isoc()