Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Dci_udc.h14 u32 usbsts; /* 0x134 */ member
35 u32 usbsts; /* 0x144 */ member
H A Dci_udc.c797 unsigned n = readl(&udc->usbsts); in udc_irq()
798 writel(n, &udc->usbsts); in udc_irq()
868 value = readl(&udc->usbsts); in usb_gadget_handle_interrupts()
1060 return !!(readl(&udc->usbsts) & STS_URI); in dfu_usb_get_reset()
/openbmc/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.h205 uint32_t usbsts; member
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-ehci.h281 uint32_t usbsts; member
H A Dtrace-events87 usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
/openbmc/u-boot/arch/arm/include/asm/
H A Dehci-omap.h105 u32 usbsts; /* 0x14 */ member
/openbmc/u-boot/arch/arm/mach-rmobile/include/mach/
H A Dehci-rmobile.h135 u32 usbsts; /* usbsts */ member
/openbmc/u-boot/include/usb/
H A Dehci-ci.h201 u32 usbsts; /* 0x144 - USB Status */ member
/openbmc/u-boot/drivers/usb/host/
H A Dehci-hcd.c310 uint32_t endpt, maxpacket, token, usbsts; in ehci_submit_async() local
557 usbsts = ehci_readl(&ctrl->hcor->or_usbsts); in ehci_submit_async()
558 ehci_writel(&ctrl->hcor->or_usbsts, (usbsts & 0x3f)); in ehci_submit_async()