Lines Matching refs:io_port
844 static unsigned long io_port[] = { variable
1268 shost->io_port = port_base; in port_detect()
1386 (unsigned long)shost->io_port, shost->irq, dma_name, in port_detect()
1450 io_port[i] = ints[i + 1]; in internal_setup()
1452 io_port[i] = 0; in internal_setup()
1541 io_port[MAX_INT_PARAM + (rev_scan ? (MAX_PCI - k) : (1 + k))] = in add_pci_ports()
1560 if (io_port[0] != SKIP) { in eata2x_detect()
1562 io_port[MAX_INT_PARAM] = 0; in eata2x_detect()
1566 for (k = MAX_INT_PARAM; io_port[k]; k++) in eata2x_detect()
1567 if (io_port[k] == SKIP) in eata2x_detect()
1569 else if (io_port[k] <= MAX_ISA_ADDR) { in eata2x_detect()
1571 io_port[k] = SKIP; in eata2x_detect()
1572 } else if (io_port[k] >= MIN_EISA_ADDR in eata2x_detect()
1573 && io_port[k] <= MAX_EISA_ADDR) { in eata2x_detect()
1575 io_port[k] = SKIP; in eata2x_detect()
1585 for (k = 0; io_port[k]; k++) { in eata2x_detect()
1587 if (io_port[k] == SKIP) in eata2x_detect()
1590 if (j < MAX_BOARDS && port_detect(io_port[k], j, tpnt)) in eata2x_detect()
1821 if (do_dma(shost->io_port, cpp->cp_dma_addr, SEND_CP_DMA)) { in eata2x_queuecommand_lck()
1851 if (wait_on_busy(shost->io_port, MAXLOOP)) { in DEF_SCSI_QCMD()
1868 if (inb(shost->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) in DEF_SCSI_QCMD()
1920 if (wait_on_busy(shost->io_port, MAXLOOP)) { in eata2x_eh_host_reset()
1975 if (do_dma(shost->io_port, 0, RESET_PIO)) { in eata2x_eh_host_reset()
2270 if (do_dma(dev->host->io_port, cpp->cp_dma_addr, SEND_CP_DMA)) { in flush_dev()
2294 if (!(inb(shost->io_port + REG_AUX_STATUS) & IRQ_ASSERTED)) in ihdlr()
2304 if (wait_on_busy(shost->io_port, 20 * MAXLOOP)) { in ihdlr()
2305 reg = inb(shost->io_port + REG_STATUS); in ihdlr()
2321 reg = inb(shost->io_port + REG_STATUS); in ihdlr()
2569 release_region(shost->io_port, shost->n_io_port); in eata2x_release()