Lines Matching refs:iobase
246 int iobase; /* This adapter's I/O base address */ member
301 unsigned iobase; /* I/O base address */ member
676 configs[wd7000_card_num].iobase = ints[3]; in wd7000_setup()
709 if (configs[i].iobase == configs[j].iobase) { in wd7000_setup()
717 …00_card_num].irq, configs[wd7000_card_num].dma, configs[wd7000_card_num].iobase, configs[wd7000_ca… in wd7000_setup()
741 outb(host->control, host->iobase + ASC_CONTROL); in wd7000_enable_intr()
749 outb(host->control, host->iobase + ASC_CONTROL); in wd7000_enable_dma()
779 if (!WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) { in command_out()
782 outb(*cmd, host->iobase + ASC_COMMAND); in command_out()
783 WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0); in command_out()
784 } while (inb(host->iobase + ASC_STAT) & CMD_REJ); in command_out()
996 #define wd7000_intr_ack(host) outb (0, host->iobase + ASC_INTR_ACK)
1015 flag = inb(host->iobase + ASC_INTR_STAT); in wd7000_intr()
1019 if (!(inb(host->iobase + ASC_STAT) & INT_IM)) { in wd7000_intr()
1195 outb(ASC_RES, host->iobase + ASC_CONTROL); in wd7000_adapter_reset()
1197 outb(0, host->iobase + ASC_CONTROL); in wd7000_adapter_reset()
1200 if (WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) { in wd7000_adapter_reset()
1205 if ((diag = inb(host->iobase + ASC_INTR_STAT)) != 1) { in wd7000_adapter_reset()
1242 if (WAIT(host->iobase + ASC_STAT, ASC_STATMASK, ASC_INIT, 0)) { in wd7000_adapter_reset()
1321 seq_printf(m, " IO base: 0x%x\n", adapter->iobase); in wd7000_show_info()
1380 unsigned iobase; in wd7000_detect() local
1448 iobase = configs[pass].iobase; in wd7000_detect()
1450 dprintk("wd7000_detect: check IO 0x%x region...\n", iobase); in wd7000_detect()
1452 if (request_region(iobase, 4, "wd7000")) { in wd7000_detect()
1454 dprintk("wd7000_detect: ASC reset (IO 0x%x) ...", iobase); in wd7000_detect()
1458 outb(ASC_RES, iobase + ASC_CONTROL); in wd7000_detect()
1460 outb(0, iobase + ASC_CONTROL); in wd7000_detect()
1462 if (WAIT(iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) { in wd7000_detect()
1468 if (inb(iobase + ASC_INTR_STAT) == 1) { in wd7000_detect()
1487 host->iobase = iobase; in wd7000_detect()
1494 …ect: Trying init WD-7000 card at IO " "0x%x, IRQ %d, DMA %d...\n", host->iobase, host->irq, host->… in wd7000_detect()
1516 printk("using IO 0x%x, IRQ %d, DMA %d.\n", host->iobase, host->irq, host->dma); in wd7000_detect()
1520 dprintk("wd7000_detect: IO 0x%x region already allocated!\n", iobase); in wd7000_detect()
1527 release_region(iobase, 4); in wd7000_detect()
1555 if (inb(host->iobase + ASC_STAT) & INT_IM) {