Lines Matching refs:devcfg_base
160 writel((u32)srcbuf, &devcfg_base->dma_src_addr); in zynq_dma_transfer()
161 writel(dstbuf, &devcfg_base->dma_dst_addr); in zynq_dma_transfer()
162 writel(srclen, &devcfg_base->dma_src_len); in zynq_dma_transfer()
163 writel(dstlen, &devcfg_base->dma_dst_len); in zynq_dma_transfer()
165 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_transfer()
174 readl(&devcfg_base->write_count)); in zynq_dma_transfer()
176 readl(&devcfg_base->read_count)); in zynq_dma_transfer()
185 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_transfer()
191 writel(DEVCFG_ISR_DMA_DONE, &devcfg_base->int_sts); in zynq_dma_transfer()
202 clrbits_le32(&devcfg_base->mctrl, DEVCFG_MCTRL_PCAP_LPBK); in zynq_dma_xfer_init()
208 control = readl(&devcfg_base->ctrl); in zynq_dma_xfer_init()
209 writel(control | DEVCFG_CTRL_PCFG_PROG_B, &devcfg_base->ctrl); in zynq_dma_xfer_init()
219 writel(control & ~DEVCFG_CTRL_PCFG_PROG_B, &devcfg_base->ctrl); in zynq_dma_xfer_init()
230 while (readl(&devcfg_base->status) & DEVCFG_STATUS_PCFG_INIT) { in zynq_dma_xfer_init()
239 writel(control | DEVCFG_CTRL_PCFG_PROG_B, &devcfg_base->ctrl); in zynq_dma_xfer_init()
243 while (!(readl(&devcfg_base->status) & in zynq_dma_xfer_init()
253 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_xfer_init()
256 writel(0xFFFFFFFF, &devcfg_base->int_sts); in zynq_dma_xfer_init()
263 writel(DEVCFG_MCTRL_RFIFO_FLUSH, &devcfg_base->mctrl); in zynq_dma_xfer_init()
264 writel(0xFFFFFFFF, &devcfg_base->int_sts); in zynq_dma_xfer_init()
269 status = readl(&devcfg_base->status); in zynq_dma_xfer_init()
281 if (!(readl(&devcfg_base->int_sts) & DEVCFG_ISR_DMA_DONE)) { in zynq_dma_xfer_init()
287 writel(DEVCFG_ISR_DMA_DONE, &devcfg_base->int_sts); in zynq_dma_xfer_init()
293 writel(DEVCFG_STATUS_DMA_DONE_CNT_MASK, &devcfg_base->status); in zynq_dma_xfer_init()
395 isr_status = readl(&devcfg_base->int_sts); in zynq_load()
404 isr_status = readl(&devcfg_base->int_sts); in zynq_load()
477 isr_status = readl(&devcfg_base->int_sts); in zynq_loadfs()
487 isr_status = readl(&devcfg_base->int_sts); in zynq_loadfs()
524 writel((readl(&devcfg_base->ctrl) | DEVCFG_CTRL_PCAP_RATE_EN_MASK), in zynq_decrypt_load()
525 &devcfg_base->ctrl); in zynq_decrypt_load()
543 writel((readl(&devcfg_base->ctrl) & ~DEVCFG_CTRL_PCAP_RATE_EN_MASK), in zynq_decrypt_load()
544 &devcfg_base->ctrl); in zynq_decrypt_load()