Lines Matching refs:devcfg_base

164 	writel((u32)srcbuf, &devcfg_base->dma_src_addr);  in zynq_dma_transfer()
165 writel(dstbuf, &devcfg_base->dma_dst_addr); in zynq_dma_transfer()
166 writel(srclen, &devcfg_base->dma_src_len); in zynq_dma_transfer()
167 writel(dstlen, &devcfg_base->dma_dst_len); in zynq_dma_transfer()
169 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_transfer()
178 readl(&devcfg_base->write_count)); in zynq_dma_transfer()
180 readl(&devcfg_base->read_count)); in zynq_dma_transfer()
189 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_transfer()
195 writel(DEVCFG_ISR_DMA_DONE, &devcfg_base->int_sts); in zynq_dma_transfer()
206 clrbits_le32(&devcfg_base->mctrl, DEVCFG_MCTRL_PCAP_LPBK); in zynq_dma_xfer_init()
212 control = readl(&devcfg_base->ctrl); in zynq_dma_xfer_init()
213 writel(control | DEVCFG_CTRL_PCFG_PROG_B, &devcfg_base->ctrl); in zynq_dma_xfer_init()
223 writel(control & ~DEVCFG_CTRL_PCFG_PROG_B, &devcfg_base->ctrl); in zynq_dma_xfer_init()
234 while (readl(&devcfg_base->status) & DEVCFG_STATUS_PCFG_INIT) { in zynq_dma_xfer_init()
243 writel(control | DEVCFG_CTRL_PCFG_PROG_B, &devcfg_base->ctrl); in zynq_dma_xfer_init()
247 while (!(readl(&devcfg_base->status) & in zynq_dma_xfer_init()
257 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_xfer_init()
260 writel(0xFFFFFFFF, &devcfg_base->int_sts); in zynq_dma_xfer_init()
267 writel(DEVCFG_MCTRL_RFIFO_FLUSH, &devcfg_base->mctrl); in zynq_dma_xfer_init()
268 writel(0xFFFFFFFF, &devcfg_base->int_sts); in zynq_dma_xfer_init()
273 status = readl(&devcfg_base->status); in zynq_dma_xfer_init()
285 if (!(readl(&devcfg_base->int_sts) & DEVCFG_ISR_DMA_DONE)) { in zynq_dma_xfer_init()
291 writel(DEVCFG_ISR_DMA_DONE, &devcfg_base->int_sts); in zynq_dma_xfer_init()
297 writel(DEVCFG_STATUS_DMA_DONE_CNT_MASK, &devcfg_base->status); in zynq_dma_xfer_init()
399 isr_status = readl(&devcfg_base->int_sts); in zynq_load()
408 isr_status = readl(&devcfg_base->int_sts); in zynq_load()
481 isr_status = readl(&devcfg_base->int_sts); in zynq_loadfs()
491 isr_status = readl(&devcfg_base->int_sts); in zynq_loadfs()
527 if (!(readl(&devcfg_base->ctrl) & in zynq_decrypt_load()
538 writel((readl(&devcfg_base->ctrl) | DEVCFG_CTRL_PCAP_RATE_EN_MASK), in zynq_decrypt_load()
539 &devcfg_base->ctrl); in zynq_decrypt_load()
559 isr_status = readl(&devcfg_base->int_sts); in zynq_decrypt_load()
568 isr_status = readl(&devcfg_base->int_sts); in zynq_decrypt_load()