/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-debug.h | 52 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 D | cdns3-trace.h | 122 __field(u32, ep_sts) 129 __entry->ep_sts = readl(&priv_dev->regs->ep_sts); 137 __entry->ep_sts), 149 TP_PROTO(struct cdns3_device *priv_dev, u32 ep_sts), 150 TP_ARGS(priv_dev, ep_sts), 153 __field(u32, ep_sts) 157 __entry->ep_sts = ep_sts; 161 __entry->ep_sts)) 165 TP_PROTO(struct cdns3_device *priv_dev, u32 ep_sts), 166 TP_ARGS(priv_dev, ep_sts)
|
H A D | cdnsp-ep0.c | 149 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 D | cdns3-ep0.c | 60 writel(EP_STS_TRBERR, ®s->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 D | cdns3-gadget.c | 729 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() 1407 writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts); in cdns3_ep_run_transfer() 1704 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed() 1705 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed() 2471 reg = readl(&priv_dev->regs->ep_sts); in cdns3_gadget_ep_enable() 2526 readl_poll_timeout_atomic(&priv_dev->regs->ep_sts, val, in cdns3_gadget_ep_disable() 2767 u32 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in __cdns3_gadget_ep_set_halt()
|
H A D | cdnsp-gadget.c | 641 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()
|
H A D | cdns3-gadget.h | 83 __le32 ep_sts; member
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-debug.h | 52 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 D | cdns2-trace.h | 194 __field(u32, ep_sts) 200 __entry->ep_sts = readl(&pdev->adma_regs->ep_sts); 207 __entry->ep_ists, __entry->ep_sts), 222 __field(u32, ep_sts) 227 __entry->ep_sts = readl(&pdev->adma_regs->ep_sts); 231 __entry->ep_ists, __entry->ep_sts,
|
H A D | cdns2-ep0.c | 71 writel(DMA_EP_STS_TRBERR, ®s->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 D | cdns2-gadget.c | 700 &pdev->adma_regs->ep_sts); in cdns2_set_drdy() 703 if (readl(&pdev->adma_regs->ep_sts) & DMA_EP_STS_TRBERR) { in cdns2_set_drdy() 704 writel(DMA_EP_STS_TRBERR, &pdev->adma_regs->ep_sts); in cdns2_set_drdy() 733 hw_ccs = !!DMA_EP_STS_CCS(readl(&pdev->adma_regs->ep_sts)); in cdns2_prepare_first_isoc_transfer() 1083 ep_sts_reg = readl(&pdev->adma_regs->ep_sts); in cdns2_handle_epx_interrupt() 1084 writel(ep_sts_reg, &pdev->adma_regs->ep_sts); in cdns2_handle_epx_interrupt() 1106 readl_poll_timeout_atomic(&pdev->adma_regs->ep_sts, val, in cdns2_handle_epx_interrupt() 1190 writel(0, &pdev->adma_regs->ep_sts); in cdns2_usb_irq_handler() 1596 reg = readl(&pdev->adma_regs->ep_sts); in cdns2_gadget_ep_enable() 1642 readl_poll_timeout_atomic(&pdev->adma_regs->ep_sts, val, in cdns2_gadget_ep_disable()
|
H A D | cdns2-gadget.h | 338 __le32 ep_sts; member
|