Lines Matching refs:outb

124 #define REG0(x)		(outb(C4_IMG, (x) + CONFIG4))
126 #define REG1(x) outb(C7_IMG, (x) + CONFIG7); outb(C5_IMG, (x) + CONFIG5)
141 outb(count & 0xff, (x) + TC_LSB); \
142 outb((count >> 8) & 0xff, (x) + TC_MSB); \
143 outb((count >> 16) & 0xff, (x) + TC_HIGH);
211 outb(0x01, io_port + PIO_STATUS); in chip_init()
212 outb(0x00, io_port + PIO_FLAG); in chip_init()
214 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */ in chip_init()
215 outb(C3_IMG, io_port + CONFIG3); in chip_init()
216 outb(C2_IMG, io_port + CONFIG2); in chip_init()
217 outb(C1_IMG, io_port + CONFIG1); in chip_init()
219 outb(0x05, io_port + CLKCONV); /* clock conversion factor */ in chip_init()
220 outb(0x9C, io_port + SRTIMOUT); /* Selection timeout */ in chip_init()
221 outb(0x05, io_port + SYNCPRD); /* Synchronous transfer period */ in chip_init()
222 outb(SYNC_MODE, io_port + SYNCOFF); /* synchronous mode */ in chip_init()
228 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */ in SYM53C500_int_host_reset()
229 outb(CHIP_RESET, io_port + CMD_REG); in SYM53C500_int_host_reset()
230 outb(SCSI_NOP, io_port + CMD_REG); /* required after reset */ in SYM53C500_int_host_reset()
231 outb(SCSI_RESET, io_port + CMD_REG); in SYM53C500_int_host_reset()
332 outb(*request++, base + PIO_FIFO); in SYM53C500_pio_write()
417 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr()
419 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG); in SYM53C500_intr()
436 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr()
438 outb(TRANSFER_INFO | DMA_OP, port_base + CMD_REG); in SYM53C500_intr()
456 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr()
457 outb(INIT_CMD_COMPLETE, port_base + CMD_REG); in SYM53C500_intr()
468 outb(SET_ATN, port_base + CMD_REG); /* Reject the message */ in SYM53C500_intr()
469 outb(MSG_ACCEPT, port_base + CMD_REG); in SYM53C500_intr()
483 outb(SET_ATN, port_base + CMD_REG); /* Reject message */ in SYM53C500_intr()
486 outb(MSG_ACCEPT, port_base + CMD_REG); in SYM53C500_intr()
564 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
565 outb(FLUSH_FIFO, port_base + CMD_REG); /* reset the fifos */ in SYM53C500_queue_lck()
568 outb(SCpnt->cmnd[i], port_base + SCSI_FIFO); in SYM53C500_queue_lck()
570 outb(SELECT_NO_ATN, port_base + CMD_REG); in SYM53C500_queue_lck()
723 outb(0xb4, link->resource[0]->start + 0xd); in SYM53C500_config()
724 outb(0x24, link->resource[0]->start + 0x9); in SYM53C500_config()
725 outb(0x04, link->resource[0]->start + 0xd); in SYM53C500_config()
811 outb(0x80, link->resource[0]->start + 0xd); in sym53c500_resume()
812 outb(0x24, link->resource[0]->start + 0x9); in sym53c500_resume()
813 outb(0x04, link->resource[0]->start + 0xd); in sym53c500_resume()