Home
last modified time | relevance | path

Searched refs:adma_regs (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c79 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma; in cdns2_get_dma_pos()
96 writel(ep, &pdev->adma_regs->ep_sel); in cdns2_select_ep()
160 writel(DMA_EP_CMD_DFLUSH, &pdev->adma_regs->ep_cmd); in cdns2_ep_stall_flush()
163 readl_poll_timeout_atomic(&pdev->adma_regs->ep_cmd, val, in cdns2_ep_stall_flush()
288 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_wa1_update_guard()
308 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_wa1_tray_restore_cycle_bit()
333 doorbell = !!(readl(&pdev->adma_regs->ep_cmd) & DMA_EP_CMD_DRDY); in cdns2_prepare_ring()
700 &pdev->adma_regs->ep_sts); in cdns2_set_drdy()
701 writel(DMA_EP_CMD_DRDY, &pdev->adma_regs->ep_cmd); in cdns2_set_drdy()
703 if (readl(&pdev->adma_regs->ep_sts) & DMA_EP_STS_TRBERR) { in cdns2_set_drdy()
[all …]
H A Dcdns2-ep0.c44 struct cdns2_adma_regs __iomem *regs = pdev->adma_regs; in cdns2_ep0_enqueue()
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()
634 writel(DMA_EP_CFG_ENABLE, &pdev->adma_regs->ep_cfg); in cdns2_ep0_config()
638 writel(DMA_EP_CFG_ENABLE, &pdev->adma_regs->ep_cfg); in cdns2_ep0_config()
642 &pdev->adma_regs->ep_ien); in cdns2_ep0_config()
H A Dcdns2-gadget.h664 struct cdns2_adma_regs __iomem *adma_regs; member