Home
last modified time | relevance | path

Searched refs:NCR5380_write (Results 1 – 20 of 20) sorted by relevance

/linux-2.6.39/drivers/scsi/
DNCR5380.c603 NCR5380_write(TARGET_COMMAND_REG, 0); in NCR5380_probe_irq()
604 NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); in NCR5380_probe_irq()
605 NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); in NCR5380_probe_irq()
606 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_DATA | ICR_ASSERT_SEL); in NCR5380_probe_irq()
611 NCR5380_write(SELECT_ENABLE_REG, 0); in NCR5380_probe_irq()
612 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in NCR5380_probe_irq()
882 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in NCR5380_init()
883 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_init()
884 NCR5380_write(TARGET_COMMAND_REG, 0); in NCR5380_init()
885 NCR5380_write(SELECT_ENABLE_REG, 0); in NCR5380_init()
[all …]
Dsun3_NCR5380.c884 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in NCR5380_init()
885 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_init()
886 NCR5380_write(TARGET_COMMAND_REG, 0); in NCR5380_init()
887 NCR5380_write(SELECT_ENABLE_REG, 0); in NCR5380_init()
1234 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_dma_complete()
1235 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in NCR5380_dma_complete()
1429 NCR5380_write(TARGET_COMMAND_REG, 0); in NCR5380_select()
1436 NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); in NCR5380_select()
1437 NCR5380_write(MODE_REG, MR_ARBITRATE); in NCR5380_select()
1452 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_select()
[all …]
Datari_NCR5380.c887 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in NCR5380_init()
888 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_init()
889 NCR5380_write(TARGET_COMMAND_REG, 0); in NCR5380_init()
890 NCR5380_write(SELECT_ENABLE_REG, 0); in NCR5380_init()
1238 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_dma_complete()
1239 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in NCR5380_dma_complete()
1434 NCR5380_write(TARGET_COMMAND_REG, 0); in NCR5380_select()
1440 NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); in NCR5380_select()
1441 NCR5380_write(MODE_REG, MR_ARBITRATE); in NCR5380_select()
1455 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_select()
[all …]
Ddtc.c270 NCR5380_write(DTC_CONTROL_REG, CSR_5380_INTR); /* Enable int's */ in dtc_detect()
371 NCR5380_write(MODE_REG, MR_ENABLE_EOP_INTR | MR_DMA_MODE); in NCR5380_pread()
373 NCR5380_write(DTC_CONTROL_REG, CSR_DIR_READ); in NCR5380_pread()
375 NCR5380_write(DTC_CONTROL_REG, CSR_DIR_READ | CSR_INT_BASE); in NCR5380_pread()
376 NCR5380_write(DTC_BLK_CNT, len >> 7); /* Block count */ in NCR5380_pread()
393 NCR5380_write(MODE_REG, 0); /* Clear the operating mode */ in NCR5380_pread()
421 NCR5380_write(MODE_REG, MR_ENABLE_EOP_INTR | MR_DMA_MODE); in NCR5380_pwrite()
424 NCR5380_write(DTC_CONTROL_REG, 0); in NCR5380_pwrite()
426 NCR5380_write(DTC_CONTROL_REG, CSR_5380_INTR); in NCR5380_pwrite()
427 NCR5380_write(DTC_BLK_CNT, len >> 7); /* Block count */ in NCR5380_pwrite()
[all …]
Dt128.h125 #define NCR5380_write(reg, value) writeb((value),(T128_address(reg))) macro
131 #define NCR5380_write(reg, value) { \ macro
Ddtc.h74 #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg))) macro
81 #define NCR5380_write(reg, value) do { \ macro
Dpas16.h147 #define NCR5380_write(reg, value) ( outb((value),PAS16_io_port(reg)) ) macro
153 #define NCR5380_write(reg, value) \ macro
Dg_NCR5380.h82 #define NCR5380_write(reg, value) (outb((value), (NCR5380_map_name + (reg)))) macro
107 #define NCR5380_write(reg, value) writeb(value, iomem + NCR53C400_mem_base + (reg)) macro
Dg_NCR5380.c582 NCR5380_write(C400_CONTROL_STATUS_REG, CSR_BASE | CSR_TRANS_DIR); in NCR5380_pread()
583 NCR5380_write(C400_BLOCK_COUNTER_REG, blocks); in NCR5380_pread()
642 NCR5380_write(MODE_REG, MR_BASE); in NCR5380_pread()
667 NCR5380_write(C400_CONTROL_STATUS_REG, CSR_BASE); in NCR5380_pwrite()
668 NCR5380_write(C400_BLOCK_COUNTER_REG, blocks); in NCR5380_pwrite()
683 NCR5380_write(C400_HOST_BUFFER, src[start + i]); in NCR5380_pwrite()
699 NCR5380_write(C400_HOST_BUFFER, src[start + i]); in NCR5380_pwrite()
Dmac_scsi.c357 NCR5380_write( TARGET_COMMAND_REG, in mac_scsi_reset_boot()
361 NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_RST ); in mac_scsi_reset_boot()
365 NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE ); in mac_scsi_reset_boot()
Dsun3_scsi.c343 NCR5380_write( TARGET_COMMAND_REG, in sun3_scsi_reset_boot()
347 NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_RST ); in sun3_scsi_reset_boot()
353 NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE ); in sun3_scsi_reset_boot()
Dsun3_scsi_vme.c312 NCR5380_write( TARGET_COMMAND_REG, in sun3_scsi_reset_boot()
316 NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_RST ); in sun3_scsi_reset_boot()
322 NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE ); in sun3_scsi_reset_boot()
Dmac_scsi.h66 #define NCR5380_write(reg, value) macscsi_write(_instance, reg, value) macro
Dpas16.c330 NCR5380_write( MODE_REG, 0x20 ); /* Is it really SCSI? */ in pas16_hw_detect()
333 NCR5380_write( MODE_REG, 0x00 ); /* it back. */ in pas16_hw_detect()
Datari_scsi.c834 NCR5380_write(TARGET_COMMAND_REG, in atari_scsi_reset_boot()
838 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_RST); in atari_scsi_reset_boot()
842 NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); in atari_scsi_reset_boot()
Ddmx3191d.c39 #define NCR5380_write(reg, value) outb(value, port + reg) macro
Datari_scsi.h50 #define NCR5380_write(reg, value) atari_scsi_reg_write( reg, value ) macro
Dsun3_scsi.h97 #define NCR5380_write(reg, value) sun3scsi_write(reg, value) macro
/linux-2.6.39/drivers/scsi/arm/
Doak.c31 #define NCR5380_write(reg, value) writeb(value, _base + ((reg) << 2)) macro
Dcumana_1.c31 #define NCR5380_write(reg, value) cumanascsi_write(_instance, reg, value) macro