• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:io_port

14  *             addr,...       io_port=addr,...
25 * modprobe u14-34f io_port=0x340,0x330 linked_comm=1 tag_mode=0 \
136 * io_port is now unsigned long.
479 static unsigned long io_port[] = {
625 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
633 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
636 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
639 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
761 sh[j]->io_port = port_base;
775 sys_mask = inb(sh[j]->io_port + REG_SYS_MASK);
776 lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK);
785 if (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK);
867 BN(j), bus_type, (unsigned long)sh[j]->io_port, (int)sh[j]->base,
903 for (i = 0; i < argc; i++) io_port[i] = ints[i + 1];
905 io_port[i] = 0;
954 /* io_port could have been modified when loading as a module */
955 if(io_port[0] != SKIP) {
957 io_port[MAX_INT_PARAM] = 0;
963 for (k = 0; io_port[k]; k++) {
965 if (io_port[k] == SKIP) continue;
967 if (j < MAX_BOARDS && port_detect(io_port[k], j, tpnt)) j++;
1175 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
1184 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
1187 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
1211 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
1228 if (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED)
1278 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
1329 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
1335 outb(CMD_RESET, sh[j]->io_port + REG_LCL_INTR);
1569 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
1578 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
1579 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
1593 if (!((reg = inb(sh[j]->io_port + REG_SYS_INTR)) & IRQ_ASSERTED)) goto none;
1601 if (wait_on_busy(sh[j]->io_port, 20 * MAXLOOP)) {
1602 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
1608 ret = inl(sh[j]->io_port + REG_ICM);
1611 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
1829 release_region(sh[j]->io_port, sh[j]->n_io_port);