Lines Matching refs:base
46 void __iomem *base;
60 iowrite16(ioread16(dev->base + SMCR) | SMCR_IEIC, dev->base + SMCR);
65 iowrite16(ioread16(dev->base + SMCR) & ~SMCR_IEIC, dev->base + SMCR);
70 iowrite16(ioread16(dev->base + SMCR) | SMCR_START, dev->base + SMCR);
75 iowrite16(ioread16(dev->base + SMCR) | SMCR_IRIC, dev->base + SMCR);
82 smmr = ioread16(dev->base + SMMR);
90 iowrite16(smmr, dev->base + SMMR);
124 iowrite16(cmd, dev->base + SMSADR + i);
134 while (ioread16(dev->base + SMCR) & SMCR_BBSY) {
148 iowrite16(ioread16(dev->base + SMCR) | SMCR_RST, dev->base + SMCR);
154 u16 tmp = ioread16(dev->base + SMCR);
181 smcr = ioread16(dev->base + SMCR);
247 data[i] = ioread16(dev->base + SMTRDR + (i * sizeof(u16)));
267 iowrite16(data[i], dev->base + SMTRDR + (i * sizeof(u16)));
312 tmp = ioread16(dev->base + SMMR);
333 iowrite16(tmp, dev->base + SMMR);
339 iowrite16((addr << 1) | read_write, dev->base + SMSMADR);
376 dev->base = ioremap_nocache(res->start, resource_size(res));
377 if (unlikely(!dev->base)) {
435 iounmap(dev->base);
453 iounmap(dev->base);