Lines Matching refs:SRBState
519 pSRB->SRBState, pSRB->SRBFlag); in dc390_StartSCSI()
520 pSRB->SRBState = SRB_READY; in dc390_StartSCSI()
576 pSRB->SRBState = SRB_START_; in dc390_StartSCSI()
590 pSRB->SRBState |= DO_SYNC_NEGO; in dc390_StartSCSI()
625 pSRB->SRBState = SRB_READY; in dc390_StartSCSI()
642 if (pACB->pActiveDCB->pActiveSRB->SRBState & (SRB_START_ | SRB_MSGOUT)) in dc390_InvalidCmd()
762 if( !(pSRB->SRBState & SRB_XFERPAD) ) in dc390_DataOut_0()
820 if( !(pSRB->SRBState & SRB_XFERPAD) ) in dc390_DataIn_0()
952 pSRB->SRBState = SRB_COMPLETED; in dc390_Status_0()
959 if( pSRB->SRBState & (SRB_UNEXPECT_RESEL+SRB_ABORT_SENT) ) in dc390_MsgOut_0()
1021 pSRB->SRBState = SRB_ABORT_SENT; in dc390_MsgIn_QTag()
1025 if (!(pSRB->SRBState & SRB_DISCONNECT)) in dc390_MsgIn_QTag()
1029 pSRB->SRBState = SRB_DATA_XFER; in dc390_MsgIn_QTag()
1035 pSRB->SRBState = SRB_UNEXPECT_RESEL; in dc390_MsgIn_QTag()
1049 if (!(pSRB->SRBState & DO_SYNC_NEGO)) in dc390_MsgIn_set_async()
1051 pSRB->SRBState &= ~DO_SYNC_NEGO; in dc390_MsgIn_set_async()
1072 if (!(pSRB->SRBState & DO_SYNC_NEGO)) in dc390_MsgIn_set_sync()
1097 pSRB->SRBState &= ~DO_SYNC_NEGO; in dc390_MsgIn_set_sync()
1223 pSRB->SRBState = SRB_DISCONNECT; break; in dc390_MsgIn_0()
1234 if( pSRB->SRBState & DO_SYNC_NEGO) in dc390_MsgIn_0()
1269 pSRB->SRBState &= ~SRB_MSGIN; in dc390_MsgIn_0()
1326 pSRB->SRBState = SRB_DATA_XFER; in dc390_DataIO_Comm()
1348 pSRB->SRBState |= SRB_XFERPAD; in dc390_DataIO_Comm()
1397 pSRB->SRBState = SRB_COMMAND; in dc390_CommandPhase()
1405 pSRB->SRBState = SRB_STATUS; in dc390_StatusPhase()
1419 if( !(pSRB->SRBState & SRB_MSGOUT) ) in dc390_MsgOutPhase()
1430 pSRB->SRBState = SRB_ABORT_SENT; in dc390_MsgOutPhase()
1458 pSRB->SRBState |= DO_SYNC_NEGO; in dc390_MsgOutPhase()
1467 if( !(pSRB->SRBState & SRB_MSGIN) ) in dc390_MsgInPhase()
1469 pSRB->SRBState &= ~SRB_DISCONNECT; in dc390_MsgInPhase()
1470 pSRB->SRBState |= SRB_MSGIN; in dc390_MsgInPhase()
1543 if( pSRB->SRBState & SRB_UNEXPECT_RESEL ) in dc390_Disconnect()
1544 pSRB->SRBState = 0; in dc390_Disconnect()
1545 else if( pSRB->SRBState & SRB_ABORT_SENT ) in dc390_Disconnect()
1562 if( (pSRB->SRBState & (SRB_START_+SRB_MSGOUT)) || in dc390_Disconnect()
1563 !(pSRB->SRBState & (SRB_DISCONNECT+SRB_COMPLETED)) ) in dc390_Disconnect()
1569 else if (!(pSRB->SRBState & SRB_DISCONNECT) && (pSRB->SRBState & SRB_COMPLETED)) in dc390_Disconnect()
1574 pSRB->SRBState = SRB_FREE; in dc390_Disconnect()
1637 if( !pSRB || !(pSRB->SRBState & SRB_DISCONNECT) ) in dc390_Reselect()
1640 pSRB->SRBState = SRB_UNEXPECT_RESEL; in dc390_Reselect()
1650 pSRB->SRBState = SRB_ABORT_SENT; in dc390_Reselect()
1656 pSRB->SRBState = SRB_DATA_XFER; in dc390_Reselect()
1922 srb->SRBState = 0; in DC390_queuecommand_lck()
1959 pSRB->TotalXferredLen, pSRB->SGToBeXferLen, pSRB->SRBState, in DEF_SCSI_QCMD()