Lines Matching refs:virtbase

51 	void __iomem *virtbase;  member
249 void __iomem *virtbase = cohc->base->virtbase; in coh901318_set_ctrl() local
252 virtbase + COH901318_CX_CTRL + in coh901318_set_ctrl()
260 void __iomem *virtbase = cohc->base->virtbase; in coh901318_set_conf() local
263 virtbase + COH901318_CX_CFG + in coh901318_set_conf()
273 void __iomem *virtbase = cohc->base->virtbase; in coh901318_start() local
277 val = readl(virtbase + COH901318_CX_CFG + in coh901318_start()
282 writel(val, virtbase + COH901318_CX_CFG + in coh901318_start()
292 void __iomem *virtbase = cohc->base->virtbase; in coh901318_prep_linked_list() local
294 BUG_ON(readl(virtbase + COH901318_CX_STAT + in coh901318_prep_linked_list()
299 virtbase + COH901318_CX_SRC_ADDR + in coh901318_prep_linked_list()
302 writel(lli->dst_addr, virtbase + in coh901318_prep_linked_list()
306 writel(lli->link_addr, virtbase + COH901318_CX_LNK_ADDR + in coh901318_prep_linked_list()
309 writel(lli->control, virtbase + COH901318_CX_CTRL + in coh901318_prep_linked_list()
448 left = readl(cohc->base->virtbase + in coh901318_get_bytes_left()
454 ladd = readl(cohc->base->virtbase + in coh901318_get_bytes_left()
506 void __iomem *virtbase = cohc->base->virtbase; in coh901318_pause() local
511 val = readl(virtbase + COH901318_CX_CFG + in coh901318_pause()
522 writel(val, virtbase + COH901318_CX_CFG + in coh901318_pause()
524 writel(val, virtbase + COH901318_CX_CFG + in coh901318_pause()
528 while (readl(virtbase + COH901318_CX_STAT+COH901318_CX_STAT_SPACING * in coh901318_pause()
533 if ((readl(virtbase + COH901318_CX_CTRL+COH901318_CX_CTRL_SPACING * in coh901318_pause()
558 val = readl(cohc->base->virtbase + COH901318_CX_CFG + in coh901318_resume()
563 writel(val, cohc->base->virtbase + COH901318_CX_CFG + in coh901318_resume()
592 void __iomem *virtbase = cohc->base->virtbase; in coh901318_config() local
603 writel(1 << channel, virtbase + COH901318_BE_INT_CLEAR1); in coh901318_config()
604 writel(1 << channel, virtbase + COH901318_TC_INT_CLEAR1); in coh901318_config()
606 writel(1 << (channel - 32), virtbase + in coh901318_config()
608 writel(1 << (channel - 32), virtbase + in coh901318_config()
787 void __iomem *virtbase = base->virtbase; in dma_irq_handler() local
789 status1 = readl(virtbase + COH901318_INT_STATUS1); in dma_irq_handler()
790 status2 = readl(virtbase + COH901318_INT_STATUS2); in dma_irq_handler()
812 if (test_bit(i, virtbase + COH901318_BE_INT_STATUS1)) { in dma_irq_handler()
817 __set_bit(i, virtbase + COH901318_BE_INT_CLEAR1); in dma_irq_handler()
820 if (unlikely(!test_bit(i, virtbase + in dma_irq_handler()
826 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1); in dma_irq_handler()
829 if (!(readl(virtbase + COH901318_CX_STAT + in dma_irq_handler()
839 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1); in dma_irq_handler()
858 if (test_bit(i, virtbase + COH901318_BE_INT_STATUS2)) { in dma_irq_handler()
863 __set_bit(i, virtbase + COH901318_BE_INT_CLEAR2); in dma_irq_handler()
866 if (unlikely(!test_bit(i, virtbase + in dma_irq_handler()
871 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2); in dma_irq_handler()
875 if (!(readl(virtbase + COH901318_CX_STAT + in dma_irq_handler()
884 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2); in dma_irq_handler()
928 writel(0x00000000U, cohc->base->virtbase + COH901318_CX_CFG + in coh901318_free_chan_resources()
930 writel(0x00000000U, cohc->base->virtbase + COH901318_CX_CTRL + in coh901318_free_chan_resources()
1326 void __iomem *virtbase = cohc->base->virtbase; in coh901318_control() local
1355 writel(1 << cohc->id, virtbase + COH901318_BE_INT_CLEAR1); in coh901318_control()
1356 writel(1 << cohc->id, virtbase + COH901318_TC_INT_CLEAR1); in coh901318_control()
1358 writel(1 << (cohc->id - 32), virtbase + in coh901318_control()
1360 writel(1 << (cohc->id - 32), virtbase + in coh901318_control()
1464 base->virtbase = ioremap(io->start, resource_size(io)); in coh901318_probe()
1465 if (!base->virtbase) { in coh901318_probe()
1542 (u32) base->virtbase); in coh901318_probe()
1554 iounmap(base->virtbase); in coh901318_probe()
1574 iounmap(base->virtbase); in coh901318_remove()