Home
last modified time | relevance | path

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

/qemu/hw/usb/
H A Dhcd-ehci.c186 if ((s->usbsts & mask) == mask) { in ehci_set_usbsts()
190 s->usbsts |= mask; in ehci_set_usbsts()
195 if ((s->usbsts & mask) == 0) { in ehci_clear_usbsts()
199 s->usbsts &= ~mask; in ehci_clear_usbsts()
207 if ((s->usbsts & USBINTR_MASK) & s->usbintr) { in ehci_update_irq()
211 trace_usb_ehci_irq(level, s->frindex, s->usbsts, s->usbintr); in ehci_update_irq()
219 s->usbsts |= intr; in ehci_raise_irq()
242 s->usbsts |= s->usbsts_pending; in ehci_commit_irq()
872 s->usbsts = USBSTS_HALT; in ehci_reset()
1070 val = s->usbsts; in ehci_opreg_write()
[all …]
H A Dhcd-xhci.c468 xhci->usbsts |= USBSTS_HCE; in xhci_die()
583 xhci->usbsts |= USBSTS_EINT; in xhci_intr_raise()
604 return !(xhci->usbsts & USBSTS_HCH); in xhci_running()
849 xhci->usbsts &= ~USBSTS_HCH; in xhci_run()
856 xhci->usbsts |= USBSTS_HCH; in xhci_stop()
2699 if (!(xhci->usbsts & USBSTS_HCH)) { in xhci_reset()
2704 xhci->usbsts = USBSTS_HCH; in xhci_reset()
2925 ret = xhci->usbsts; in xhci_oper_read()
2973 xhci->usbsts &= ~USBSTS_SRE; in xhci_oper_write()
2977 xhci->usbsts |= USBSTS_SRE; in xhci_oper_write()
[all …]
H A Dhcd-xhci.h205 uint32_t usbsts; member
H A Dhcd-ehci.h281 uint32_t usbsts; member
H A Dtrace-events87 usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"