Lines Matching defs:win0base
60 u8 __iomem *win0base; /* ISA window base address */
85 #define sca_in(reg, card) readb((card)->win0base + C101_SCA + (reg))
86 #define sca_out(value, reg, card) writeb(value, (card)->win0base + C101_SCA + (reg))
87 #define sca_inw(reg, card) readw((card)->win0base + C101_SCA + (reg))
91 writeb(value & 0xFF, (card)->win0base + C101_SCA + (reg)); \
92 writeb((value >> 8 ) & 0xFF, (card)->win0base + C101_SCA + (reg + 1));\
99 #define win0base(card) ((card)->win0base)
100 #define winbase(card) ((card)->win0base + 0x2000)
113 writeb(page, card->win0base + C101_PAGE);
194 writeb(1, port->win0base + C101_DTR);
217 writeb(0, port->win0base + C101_DTR);
285 readb(card->win0base + C101_PAGE); /* Resets SCA? */
290 if (card->win0base) {
291 iounmap(card->win0base);
351 card->win0base = ioremap(winbase, C101_MAPPED_RAM_SIZE);
352 if (!card->win0base) {
362 readb(card->win0base + C101_PAGE); /* Resets SCA? */
364 writeb(0, card->win0base + C101_PAGE);
365 writeb(0, card->win0base + C101_DTR); /* Power-up for RAM? */