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()
1394 unsigned frame, uf; in sitd_slot_ok() local
1414 uf = uframe & 7; in sitd_slot_ok()
1415 if (!tt_available(ehci, &stream->ps, tt, frame, uf)) in sitd_slot_ok()
1431 uf = uframe; in sitd_slot_ok()
1433 for (tmp = stream->ps.cs_mask & 0xff; tmp; tmp >>= 1, uf++) { in sitd_slot_ok()
1434 if (ehci->bandwidth[uf] > max_used) in sitd_slot_ok()
1442 uf = uframe & ~7; in sitd_slot_ok()
1447 if (ehci->bandwidth[uf+i] > max_used) in sitd_slot_ok()
1692 struct ehci_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local
1700 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
1702 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1703 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1706 if (unlikely(uf->cross)) { in itd_patch()
1707 u64 bufp = uf->bufp + 4096; in itd_patch()
2110 struct ehci_iso_packet *uf = &iso_sched->packet[index]; in sitd_patch() local
2116 sitd->hw_results = uf->transaction; in sitd_patch()
2119 bufp = uf->bufp; in sitd_patch()
2123 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1); in sitd_patch()
2124 if (uf->cross) in sitd_patch()
2357 unsigned uf, now_frame, frame; in scan_isoc() local
2369 uf = ehci_read_frame_index(ehci); in scan_isoc()
2370 now_frame = (uf >> 3) & fmask; in scan_isoc()
2399 for (uf = 0; uf < 8; uf++) { in scan_isoc()
2400 if (q.itd->hw_transaction[uf] & in scan_isoc()
2404 if (uf < 8) { in scan_isoc()