Lines Matching refs:base
53 void __iomem *base;
118 if (readl(host->base + MMC_STAT) & STAT_CLK_EN) {
122 writel(STOP_CLOCK, host->base + MMC_STRPCL);
125 v = readl(host->base + MMC_STAT);
142 writel(host->imask, host->base + MMC_I_MASK);
152 writel(host->imask, host->base + MMC_I_MASK);
171 writel(nob, host->base + MMC_NOB);
172 writel(data->blksz, host->base + MMC_BLKLEN);
177 writel((timeout + 255) / 256, host->base + MMC_RDTO);
255 writel(cmd->opcode, host->base + MMC_CMD);
256 writel(cmd->arg >> 16, host->base + MMC_ARGH);
257 writel(cmd->arg & 0xffff, host->base + MMC_ARGL);
258 writel(cmdat, host->base + MMC_CMDAT);
259 writel(host->clkrt, host->base + MMC_CLKRT);
261 writel(START_CLOCK, host->base + MMC_STRPCL);
289 v = readl(host->base + MMC_RES) & 0xffff;
291 u32 w1 = readl(host->base + MMC_RES) & 0xffff;
292 u32 w2 = readl(host->base + MMC_RES) & 0xffff;
379 ireg = readl(host->base + MMC_I_REG) & ~readl(host->base + MMC_I_MASK);
382 unsigned stat = readl(host->base + MMC_STAT);
549 writel(BUF_PART_FULL, host->base + MMC_PRTBUF);
688 host->base = devm_platform_get_and_ioremap_resource(pdev, 0, &r);
689 if (IS_ERR(host->base)) {
690 ret = PTR_ERR(host->base);
700 writel(0, host->base + MMC_SPI);
701 writel(64, host->base + MMC_RESTO);
702 writel(host->imask, host->base + MMC_I_MASK);
800 host->base + MMC_I_MASK);