Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A Ddebug.h52 u32 ep_sts, in cdns3_decode_ep_irq() argument
57 ret = sprintf(str, "IRQ for %s: %08x ", ep_name, ep_sts); in cdns3_decode_ep_irq()
59 if (ep_sts & EP_STS_SETUP) in cdns3_decode_ep_irq()
61 if (ep_sts & EP_STS_IOC) in cdns3_decode_ep_irq()
63 if (ep_sts & EP_STS_ISP) in cdns3_decode_ep_irq()
65 if (ep_sts & EP_STS_DESCMIS) in cdns3_decode_ep_irq()
67 if (ep_sts & EP_STS_STREAMR) in cdns3_decode_ep_irq()
69 if (ep_sts & EP_STS_MD_EXIT) in cdns3_decode_ep_irq()
71 if (ep_sts & EP_STS_TRBERR) in cdns3_decode_ep_irq()
73 if (ep_sts & EP_STS_NRDY) in cdns3_decode_ep_irq()
[all …]
H A Dtrace.h123 __field(u32, ep_sts)
131 __entry->ep_sts = readl(&priv_dev->regs->ep_sts);
139 __entry->ep_sts),
151 TP_PROTO(struct cdns3_device *priv_dev, u32 ep_sts),
152 TP_ARGS(priv_dev, ep_sts),
155 __field(u32, ep_sts)
160 __entry->ep_sts = ep_sts;
164 __entry->ep_sts))
168 TP_PROTO(struct cdns3_device *priv_dev, u32 ep_sts),
169 TP_ARGS(priv_dev, ep_sts)
H A Dep0.c60 writel(EP_STS_TRBERR, &regs->ep_sts); in cdns3_ep0_run_transfer()
258 if (EP_STS_STALL(readl(&priv_dev->regs->ep_sts)) || in cdns3_req_ep0_get_status()
600 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_new_setup()
616 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep0_interrupt_proceed()
617 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep0_interrupt_proceed()
H A Dgadget.c745 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_wa2_check_outq_status()
1061 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_stream_transfer()
1098 if (readl(&priv_dev->regs->ep_sts) & EP_STS_TRBERR) { in cdns3_rearm_drdy_if_needed()
1099 writel(EP_STS_TRBERR, &priv_dev->regs->ep_sts); in cdns3_rearm_drdy_if_needed()
1353 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_transfer()
1640 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1641 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
2395 reg = readl(&priv_dev->regs->ep_sts); in cdns3_gadget_ep_enable()
2450 readl_poll_timeout_atomic(&priv_dev->regs->ep_sts, val, in cdns3_gadget_ep_disable()
2677 u32 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in __cdns3_gadget_ep_set_halt()
H A Dgadget.h82 __le32 ep_sts; member
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Ddebug.h53 u32 ep_sts, in cdns3_decode_ep_irq() argument
58 ret = sprintf(str, "IRQ for %s: %08x ", ep_name, ep_sts); in cdns3_decode_ep_irq()
60 if (ep_sts & EP_STS_SETUP) in cdns3_decode_ep_irq()
62 if (ep_sts & EP_STS_IOC) in cdns3_decode_ep_irq()
64 if (ep_sts & EP_STS_ISP) in cdns3_decode_ep_irq()
66 if (ep_sts & EP_STS_DESCMIS) in cdns3_decode_ep_irq()
68 if (ep_sts & EP_STS_STREAMR) in cdns3_decode_ep_irq()
70 if (ep_sts & EP_STS_MD_EXIT) in cdns3_decode_ep_irq()
72 if (ep_sts & EP_STS_TRBERR) in cdns3_decode_ep_irq()
74 if (ep_sts & EP_STS_NRDY) in cdns3_decode_ep_irq()
[all …]
H A Dep0.c69 writel(EP_STS_TRBERR, &regs->ep_sts); in cdns3_ep0_run_transfer()
277 if (EP_STS_STALL(readl(&priv_dev->regs->ep_sts))) in cdns3_req_ep0_get_status()
634 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_new_setup()
650 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep0_interrupt_proceed()
651 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep0_interrupt_proceed()
H A Dgadget.c994 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_transfer()
1213 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1214 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1857 reg = readl(&priv_dev->regs->ep_sts); in cdns3_gadget_ep_enable()
1911 readl_poll_timeout_atomic(&priv_dev->regs->ep_sts, val, in cdns3_gadget_ep_disable()
2130 u32 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in __cdns3_gadget_ep_set_halt()
H A Dgadget.h82 __le32 ep_sts; member