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()
1392 unsigned frame, uf; in sitd_slot_ok() local
1412 uf = uframe & 7; in sitd_slot_ok()
1413 if (!tt_available(ehci, &stream->ps, tt, frame, uf)) in sitd_slot_ok()
1429 uf = uframe; in sitd_slot_ok()
1431 for (tmp = stream->ps.cs_mask & 0xff; tmp; tmp >>= 1, uf++) { in sitd_slot_ok()
1432 if (ehci->bandwidth[uf] > max_used) in sitd_slot_ok()
1440 uf = uframe & ~7; in sitd_slot_ok()
1445 if (ehci->bandwidth[uf+i] > max_used) in sitd_slot_ok()
1690 struct ehci_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local
1698 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
1700 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1701 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1704 if (unlikely(uf->cross)) { in itd_patch()
1705 u64 bufp = uf->bufp + 4096; in itd_patch()
2108 struct ehci_iso_packet *uf = &iso_sched->packet[index]; in sitd_patch() local
2114 sitd->hw_results = uf->transaction; in sitd_patch()
2117 bufp = uf->bufp; in sitd_patch()
2121 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1); in sitd_patch()
2122 if (uf->cross) in sitd_patch()
2355 unsigned uf, now_frame, frame; in scan_isoc() local
2367 uf = ehci_read_frame_index(ehci); in scan_isoc()
2368 now_frame = (uf >> 3) & fmask; in scan_isoc()
2397 for (uf = 0; uf < 8; uf++) { in scan_isoc()
2398 if (q.itd->hw_transaction[uf] & in scan_isoc()
2402 if (uf < 8) { in scan_isoc()