• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/

Lines Matching defs:iobase

247 	int iobase;		/* This adapter's I/O base address   */
302 unsigned iobase; /* I/O base address */
674 configs[wd7000_card_num].iobase = ints[3];
707 if (configs[i].iobase == configs[j].iobase) {
715 "BUS_ON=%dns, BUS_OFF=%dns\n", configs[wd7000_card_num].irq, configs[wd7000_card_num].dma, configs[wd7000_card_num].iobase, configs[wd7000_card_num].bus_on * 125, configs[wd7000_card_num].bus_off * 125);
739 outb(host->control, host->iobase + ASC_CONTROL);
747 outb(host->control, host->iobase + ASC_CONTROL);
777 if (!WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) {
780 outb(*cmd, host->iobase + ASC_COMMAND);
781 WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
782 } while (inb(host->iobase + ASC_STAT) & CMD_REJ);
993 #define wd7000_intr_ack(host) outb (0, host->iobase + ASC_INTR_ACK)
1012 flag = inb(host->iobase + ASC_INTR_STAT);
1016 if (!(inb(host->iobase + ASC_STAT) & INT_IM)) {
1189 outb(ASC_RES, host->iobase + ASC_CONTROL);
1191 outb(0, host->iobase + ASC_CONTROL);
1194 if (WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) {
1199 if ((diag = inb(host->iobase + ASC_INTR_STAT)) != 1) {
1236 if (WAIT(host->iobase + ASC_STAT, ASC_STATMASK, ASC_INIT, 0)) {
1325 SPRINTF(" IO base: 0x%x\n", adapter->iobase);
1394 unsigned iobase;
1461 iobase = configs[pass].iobase;
1463 dprintk("wd7000_detect: check IO 0x%x region...\n", iobase);
1465 if (request_region(iobase, 4, "wd7000")) {
1467 dprintk("wd7000_detect: ASC reset (IO 0x%x) ...", iobase);
1471 outb(ASC_RES, iobase + ASC_CONTROL);
1473 outb(0, iobase + ASC_CONTROL);
1475 if (WAIT(iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) {
1481 if (inb(iobase + ASC_INTR_STAT) == 1) {
1500 host->iobase = iobase;
1507 dprintk("wd7000_detect: Trying init WD-7000 card at IO " "0x%x, IRQ %d, DMA %d...\n", host->iobase, host->irq, host->dma);
1529 printk("using IO 0x%x, IRQ %d, DMA %d.\n", host->iobase, host->irq, host->dma);
1533 dprintk("wd7000_detect: IO 0x%x region already allocated!\n", iobase);
1540 release_region(iobase, 4);