Lines Matching refs:outb
133 #define REG0(x) (outb(C4_IMG, (x) + CONFIG4))
135 #define REG1(x) outb(C7_IMG, (x) + CONFIG7); outb(C5_IMG, (x) + CONFIG5)
150 outb(count & 0xff, (x) + TC_LSB); \
151 outb((count >> 8) & 0xff, (x) + TC_MSB); \
152 outb((count >> 16) & 0xff, (x) + TC_HIGH);
220 outb(0x01, io_port + PIO_STATUS); in chip_init()
221 outb(0x00, io_port + PIO_FLAG); in chip_init()
223 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */ in chip_init()
224 outb(C3_IMG, io_port + CONFIG3); in chip_init()
225 outb(C2_IMG, io_port + CONFIG2); in chip_init()
226 outb(C1_IMG, io_port + CONFIG1); in chip_init()
228 outb(0x05, io_port + CLKCONV); /* clock conversion factor */ in chip_init()
229 outb(0x9C, io_port + SRTIMOUT); /* Selection timeout */ in chip_init()
230 outb(0x05, io_port + SYNCPRD); /* Synchronous transfer period */ in chip_init()
231 outb(SYNC_MODE, io_port + SYNCOFF); /* synchronous mode */ in chip_init()
237 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */ in SYM53C500_int_host_reset()
238 outb(CHIP_RESET, io_port + CMD_REG); in SYM53C500_int_host_reset()
239 outb(SCSI_NOP, io_port + CMD_REG); /* required after reset */ in SYM53C500_int_host_reset()
240 outb(SCSI_RESET, io_port + CMD_REG); in SYM53C500_int_host_reset()
341 outb(*request++, base + PIO_FIFO); in SYM53C500_pio_write()
426 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr()
428 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG); in SYM53C500_intr()
445 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr()
447 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG); in SYM53C500_intr()
465 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr()
466 outb(INIT_CMD_COMPLETE, port_base + CMD_REG); in SYM53C500_intr()
477 outb(SET_ATN, port_base + CMD_REG); /* Reject the message */ in SYM53C500_intr()
478 outb(MSG_ACCEPT, port_base + CMD_REG); in SYM53C500_intr()
492 outb(SET_ATN, port_base + CMD_REG); /* Reject message */ in SYM53C500_intr()
495 outb(MSG_ACCEPT, port_base + CMD_REG); in SYM53C500_intr()
575 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
576 outb(FLUSH_FIFO, port_base + CMD_REG); /* reset the fifos */ in SYM53C500_queue_lck()
579 outb(SCpnt->cmnd[i], port_base + SCSI_FIFO); in SYM53C500_queue_lck()
581 outb(SELECT_NO_ATN, port_base + CMD_REG); in SYM53C500_queue_lck()
733 outb(0xb4, link->resource[0]->start + 0xd); in SYM53C500_config()
734 outb(0x24, link->resource[0]->start + 0x9); in SYM53C500_config()
735 outb(0x04, link->resource[0]->start + 0xd); in SYM53C500_config()
821 outb(0x80, link->resource[0]->start + 0xd); in sym53c500_resume()
822 outb(0x24, link->resource[0]->start + 0x9); in sym53c500_resume()
823 outb(0x04, link->resource[0]->start + 0xd); in sym53c500_resume()