Lines Matching defs:port_base

350 	int port_base = dev->io_port;
360 REG1(port_base);
361 pio_status = inb(port_base + PIO_STATUS);
362 REG0(port_base);
363 status = inb(port_base + STAT_REG);
364 DEB(seq_reg = inb(port_base + SEQ_REG));
365 int_reg = inb(port_base + INT_REG);
366 DEB(fifo_size = inb(port_base + FIFO_FLAGS) & 0x1f);
417 outb(FLUSH_FIFO, port_base + CMD_REG);
418 LOAD_DMA_COUNT(port_base, scsi_bufflen(curSC)); /* Max transfer size */
419 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG);
422 SYM53C500_pio_write(fast_pio, port_base,
425 REG0(port_base);
436 outb(FLUSH_FIFO, port_base + CMD_REG);
437 LOAD_DMA_COUNT(port_base, scsi_bufflen(curSC)); /* Max transfer size */
438 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG);
441 SYM53C500_pio_read(fast_pio, port_base,
444 REG0(port_base);
456 outb(FLUSH_FIFO, port_base + CMD_REG);
457 outb(INIT_CMD_COMPLETE, port_base + CMD_REG);
468 outb(SET_ATN, port_base + CMD_REG); /* Reject the message */
469 outb(MSG_ACCEPT, port_base + CMD_REG);
476 curSC->SCp.Status = inb(port_base + SCSI_FIFO);
477 curSC->SCp.Message = inb(port_base + SCSI_FIFO);
479 VDEB(printk("SCSI FIFO size=%d\n", inb(port_base + FIFO_FLAGS) & 0x1f));
483 outb(SET_ATN, port_base + CMD_REG); /* Reject message */
486 outb(MSG_ACCEPT, port_base + CMD_REG);
544 int port_base = SCpnt->device->host->io_port;
565 REG0(port_base);
566 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */
567 outb(FLUSH_FIFO, port_base + CMD_REG); /* reset the fifos */
570 outb(SCpnt->cmnd[i], port_base + SCSI_FIFO);
572 outb(SELECT_NO_ATN, port_base + CMD_REG);
582 int port_base = SCpnt->device->host->io_port;
586 SYM53C500_int_host_reset(port_base);
694 int irq_level, port_base;
733 * Possible port_base values are as follows:
738 port_base = link->resource[0]->start;
741 DEB(printk("SYM53C500: port_base=0x%x, irq=%d, fast_pio=%d\n",
742 port_base, irq_level, USE_FAST_PIO);)
744 chip_init(port_base);
768 host->unique_id = port_base;
770 host->io_port = port_base;
794 release_region(port_base, 0x10);