Lines Matching defs:port_base

356 	int port_base = dev->io_port;
367 REG1(port_base);
368 pio_status = inb(port_base + PIO_STATUS);
369 REG0(port_base);
370 status = inb(port_base + STAT_REG);
371 DEB(seq_reg = inb(port_base + SEQ_REG));
372 int_reg = inb(port_base + INT_REG);
373 DEB(fifo_size = inb(port_base + FIFO_FLAGS) & 0x1f);
424 outb(FLUSH_FIFO, port_base + CMD_REG);
425 LOAD_DMA_COUNT(port_base, scsi_bufflen(curSC)); /* Max transfer size */
426 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG);
429 SYM53C500_pio_write(fast_pio, port_base,
432 REG0(port_base);
443 outb(FLUSH_FIFO, port_base + CMD_REG);
444 LOAD_DMA_COUNT(port_base, scsi_bufflen(curSC)); /* Max transfer size */
445 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG);
448 SYM53C500_pio_read(fast_pio, port_base,
451 REG0(port_base);
463 outb(FLUSH_FIFO, port_base + CMD_REG);
464 outb(INIT_CMD_COMPLETE, port_base + CMD_REG);
475 outb(SET_ATN, port_base + CMD_REG); /* Reject the message */
476 outb(MSG_ACCEPT, port_base + CMD_REG);
483 scp->status = inb(port_base + SCSI_FIFO);
484 scp->message = inb(port_base + SCSI_FIFO);
486 VDEB(printk("SCSI FIFO size=%d\n", inb(port_base + FIFO_FLAGS) & 0x1f));
490 outb(SET_ATN, port_base + CMD_REG); /* Reject message */
493 outb(MSG_ACCEPT, port_base + CMD_REG);
551 int port_base = SCpnt->device->host->io_port;
571 REG0(port_base);
572 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */
573 outb(FLUSH_FIFO, port_base + CMD_REG); /* reset the fifos */
576 outb(SCpnt->cmnd[i], port_base + SCSI_FIFO);
578 outb(SELECT_NO_ATN, port_base + CMD_REG);
588 int port_base = SCpnt->device->host->io_port;
592 SYM53C500_int_host_reset(port_base);
703 int irq_level, port_base;
742 * Possible port_base values are as follows:
747 port_base = link->resource[0]->start;
750 DEB(printk("SYM53C500: port_base=0x%x, irq=%d, fast_pio=%d\n",
751 port_base, irq_level, USE_FAST_PIO);)
753 chip_init(port_base);
777 host->unique_id = port_base;
779 host->io_port = port_base;
803 release_region(port_base, 0x10);