Lines Matching refs:base
33 void __iomem *base; \
55 writeb(0x02, priv(host)->base + CTRL); in NCR5380_pwrite()
61 status = readb(priv(host)->base + STAT); in NCR5380_pwrite()
80 writeb(0x12, priv(host)->base + CTRL); in NCR5380_pwrite()
85 status = readb(priv(host)->base + STAT); in NCR5380_pwrite()
95 status = readb(priv(host)->base + STAT); in NCR5380_pwrite()
106 writeb(priv(host)->ctrl | 0x40, priv(host)->base + CTRL); in NCR5380_pwrite()
118 writeb(0x00, priv(host)->base + CTRL); in NCR5380_pread()
123 status = readb(priv(host)->base + STAT); in NCR5380_pread()
142 writeb(0x10, priv(host)->base + CTRL); in NCR5380_pread()
147 status = readb(priv(host)->base + STAT); in NCR5380_pread()
157 status = readb(priv(host)->base + STAT); in NCR5380_pread()
168 writeb(priv(host)->ctrl | 0x40, priv(host)->base + CTRL); in NCR5380_pread()
174 void __iomem *base = priv(host)->base; in cumanascsi_read() local
177 writeb(0, base + CTRL); in cumanascsi_read()
179 val = readb(base + 0x2100 + (reg << 2)); in cumanascsi_read()
182 writeb(0x40, base + CTRL); in cumanascsi_read()
189 void __iomem *base = priv(host)->base; in cumanascsi_write() local
191 writeb(0, base + CTRL); in cumanascsi_write()
193 writeb(value, base + 0x2100 + (reg << 2)); in cumanascsi_write()
196 writeb(0x40, base + CTRL); in cumanascsi_write()
232 priv(host)->base = ioremap(ecard_resource_start(ec, ECARD_RES_IOCSLOW), in cumanascsi1_probe()
236 if (!priv(host)->base || !priv(host)->dma) { in cumanascsi1_probe()
246 writeb(0, priv(host)->base + CTRL); in cumanascsi1_probe()
272 iounmap(priv(host)->base); in cumanascsi1_probe()
290 iounmap(priv(host)->base); in cumanascsi1_remove()