Home
last modified time | relevance | path

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

/drivers/usb/cdns3/
Dcdns3-debug.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 …]
Dcdns3-trace.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)
Dcdnsp-ep0.c149 int ep_sts = 0; in cdnsp_ep0_handle_status() local
172 ep_sts = cdnsp_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex)); in cdnsp_ep0_handle_status()
173 pep = &pdev->eps[ep_sts]; in cdnsp_ep0_handle_status()
174 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_ep0_handle_status()
177 if (ep_sts == EP_STATE_HALTED) in cdnsp_ep0_handle_status()
Dcdns3-ep0.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()
Dcdns3-gadget.c728 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_wa2_check_outq_status()
1064 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_stream_transfer()
1101 if (readl(&priv_dev->regs->ep_sts) & EP_STS_TRBERR) { in cdns3_rearm_drdy_if_needed()
1102 writel(EP_STS_TRBERR, &priv_dev->regs->ep_sts); in cdns3_rearm_drdy_if_needed()
1405 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_transfer()
1702 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1703 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
2469 reg = readl(&priv_dev->regs->ep_sts); in cdns3_gadget_ep_enable()
2524 readl_poll_timeout_atomic(&priv_dev->regs->ep_sts, val, in cdns3_gadget_ep_disable()
2763 u32 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in __cdns3_gadget_ep_set_halt()
Dcdnsp-gadget.c641 u32 ep_sts; in cdnsp_update_eps_configuration() local
667 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_update_eps_configuration()
670 ep_sts == EP_STATE_DISABLED) || in cdnsp_update_eps_configuration()
671 (ep_sts != EP_STATE_DISABLED && ctrl_ctx->drop_flags)) in cdnsp_update_eps_configuration()
Dcdns3-gadget.h83 __le32 ep_sts; member