Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A 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 …]
H A 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()
H A 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()
H A Dcdns3-gadget.c729 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_wa2_check_outq_status()
1066 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_stream_transfer()
1103 if (readl(&priv_dev->regs->ep_sts) & EP_STS_TRBERR) { in cdns3_rearm_drdy_if_needed()
1104 writel(EP_STS_TRBERR, &priv_dev->regs->ep_sts); in cdns3_rearm_drdy_if_needed()
1408 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_transfer()
1705 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1706 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
2472 reg = readl(&priv_dev->regs->ep_sts); in cdns3_gadget_ep_enable()
2527 readl_poll_timeout_atomic(&priv_dev->regs->ep_sts, val, in cdns3_gadget_ep_disable()
2768 u32 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in __cdns3_gadget_ep_set_halt()
H A Dcdnsp-gadget.c642 u32 ep_sts; in cdnsp_update_eps_configuration()
668 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_update_eps_configuration()
671 ep_sts == EP_STATE_DISABLED) || in cdnsp_update_eps_configuration()
672 (ep_sts != EP_STATE_DISABLED && ctrl_ctx->drop_flags)) in cdnsp_update_eps_configuration()
641 u32 ep_sts; cdnsp_update_eps_configuration() local
H A Dcdns3-gadget.h83 __le32 ep_sts; member
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-debug.h52 u32 ep_ists, u32 ep_sts, in cdns2_decode_dma_irq() argument
58 ep_ists, ep_name, ep_sts); in cdns2_decode_dma_irq()
60 if (ep_sts & DMA_EP_STS_IOC) in cdns2_decode_dma_irq()
62 if (ep_sts & DMA_EP_STS_ISP) in cdns2_decode_dma_irq()
64 if (ep_sts & DMA_EP_STS_DESCMIS) in cdns2_decode_dma_irq()
66 if (ep_sts & DMA_EP_STS_TRBERR) in cdns2_decode_dma_irq()
68 if (ep_sts & DMA_EP_STS_OUTSMM) in cdns2_decode_dma_irq()
70 if (ep_sts & DMA_EP_STS_ISOERR) in cdns2_decode_dma_irq()
72 if (ep_sts & DMA_EP_STS_DBUSY) in cdns2_decode_dma_irq()
74 if (DMA_EP_STS_CCS(ep_sts)) in cdns2_decode_dma_irq()
[all …]
H A Dcdns2-ep0.c71 writel(DMA_EP_STS_TRBERR, &regs->ep_sts); in cdns2_ep0_enqueue()
179 int ep_sts; in cdns2_req_ep0_handle_status() local
192 ep_sts = cdns2_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex)); in cdns2_req_ep0_handle_status()
193 pep = &pdev->eps[ep_sts]; in cdns2_req_ep0_handle_status()
485 ep_sts_reg = readl(&pdev->adma_regs->ep_sts); in cdns2_handle_ep0_interrupt()
486 writel(ep_sts_reg, &pdev->adma_regs->ep_sts); in cdns2_handle_ep0_interrupt()
H A Dcdns2-gadget.c701 &pdev->adma_regs->ep_sts); in cdns2_set_drdy()
704 if (readl(&pdev->adma_regs->ep_sts) & DMA_EP_STS_TRBERR) { in cdns2_set_drdy()
705 writel(DMA_EP_STS_TRBERR, &pdev->adma_regs->ep_sts); in cdns2_set_drdy()
734 hw_ccs = !!DMA_EP_STS_CCS(readl(&pdev->adma_regs->ep_sts)); in cdns2_prepare_first_isoc_transfer()
1084 ep_sts_reg = readl(&pdev->adma_regs->ep_sts); in cdns2_handle_epx_interrupt()
1085 writel(ep_sts_reg, &pdev->adma_regs->ep_sts); in cdns2_handle_epx_interrupt()
1107 readl_poll_timeout_atomic(&pdev->adma_regs->ep_sts, val, in cdns2_handle_epx_interrupt()
1191 writel(0, &pdev->adma_regs->ep_sts); in cdns2_usb_irq_handler()
1597 reg = readl(&pdev->adma_regs->ep_sts); in cdns2_gadget_ep_enable()
1643 readl_poll_timeout_atomic(&pdev->adma_regs->ep_sts, va in cdns2_gadget_ep_disable()
[all...]
H A Dcdns2-gadget.h338 __le32 ep_sts; member