Lines Matching refs:mmio_base
254 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_stop() local
255 void __iomem *bmdma2 = mmio_base + sil_port[ap->port_no].bmdma2; in sil_bmdma_stop()
280 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_start() local
281 void __iomem *bmdma2 = mmio_base + sil_port[ap->port_no].bmdma2; in sil_bmdma_start()
349 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_set_mode() local
350 void __iomem *addr = mmio_base + sil_port[ap->port_no].xfer_mode; in sil_set_mode()
510 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_interrupt() local
518 u32 bmdma2 = readl(mmio_base + sil_port[ap->port_no].bmdma2); in sil_interrupt()
539 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_freeze() local
543 writel(0, mmio_base + sil_port[ap->port_no].sien); in sil_freeze()
546 tmp = readl(mmio_base + SIL_SYSCFG); in sil_freeze()
548 writel(tmp, mmio_base + SIL_SYSCFG); in sil_freeze()
549 readl(mmio_base + SIL_SYSCFG); /* flush */ in sil_freeze()
567 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_thaw() local
576 writel(SIL_SIEN_N, mmio_base + sil_port[ap->port_no].sien); in sil_thaw()
579 tmp = readl(mmio_base + SIL_SYSCFG); in sil_thaw()
581 writel(tmp, mmio_base + SIL_SYSCFG); in sil_thaw()
654 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_controller() local
666 mmio_base + sil_port[i].fifo_cfg); in sil_init_controller()
676 tmp = readl(mmio_base + sil_port[i].sfis_cfg); in sil_init_controller()
682 writel(tmp & ~0x3, mmio_base + sil_port[i].sfis_cfg); in sil_init_controller()
689 tmp = readl(mmio_base + sil_port[2].bmdma); in sil_init_controller()
692 mmio_base + sil_port[2].bmdma); in sil_init_controller()
728 void __iomem *mmio_base; in sil_init_one() local
766 mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_one()
772 ioaddr->cmd_addr = mmio_base + sil_port[i].tf; in sil_init_one()
774 ioaddr->ctl_addr = mmio_base + sil_port[i].ctl; in sil_init_one()
775 ioaddr->bmdma_addr = mmio_base + sil_port[i].bmdma; in sil_init_one()
776 ioaddr->scr_addr = mmio_base + sil_port[i].scr; in sil_init_one()