• Home
  • Raw
  • Download

Lines Matching refs:DC395x_write8

158 #define DC395x_write8(acb,address,value)	outb((value), acb->io_port_base + (address))  macro
1311 DC395x_write8(acb, TRM_S1040_DMA_INTEN, 0x00); in __dc395x_eh_bus_reset()
1312 DC395x_write8(acb, TRM_S1040_SCSI_INTEN, 0x00); in __dc395x_eh_bus_reset()
1313 DC395x_write8(acb, TRM_S1040_SCSI_CONTROL, DO_RSTMODULE); in __dc395x_eh_bus_reset()
1314 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, DMARESETMODULE); in __dc395x_eh_bus_reset()
1328 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, CLRXFIFO); in __dc395x_eh_bus_reset()
1544 DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id); in start_scsi()
1545 DC395x_write8(acb, TRM_S1040_SCSI_TARGETID, dcb->target_id); in start_scsi()
1546 DC395x_write8(acb, TRM_S1040_SCSI_SYNC, dcb->sync_period); in start_scsi()
1547 DC395x_write8(acb, TRM_S1040_SCSI_OFFSET, dcb->sync_offset); in start_scsi()
1588 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, identify_message); in start_scsi()
1614 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, MSG_SIMPLE_QTAG); in start_scsi()
1615 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, tag_number); in start_scsi()
1628 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, REQUEST_SENSE); in start_scsi()
1629 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, (dcb->target_lun << 5)); in start_scsi()
1630 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in start_scsi()
1631 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in start_scsi()
1632 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, SCSI_SENSE_BUFFERSIZE); in start_scsi()
1633 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in start_scsi()
1637 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *ptr++); in start_scsi()
1668 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, scsicommand); in start_scsi()
1829 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, ABORTXFER | CLRXFIFO); in dc395x_interrupt()
1870 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, MSG_NOP); in msgout_phase1()
1872 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_FIFO_OUT); in msgout_phase1()
1877 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *ptr++); in msgout_phase1()
1882 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_FIFO_OUT); in msgout_phase1()
1907 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *ptr); in command_phase1()
1911 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, REQUEST_SENSE); in command_phase1()
1914 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, (dcb->target_lun << 5)); in command_phase1()
1915 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in command_phase1()
1916 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in command_phase1()
1917 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, SCSI_SENSE_BUFFERSIZE); in command_phase1()
1918 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in command_phase1()
1924 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_FIFO_OUT); in command_phase1()
2018 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, CLRXFIFO); in cleanup_after_transfer()
2021 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, CLRXFIFO); in cleanup_after_transfer()
2065 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, STOPDMAXFER | CLRXFIFO); in data_out_phase0()
2271 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG2, in data_in_phase0()
2322 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG2, 0); in data_in_phase0()
2428 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, CLRXFIFO); in data_io_transfer()
2459 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, in data_io_transfer()
2464 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, in data_io_transfer()
2481 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, in data_io_transfer()
2488 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG2, in data_io_transfer()
2509 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *virt++); in data_io_transfer()
2519 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 0); in data_io_transfer()
2523 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG2, 0); in data_io_transfer()
2528 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, in data_io_transfer()
2546 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG2, in data_io_transfer()
2555 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 'K'); in data_io_transfer()
2556 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 'G'); in data_io_transfer()
2558 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG2, 0); in data_io_transfer()
2566 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, 'K'); in data_io_transfer()
2572 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, bval); in data_io_transfer()
2587 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_MSGACCEPT); in status_phase0()
2598 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_COMP); in status_phase1()
2687 DC395x_write8(acb, TRM_S1040_SCSI_TARGETID, dcb->target_id); in reprogram_regs()
2688 DC395x_write8(acb, TRM_S1040_SCSI_SYNC, dcb->sync_period); in reprogram_regs()
2689 DC395x_write8(acb, TRM_S1040_SCSI_OFFSET, dcb->sync_offset); in reprogram_regs()
2969 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_MSGACCEPT); in msgin_phase0()
2985 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_FIFO_IN); in msgin_phase1()
3209 DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id); /* host ID */ in reselect()
3210 DC395x_write8(acb, TRM_S1040_SCSI_TARGETID, dcb->target_id); /* target ID */ in reselect()
3211 DC395x_write8(acb, TRM_S1040_SCSI_OFFSET, dcb->sync_offset); /* offset */ in reselect()
3212 DC395x_write8(acb, TRM_S1040_SCSI_SYNC, dcb->sync_period); /* sync period, wide */ in reselect()
3215 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, SCMD_MSGACCEPT); in reselect()
3607 DC395x_write8(acb, TRM_S1040_SCSI_TIMEOUT, acb->sel_timeout); in set_basic_config()
3613 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG0, bval); in set_basic_config()
3616 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG1, 0x03); /* was 0x13: default */ in set_basic_config()
3618 DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id); in set_basic_config()
3620 DC395x_write8(acb, TRM_S1040_SCSI_OFFSET, 0x00); in set_basic_config()
3632 DC395x_write8(acb, TRM_S1040_SCSI_INTEN, 0x7F); in set_basic_config()
3633 DC395x_write8(acb, TRM_S1040_DMA_INTEN, EN_SCSIINTR | EN_DMAXFERERROR in set_basic_config()
3646 DC395x_write8(acb, TRM_S1040_SCSI_CONTROL, DO_RSTMODULE); in scsi_reset_detect()
3647 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, DMARESETMODULE); in scsi_reset_detect()
4460 DC395x_write8(acb, TRM_S1040_DMA_INTEN, 0x00); in adapter_init_chip()
4461 DC395x_write8(acb, TRM_S1040_SCSI_INTEN, 0x00); in adapter_init_chip()
4467 DC395x_write8(acb, TRM_S1040_DMA_CONTROL, DMARESETMODULE); in adapter_init_chip()
4480 DC395x_write8(acb, TRM_S1040_SCSI_CONTROL, DO_RSTSCSI); in adapter_init_chip()
4573 DC395x_write8(acb, TRM_S1040_DMA_INTEN, 0); in adapter_uninit_chip()
4574 DC395x_write8(acb, TRM_S1040_SCSI_INTEN, 0); in adapter_uninit_chip()