Lines Matching refs:base
119 outb(index, host->base + WBSD_IDXR);
120 outb(value, host->base + WBSD_DATAR);
125 outb(index, host->base + WBSD_IDXR);
126 return inb(host->base + WBSD_DATAR);
159 outb(WBSD_POWER_N, host->base + WBSD_CSR);
169 if (inb(host->base + WBSD_CSR) & WBSD_CARDPRESENT)
184 outb(ier, host->base + WBSD_EIR);
189 inb(host->base + WBSD_ISR);
375 outb(cmd->opcode, host->base + WBSD_CMDR);
377 outb((cmd->arg >> (i * 8)) & 0xff, host->base + WBSD_CMDR);
440 while (!((fsr = inb(host->base + WBSD_FSR)) & WBSD_FIFO_EMPTY)) {
453 *buffer = inb(host->base + WBSD_DFR);
503 while (!((fsr = inb(host->base + WBSD_FSR)) & WBSD_FIFO_FULL)) {
516 outb(*buffer, host->base + WBSD_DFR);
900 pwr = inb(host->base + WBSD_CSR);
902 outb(pwr, host->base + WBSD_CSR);
944 csr = inb(host->base + WBSD_CSR);
946 outb(csr, host->base + WBSD_CSR);
950 csr = inb(host->base + WBSD_CSR);
952 outb(csr, host->base + WBSD_CSR);
1030 csr = inb(host->base + WBSD_CSR);
1175 isr = inb(host->base + WBSD_ISR);
1361 static int __devinit wbsd_request_region(struct wbsd_host *host, int base)
1363 if (base & 0x7)
1366 if (!request_region(base, 8, DRIVER_NAME))
1369 host->base = base;
1376 if (host->base)
1377 release_region(host->base, 8);
1379 host->base = 0;
1521 int base, int irq, int dma)
1528 ret = wbsd_request_region(host, base);
1585 wbsd_write_config(host, WBSD_CONF_PORT_HI, host->base >> 8);
1586 wbsd_write_config(host, WBSD_CONF_PORT_LO, host->base & 0xff);
1608 int base, irq, dma;
1620 base = wbsd_read_config(host, WBSD_CONF_PORT_HI) << 8;
1621 base |= wbsd_read_config(host, WBSD_CONF_PORT_LO);
1632 if (base != host->base)
1662 static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma,
1694 ret = wbsd_request_resources(host, base, irq, dma);
1741 printk(" at 0x%x irq %d", (int)host->base, (int)host->irq);
2059 MODULE_PARM_DESC(io, "I/O base to allocate. Must be 8 byte aligned. (default 0x248)");