Lines Matching refs:nsp_index_write

287 	nsp_index_write(base, TRANSFERMODE, transfer_mode_reg);  in DEF_SCSI_QCMD()
326 nsp_index_write(base, SCSIIRQMODE, 0); in nsphw_init()
328 nsp_index_write(base, TRANSFERMODE, MODE_IO8); in nsphw_init()
329 nsp_index_write(base, CLOCKDIV, data->ScsiClockDiv); in nsphw_init()
331 nsp_index_write(base, PARITYCTRL, 0); in nsphw_init()
332 nsp_index_write(base, POINTERCLR, POINTER_CLEAR | in nsphw_init()
339 nsp_index_write(base, TERMPWRCTRL, 0); in nsphw_init()
342 nsp_index_write(base, TERMPWRCTRL, POWER_ON); in nsphw_init()
345 nsp_index_write(base, TIMERCOUNT, 0); in nsphw_init()
346 nsp_index_write(base, TIMERCOUNT, 0); /* requires 2 times!! */ in nsphw_init()
348 nsp_index_write(base, SYNCREG, 0); in nsphw_init()
349 nsp_index_write(base, ACKWIDTH, 0); in nsphw_init()
352 nsp_index_write(base, SCSIIRQMODE, SCSI_PHASE_CHANGE_EI | in nsphw_init()
384 nsp_index_write(base, SETARBIT, ARBIT_GO); in nsphw_start_selection()
397 nsp_index_write(base, SETARBIT, ARBIT_FLAG_CLEAR); in nsphw_start_selection()
405 nsp_index_write(base, SCSIDATALATCH, BIT(host_id) | BIT(target)); in nsphw_start_selection()
406 nsp_index_write(base, SCSIBUSCTRL, SCSI_SEL | SCSI_BSY | SCSI_ATN); in nsphw_start_selection()
408 nsp_index_write(base, SCSIBUSCTRL, SCSI_SEL | SCSI_BSY | SCSI_DATAOUT_ENB | SCSI_ATN); in nsphw_start_selection()
409 nsp_index_write(base, SETARBIT, ARBIT_FLAG_CLEAR); in nsphw_start_selection()
411 nsp_index_write(base, SCSIBUSCTRL, SCSI_SEL | SCSI_DATAOUT_ENB | SCSI_ATN); in nsphw_start_selection()
508 nsp_index_write(base, TIMERCOUNT, time); in nsp_start_timer()
598 nsp_index_write(base, SCSIBUSCTRL, AUTODIRECTION | ACKENB); in nsp_xfer()
607 nsp_index_write(base, SCSIDATAWITHACK, buf[ptr]); in nsp_xfer()
681 nsp_index_write(base, SCSIBUSCTRL, bus_reg); in nsp_reselected()
682 nsp_index_write(base, SCSIBUSCTRL, bus_reg | AUTODIRECTION | ACKENB); in nsp_reselected()
694 nsp_index_write(base, POINTERCLR, POINTER_CLEAR | ACK_COUNTER); in nsp_fifo_count()
930 nsp_index_write(base, SYNCREG, sync->SyncRegister); in nsp_nexus()
931 nsp_index_write(base, ACKWIDTH, sync->AckWidth); in nsp_nexus()
949 nsp_index_write(base, POINTERCLR, POINTER_CLEAR | in nsp_nexus()
1022 nsp_index_write(base, TIMERCOUNT, 0); in nspintr()
1023 nsp_index_write(base, TIMERCOUNT, 0); in nspintr()
1093 nsp_index_write(base, SCSIBUSCTRL, 0); in nspintr()
1109 nsp_index_write(base, SCSIBUSCTRL, SCSI_ATN); in nspintr()
1111 nsp_index_write(base, SCSIBUSCTRL, SCSI_ATN | AUTODIRECTION | ACKENB); in nspintr()
1183 nsp_index_write(base, COMMANDCTRL, CLEAR_COMMAND_POINTER); in nspintr()
1185 nsp_index_write(base, COMMANDDATA, tmpSC->cmnd[i]); in nspintr()
1187 nsp_index_write(base, COMMANDCTRL, CLEAR_COMMAND_POINTER | AUTO_COMMAND_GO); in nspintr()
1475 nsp_index_write(base, SCSIBUSCTRL, SCSI_RST); in nsp_bus_reset()
1477 nsp_index_write(base, SCSIBUSCTRL, 0); in nsp_bus_reset()