Lines Matching refs:frindex
211 trace_usb_ehci_irq(level, s->frindex, s->usbsts, s->usbintr); in ehci_update_irq()
237 if (s->usbsts_frindex > s->frindex) { in ehci_commit_irq()
244 s->usbsts_frindex = s->frindex + itc; in ehci_commit_irq()
918 val = s->frindex & ~7; in ehci_opreg_read()
2198 if (!(ehci->frindex & 7) && ehci_periodic_enabled(ehci)) { in ehci_advance_periodic_state()
2205 if (!(ehci->frindex & 7) && !ehci_periodic_enabled(ehci)) { in ehci_advance_periodic_state()
2216 list |= ((ehci->frindex & 0x1ff8) >> 1); in ehci_advance_periodic_state()
2223 ehci->frindex / 8, list, entry); in ehci_advance_periodic_state()
2245 if ((ehci->frindex % 0x2000) + uframes >= 0x2000) { in ehci_update_frindex()
2252 int rollovers = (ehci->frindex + uframes) / 0x4000; in ehci_update_frindex()
2261 ehci->frindex = (ehci->frindex + uframes) % 0x4000; in ehci_update_frindex()
2311 if ((ehci->frindex & 7) == 0) { in ehci_work_bh()
2418 new_frindex = ehci->frindex & ~7; in usb_ehci_pre_save()
2419 ehci->last_run_ns -= (ehci->frindex - new_frindex) * UFRAME_TIMER_NS; in usb_ehci_pre_save()
2420 ehci->frindex = new_frindex; in usb_ehci_pre_save()
2484 VMSTATE_UINT32(frindex, EHCIState),