Home
last modified time | relevance | path

Searched refs:uframes (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/usb/
H A Dhcd-ehci.c2238 static void ehci_update_frindex(EHCIState *ehci, int uframes) in ehci_update_frindex() argument
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()
2270 uint64_t uframes, skipped_uframes; in ehci_work_bh() local
2280 uframes = ns_elapsed / UFRAME_TIMER_NS; in ehci_work_bh()
2285 if (uframes > (ehci->maxframes * 8)) { in ehci_work_bh()
2289 uframes -= skipped_uframes; in ehci_work_bh()
2293 for (i = 0; i < uframes; i++) { in ehci_work_bh()
2318 ehci_update_frindex(ehci, uframes); in ehci_work_bh()
[all …]