Lines Matching refs:io_port

617 static unsigned long io_port[] = {  variable
763 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in board_inquiry()
771 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); in board_inquiry()
774 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM); in board_inquiry()
777 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); in board_inquiry()
899 sh[j]->io_port = port_base; in port_detect()
913 sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); in port_detect()
914 lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); in port_detect()
923 if (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK); in port_detect()
1005 BN(j), bus_type, (unsigned long)sh[j]->io_port, (int)sh[j]->base, in port_detect()
1041 for (i = 0; i < argc; i++) io_port[i] = ints[i + 1]; in internal_setup()
1043 io_port[i] = 0; in internal_setup()
1093 if(io_port[0] != SKIP) { in u14_34f_detect()
1095 io_port[MAX_INT_PARAM] = 0; in u14_34f_detect()
1101 for (k = 0; io_port[k]; k++) { in u14_34f_detect()
1103 if (io_port[k] == SKIP) continue; in u14_34f_detect()
1105 if (j < MAX_BOARDS && port_detect(io_port[k], j, tpnt)) j++; in u14_34f_detect()
1313 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in u14_34f_queuecommand_lck()
1322 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM); in u14_34f_queuecommand_lck()
1325 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); in u14_34f_queuecommand_lck()
1349 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in DEF_SCSI_QCMD()
1366 if (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) in DEF_SCSI_QCMD()
1415 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in u14_34f_eh_host_reset()
1464 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in u14_34f_eh_host_reset()
1470 outb(CMD_RESET, sh[j]->io_port + REG_LCL_INTR); in u14_34f_eh_host_reset()
1702 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in flush_dev()
1711 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM); in flush_dev()
1712 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); in flush_dev()
1726 if (!((reg = inb(sh[j]->io_port + REG_SYS_INTR)) & IRQ_ASSERTED)) goto none; in ihdlr()
1734 if (wait_on_busy(sh[j]->io_port, 20 * MAXLOOP)) { in ihdlr()
1735 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); in ihdlr()
1741 ret = inl(sh[j]->io_port + REG_ICM); in ihdlr()
1744 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); in ihdlr()
1962 release_region(sh[j]->io_port, sh[j]->n_io_port); in u14_34f_release()