Lines Matching refs:base
121 /* Virtual base address of the controller */
122 void __iomem *base;
137 void __iomem *base;
151 writel_relaxed(val, mcspi->base + idx);
158 return readl_relaxed(mcspi->base + idx);
166 writel_relaxed(val, cs->base + idx);
173 return readl_relaxed(cs->base + idx);
447 void __iomem *chstat_reg = cs->base + OMAP2_MCSPI_CHSTAT0;
655 irqstat_reg = mcspi->base + OMAP2_MCSPI_IRQSTATUS;
667 chstat_reg = cs->base + OMAP2_MCSPI_CHSTAT0;
694 void __iomem *base = cs->base;
708 tx_reg = base + OMAP2_MCSPI_TX0;
709 rx_reg = base + OMAP2_MCSPI_RX0;
710 chstat_reg = base + OMAP2_MCSPI_CHSTAT0;
1068 cs->base = mcspi->base + spi_get_chipselect(spi, 0) * 0x14;
1215 writel_relaxed(0, cs->base
1281 cs->base + OMAP2_MCSPI_CHCONF0);
1282 readl_relaxed(cs->base + OMAP2_MCSPI_CHCONF0);
1381 cs->base + OMAP2_MCSPI_CHCONF0);
1384 cs->base + OMAP2_MCSPI_CHCONF0);
1387 cs->base + OMAP2_MCSPI_CHCONF0);
1481 mcspi->base = devm_platform_get_and_ioremap_resource(pdev, 0, &r);
1482 if (IS_ERR(mcspi->base)) {
1483 status = PTR_ERR(mcspi->base);
1487 mcspi->base += regs_offset;