Lines Matching refs:DC390_read8

620     if (DC390_read8 (Scsi_Status) & INTERRUPT)  in dc390_StartSCSI()
658 sstatus = DC390_read8 (Scsi_Status); in DC390_Interrupt()
670 istate = DC390_read8 (Intern_State); in DC390_Interrupt()
671 istatus = DC390_read8 (INT_Status); /* This clears Scsi_Status, Intern_State and INT_Status ! */ in DC390_Interrupt()
773 while (time_before(jiffies, timeout) && !((dstate = DC390_read8 (DMA_Status)) & DMA_XFER_DONE)) { in dc390_DataOut_0()
796 ResidCnt = ((u32) DC390_read8 (Current_Fifo) & 0x1f) + in dc390_DataOut_0()
797 (((u32) DC390_read8 (CtcReg_High) << 16) | in dc390_DataOut_0()
798 ((u32) DC390_read8 (CtcReg_Mid) << 8) | in dc390_DataOut_0()
799 (u32) DC390_read8 (CtcReg_Low)); in dc390_DataOut_0()
832 while (time_before(jiffies, timeout) && !((dstate = DC390_read8 (DMA_Status)) & DMA_XFER_DONE)) { in dc390_DataIn_0()
844 DEBUG1(ResidCnt = ((unsigned long) DC390_read8 (CtcReg_High) << 16) \ in dc390_DataIn_0()
845 + ((unsigned long) DC390_read8 (CtcReg_Mid) << 8) \ in dc390_DataIn_0()
846 + ((unsigned long) DC390_read8 (CtcReg_Low))); in dc390_DataIn_0()
865 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
873 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
884 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
890 bval = DC390_read8 (DMA_Status); in dc390_DataIn_0()
901 ResidCnt = (((u32) DC390_read8 (CtcReg_High) << 16) | in dc390_DataIn_0()
902 ((u32) DC390_read8 (CtcReg_Mid) << 8)) | in dc390_DataIn_0()
903 (u32) DC390_read8 (CtcReg_Low); in dc390_DataIn_0()
913 bval = DC390_read8 (ScsiFifo); /* get one residual byte */ in dc390_DataIn_0()
947 pSRB->TargetStatus = DC390_read8 (ScsiFifo); in dc390_Status_0()
949 pSRB->EndMessage = DC390_read8 (ScsiFifo); /* get message */ in dc390_Status_0()
1212 pSRB->MsgInBuf[pACB->MsgLen++] = DC390_read8 (ScsiFifo); in dc390_MsgIn_0()
1535 DC390_read8 (INT_Status); /* Reset Pending INT */ in dc390_Disconnect()
1608 lun = DC390_read8 (ScsiFifo); in dc390_Reselect()
1616 lun = DC390_read8 (ScsiFifo); in dc390_Reselect()
1968 DC390_read8(CtcReg_Low) + (DC390_read8(CtcReg_Mid) << 8) + (DC390_read8(CtcReg_High) << 16), in DEF_SCSI_QCMD()
1969 DC390_read8(ScsiCmd), DC390_read8(Scsi_Status), DC390_read8(Intern_State)); in DEF_SCSI_QCMD()
1971 DC390_read8(INT_Status), DC390_read8(Current_Fifo), DC390_read8(CtrlReg1), in DEF_SCSI_QCMD()
1972 DC390_read8(CtrlReg2), DC390_read8(CtrlReg3), DC390_read8(CtrlReg4)); in DEF_SCSI_QCMD()
1974 if (DC390_read8(Current_Fifo) & 0x1f) in DEF_SCSI_QCMD()
1977 while (DC390_read8(Current_Fifo) & 0x1f) printk (" %02x", DC390_read8(ScsiFifo)); in DEF_SCSI_QCMD()
1983 DC390_read8(DMA_Cmd), DC390_read32(DMA_XferCnt), DC390_read32(DMA_XferAddr), in DEF_SCSI_QCMD()
1985 DC390_read8(DMA_Status), DC390_read32(DMA_ScsiBusCtrl)); in DEF_SCSI_QCMD()
2045 bval = DC390_read8(CtrlReg1) | DIS_INT_ON_SCSI_RST; in DC390_bus_reset()
2057 DC390_read8(INT_Status); /* Reset Pending INT */ in DC390_bus_reset()
2064 bval = DC390_read8(CtrlReg1) & ~DIS_INT_ON_SCSI_RST; in DC390_bus_reset()
2395 DC390_read8(INT_Status); in dc390_init_hw()
2423 dstate = DC390_read8(DMA_Status); in dc390_init_hw()
2548 bval = DC390_read8(CtrlReg1) | DIS_INT_ON_SCSI_RST; in dc390_remove_one()