Home
last modified time | relevance | path

Searched refs:usbsts (Results 1 – 20 of 20) 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/linux/drivers/usb/host/
H A Dxhci.h2677 ret = sprintf(str, " 0x%08x", usbsts); in xhci_decode_usbsts()
2679 if (usbsts == ~(u32)0) in xhci_decode_usbsts()
2682 if (usbsts & STS_HALT) in xhci_decode_usbsts()
2684 if (usbsts & STS_FATAL) in xhci_decode_usbsts()
2686 if (usbsts & STS_EINT) in xhci_decode_usbsts()
2688 if (usbsts & STS_PORT) in xhci_decode_usbsts()
2690 if (usbsts & STS_SAVE) in xhci_decode_usbsts()
2692 if (usbsts & STS_RESTORE) in xhci_decode_usbsts()
2694 if (usbsts & STS_SRE) in xhci_decode_usbsts()
2696 if (usbsts & STS_CNR) in xhci_decode_usbsts()
[all …]
H A Dxhci-ring.c1645 u32 usbsts; in xhci_handle_command_timeout() local
1661 usbsts = readl(&xhci->op_regs->status); in xhci_handle_command_timeout()
1662 xhci_dbg(xhci, "Command timeout, USBSTS:%s\n", xhci_decode_usbsts(str, usbsts)); in xhci_handle_command_timeout()
/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()
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()
1664 if (ehci->usbsts & USBSTS_REC) { in ehci_state_fetchqh()
2154 if (ehci->usbsts & USBSTS_IAA) { in ehci_advance_async_state()
[all …]
H A Dhcd-xhci.h200 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()
844 xhci->usbsts &= ~USBSTS_HCH; in xhci_run()
851 xhci->usbsts |= USBSTS_HCH; in xhci_stop()
2693 if (!(xhci->usbsts & USBSTS_HCH)) { in xhci_reset()
2698 xhci->usbsts = USBSTS_HCH; in xhci_reset()
2900 ret = xhci->usbsts; in xhci_oper_read()
2948 xhci->usbsts &= ~USBSTS_SRE; in xhci_oper_write()
2952 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/linux/drivers/usb/phy/
H A Dphy-mv-usb.h107 u32 usbsts; /* Status register */ member
H A Dphy-fsl-usb.h302 u32 usbsts; /* USB Status Register */ member
H A Dphy-mv-usb.c159 tmp = readl(&mvotg->op_regs->usbsts); in mv_otg_reset()
160 writel(tmp, &mvotg->op_regs->usbsts); in mv_otg_reset()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dfsl_usb2_udc.h33 u32 usbsts; /* USB Status Register */ member
70 u32 usbsts; /* USB Status Register */ member
H A Dmv_udc.h142 u32 usbsts; /* Status register */ member
H A Dfsl_udc_core.c305 fsl_writel(0, &dr_regs->usbsts); in dr_controller_setup()
1871 irq_src = fsl_readl(&dr_regs->usbsts) & fsl_readl(&dr_regs->usbintr); in fsl_udc_irq()
1873 fsl_writel(irq_src, &dr_regs->usbsts); in fsl_udc_irq()
2046 tmp_reg = fsl_readl(&dr_regs->usbsts); in fsl_proc_read()
H A Dmv_udc_core.c2009 status = readl(&udc->op_regs->usbsts); in mv_udc_irq()
2019 writel(status, &udc->op_regs->usbsts); in mv_udc_irq()
2187 writel(0xFFFFFFFF, &udc->op_regs->usbsts); in mv_udc_probe()
/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()