Lines Matching refs:TarStatus
941 UCHAR TarStatus; member
2862 sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; in SccbMgr_config_adapter()
2884 sccbMgrTbl[thisCard][id*2+i].TarStatus |= SYNC_SUPPORTED; in SccbMgr_config_adapter()
2900 sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; in SccbMgr_config_adapter()
2904 sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; in SccbMgr_config_adapter()
3462 sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; in init_adapter()
3484 sccbMgrTbl[thisCard][id*2+i].TarStatus |= SYNC_SUPPORTED; in init_adapter()
3500 sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; in init_adapter()
3504 sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; in init_adapter()
4440 ((sccbMgrTbl[thisCard][p_Sccb->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in SccbMgr_start_sccb()
5090 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in SccbMgr_bad_isr()
5099 currTar_Info->TarStatus &= ~TAR_SYNC_MASK; in SccbMgr_bad_isr()
5104 currTar_Info->TarStatus &= ~TAR_WIDE_MASK; in SccbMgr_bad_isr()
5277 sccbMgrTbl[p_card][scsiID].TarStatus = 0; in SccbMgrTableInitCard()
5591 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_REJECT) in ssel()
5595 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in ssel()
5612 && ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) in ssel()
5659 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in ssel()
5712 currTar_Info->TarStatus &= ~TAR_SYNC_MASK; in ssel()
5719 currTar_Info->TarStatus &= ~TAR_WIDE_MASK; in ssel()
5750 else if (!(currTar_Info->TarStatus & WIDE_NEGOCIATED)) { in ssel()
5758 else if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) in ssel()
5774 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) in ssel()
5946 currTar_Info->TarStatus &= ~TAR_WIDE_MASK; in sres()
5951 currTar_Info->TarStatus &= ~TAR_SYNC_MASK; in sres()
5955 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in sres()
6034 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING) in sres()
6113 sccbMgrTbl[p_card][our_target].TarStatus &= ~TAR_SYNC_MASK; in sres()
6120 sccbMgrTbl[p_card][our_target].TarStatus &= ~TAR_WIDE_MASK; in sres()
6134 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in sres()
6234 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING) in GetTarLun()
6377 currTar_Info->TarStatus &= ~(UCHAR)TAR_TAG_Q_MASK; in sdecm()
6378 currTar_Info->TarStatus |= (UCHAR)TAG_Q_REJECT; in sdecm()
6398 ((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_TRYING ) || in sdecm()
6399 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING ) ) in sdecm()
6415 currTar_Info->TarStatus |= (UCHAR)SYNC_SUPPORTED; in sdecm()
6425 currTar_Info->TarStatus = (currTar_Info->TarStatus & in sdecm()
6433 else if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING ) in sdecm()
6435 currTar_Info->TarStatus = (currTar_Info->TarStatus & in sdecm()
6462 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in sdecm()
6625 if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_TRYING)) { in sisyncn()
6662 currTar_Info->TarStatus = ((currTar_Info->TarStatus & in sisyncn()
6676 currTar_Info->TarStatus |= (UCHAR)SYNC_SUPPORTED; in sisyncn()
6787 if (currTar_Info->TarStatus & WIDE_ENABLED) in stsyncn()
6807 currTar_Info->TarStatus = ((currTar_Info->TarStatus & in stsyncn()
6820 currTar_Info->TarStatus = ((currTar_Info->TarStatus & in stsyncn()
6882 if (!((currTar_Info->TarStatus & TAR_WIDE_MASK) == WIDE_NEGOCIATED)) { in siwidn()
6900 currTar_Info->TarStatus = ((currTar_Info->TarStatus & in siwidn()
6908 currTar_Info->TarStatus = ((currTar_Info->TarStatus & in siwidn()
6952 currTar_Info->TarStatus |= WIDE_ENABLED; in stwidn()
6957 currTar_Info->TarStatus &= ~WIDE_ENABLED; in stwidn()
6969 currTar_Info->TarStatus |= WIDE_NEGOCIATED; in stwidn()
6971 if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_SUPPORTED)) in stwidn()
6998 currTar_Info->TarStatus |= (WIDE_NEGOCIATED | WIDE_ENABLED); in stwidn()
7161 currTar_Info->TarStatus &= ~TAR_SYNC_MASK; in sresb()
7166 currTar_Info->TarStatus &= ~TAR_WIDE_MASK; in sresb()
7476 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_REJECT) in sinits()
7480 currTar_Info->TarStatus |= TAG_Q_TRYING; in sinits()
7492 if ((currTar_Info->TarStatus & TAR_ALLOW_DISC) || in sinits()
7493 (currTar_Info->TarStatus & TAG_Q_TRYING)) { in sinits()
7855 sccbMgrTbl[p_card][scsiID].TarStatus &= ~TAR_SYNC_MASK; in phaseMsgOut()
7862 sccbMgrTbl[p_card][scsiID].TarStatus &= ~TAR_WIDE_MASK; in phaseMsgOut()
7934 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in phaseMsgOut()
8193 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in phaseBusFree()
8206 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= in phaseBusFree()
8213 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus = in phaseBusFree()
8215 TarStatus & ~WIDE_ENABLED) | WIDE_NEGOCIATED; in phaseBusFree()
8230 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_TAG_Q_MASK; in phaseBusFree()
8231 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= TAG_Q_REJECT; in phaseBusFree()
8252 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in phaseBusFree()
8452 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in autoCmdCmplt()
8484 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= in autoCmdCmplt()
8491 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in autoCmdCmplt()
8520 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus = in autoCmdCmplt()
8522 TarStatus & ~WIDE_ENABLED) | WIDE_NEGOCIATED; in autoCmdCmplt()
8528 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in autoCmdCmplt()
8560 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_SYNC_MASK; in autoCmdCmplt()
8564 sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_WIDE_MASK; in autoCmdCmplt()
8590 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in autoCmdCmplt()
8622 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in autoCmdCmplt()
8654 ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in autoCmdCmplt()
11086 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) in queueSearchSelect()
11312 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in queueCmdComplete()
11406 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)))
11448 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) in queueDisconnect()