Lines Matching refs:trca
317 val = readl(lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_reset()
320 writel(val, lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_reset()
326 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_reset()
476 val = readl(lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_enable()
479 writel(val, lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_enable()
481 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_enable()
503 writel(lldev->tre_write_offset, lldev->trca + HIDMA_TRCA_DOORBELL_REG); in hidma_ll_start()
511 val = readl(lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_isenabled()
560 val = readl(lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_disable()
563 writel(val, lldev->trca + HIDMA_TRCA_CTRLSTS_REG); in hidma_ll_disable()
569 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_disable()
667 writel(lower_32_bits(addr), lldev->trca + HIDMA_TRCA_RING_LOW_REG); in hidma_ll_setup()
668 writel(upper_32_bits(addr), lldev->trca + HIDMA_TRCA_RING_HIGH_REG); in hidma_ll_setup()
669 writel(lldev->tre_ring_size, lldev->trca + HIDMA_TRCA_RING_LEN_REG); in hidma_ll_setup()
710 void __iomem *trca, void __iomem *evca, in hidma_ll_init() argument
718 if (!trca || !evca || !dev || !nr_tres) in hidma_ll_init()
733 lldev->trca = trca; in hidma_ll_init()