Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c136 timer_mod(s->eof_timer, s->sof_time + s->usb_frame_time); in dwc2_eof_timer()
142 s->sof_time += s->usb_frame_time; in dwc2_sof()
143 trace_usb_dwc2_sof(s->sof_time); in dwc2_sof()
160 frcnt = (uint16_t)((now - s->sof_time) / s->fi); in dwc2_frame_boundary()
172 s->sof_time = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in dwc2_bus_start()
540 tks = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - s->sof_time; in dwc2_get_frame_remaining()
1302 s->sof_time = 0; in dwc2_reset_enter()
1433 VMSTATE_INT64(sof_time, DWC2State),
H A Dhcd-ohci.h48 int64_t sof_time; member
H A Dhcd-dwc2.h162 int64_t sof_time; member
H A Dhcd-ohci.c1178 timer_mod(ohci->eof_timer, ohci->sof_time + usb_frame_time); in ohci_eof_timer()
1183 ohci->sof_time += usb_frame_time; in ohci_sof()
1286 ohci->sof_time = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in ohci_bus_start()
1364 tks = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - ohci->sof_time; in ohci_get_frame_remaining()
1996 VMSTATE_INT64(sof_time, OHCIState),