Lines Matching defs:currTar_Info
795 struct sccb_mgr_tar_info *currTar_Info);
1618 struct sccb_mgr_tar_info *currTar_Info;
1692 currTar_Info =
1697 discQ_Tbl[currTar_Info->
2009 struct sccb_mgr_tar_info *currTar_Info;
2106 currTar_Info =
2109 && ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) !=
2111 currTar_Info->TarLUNBusy[pCurrCard->currentSCCB->Lun] =
2114 currTar_Info->TarLUNBusy[0] = 0;
2116 if (currTar_Info->TarEEValue & EE_SYNC_MASK) {
2117 currTar_Info->TarSyncCtrl = 0;
2118 currTar_Info->TarStatus &= ~TAR_SYNC_MASK;
2121 if (currTar_Info->TarEEValue & EE_WIDE_SCSI) {
2122 currTar_Info->TarStatus &= ~TAR_WIDE_MASK;
2126 currTar_Info);
2214 struct sccb_mgr_tar_info *currTar_Info;
2216 currTar_Info = &FPT_sccbMgrTbl[p_card][target];
2218 currTar_Info->TarSelQ_Cnt = 0;
2219 currTar_Info->TarSyncCtrl = 0;
2221 currTar_Info->TarSelQ_Head = NULL;
2222 currTar_Info->TarSelQ_Tail = NULL;
2223 currTar_Info->TarTagQ_Cnt = 0;
2224 currTar_Info->TarLUN_CA = 0;
2227 currTar_Info->TarLUNBusy[lun] = 0;
2228 currTar_Info->LunDiscQ_Idx[lun] = 0;
2327 struct sccb_mgr_tar_info *currTar_Info;
2333 currTar_Info = &FPT_sccbMgrTbl[p_card][target];
2338 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_REJECT)
2342 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)))
2350 if ((currTar_Info->TarLUN_CA == 0)
2351 && ((currTar_Info->TarStatus & TAR_TAG_Q_MASK)
2354 if (currTar_Info->TarTagQ_Cnt != 0) {
2355 currTar_Info->TarLUNBusy[lun] = 1;
2362 currTar_Info->TarLUNBusy[lun] = 1;
2368 currTar_Info->TarLUNBusy[lun] = 1;
2374 if (currTar_Info->TarLUN_CA == 1) {
2380 currTar_Info->TarLUNBusy[lun] = 1;
2387 currTar_Info->TarLUNBusy[lun] = 1;
2391 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))
2394 currTar_Info->TarLUNBusy[lun] = 1;
2404 currTar_Info->LunDiscQ_Idx[lun] = lastTag;
2411 currTar_Info->TarLUNBusy[lun] = 1;
2436 if (currTar_Info->TarEEValue & EE_SYNC_MASK) {
2437 currTar_Info->TarSyncCtrl = 0;
2438 currTar_Info->TarStatus &= ~TAR_SYNC_MASK;
2441 if (currTar_Info->TarEEValue & EE_WIDE_SCSI) {
2442 currTar_Info->TarStatus &= ~TAR_WIDE_MASK;
2445 FPT_sssyncv(port, target, NARROW_SCSI, currTar_Info);
2473 else if (!(currTar_Info->TarStatus & WIDE_NEGOCIATED)) {
2478 else if (!((currTar_Info->TarStatus & TAR_SYNC_MASK)
2490 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK)
2510 currTar_Info->TarLUNBusy[lun] = 1;
2544 currTar_Info->TarLUNBusy[lun] = 1;
2624 struct sccb_mgr_tar_info *currTar_Info;
2628 currTar_Info =
2636 currTar_Info->TarStatus &= ~TAR_WIDE_MASK;
2640 currTar_Info->TarStatus &= ~TAR_SYNC_MASK;
2644 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) !=
2646 currTar_Info->TarLUNBusy[currSCCB->Lun] = 0;
2649 pCurrCard->discQ_Tbl[currTar_Info->
2655 currTar_Info->TarLUNBusy[0] = 0;
2665 pCurrCard->discQ_Tbl[currTar_Info->
2678 currTar_Info = &FPT_sccbMgrTbl[p_card][our_target];
2683 currTar_Info = &FPT_sccbMgrTbl[p_card][our_target];
2703 if ((currTar_Info->
2706 if (currTar_Info->TarTagQ_Cnt !=
2710 (currTar_Info->
2782 currTar_Info);
2808 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) {
2809 currTar_Info->TarLUNBusy[lun] = 1;
2811 pCurrCard->discQ_Tbl[currTar_Info->LunDiscQ_Idx[lun]];
2818 currTar_Info->TarLUNBusy[0] = 1;
2824 currTar_Info->TarTagQ_Cnt--;
2831 pCurrCard->discQ_Tbl[currTar_Info->LunDiscQ_Idx[0]];
2906 struct sccb_mgr_tar_info *currTar_Info;
2911 currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID];
2928 currTar_Info->TarStatus &=
2930 currTar_Info->TarStatus |= (unsigned char)TAG_Q_REJECT;
2949 ((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_TRYING)
2950 || ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) ==
2965 currTar_Info->TarStatus |=
2968 currTar_Info->TarEEValue &=
2975 currTar_Info->TarStatus =
2976 (currTar_Info->
2980 currTar_Info->TarEEValue &=
2985 else if ((currTar_Info->
2988 currTar_Info->TarStatus =
2989 (currTar_Info->
3014 ((currTar_Info->
3017 currTar_Info->TarLUNBusy[currSCCB->
3020 currTar_Info->TarLUNBusy[0] = 1;
3154 struct sccb_mgr_tar_info *currTar_Info;
3157 currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID];
3159 if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_TRYING)) {
3174 if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_20MB)
3179 else if ((currTar_Info->TarEEValue & EE_SYNC_MASK) ==
3185 else if ((currTar_Info->TarEEValue & EE_SYNC_MASK) ==
3203 currTar_Info->TarStatus =
3204 ((currTar_Info->
3217 currTar_Info->TarStatus |= (unsigned char)SYNC_SUPPORTED;
3218 currTar_Info->TarEEValue &= ~EE_SYNC_MASK;
3235 struct sccb_mgr_tar_info *currTar_Info;
3238 currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID];
3258 if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_20MB)
3262 else if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_10MB)
3266 else if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_5MB)
3319 if (currTar_Info->TarStatus & WIDE_ENABLED)
3327 FPT_sssyncv(port, currSCCB->TargID, sync_reg, currTar_Info);
3333 currTar_Info->TarStatus = ((currTar_Info->TarStatus &
3347 currTar_Info->TarStatus = ((currTar_Info->TarStatus &
3394 struct sccb_mgr_tar_info *currTar_Info;
3397 currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID];
3399 if (!((currTar_Info->TarStatus & TAR_WIDE_MASK) == WIDE_NEGOCIATED)) {
3420 currTar_Info->TarStatus = ((currTar_Info->TarStatus &
3429 currTar_Info->TarStatus = ((currTar_Info->TarStatus &
3433 currTar_Info->TarEEValue &= ~EE_WIDE_SCSI;
3450 struct sccb_mgr_tar_info *currTar_Info;
3453 currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID];
3463 if (!(currTar_Info->TarEEValue & EE_WIDE_SCSI))
3467 currTar_Info->TarStatus |= WIDE_ENABLED;
3471 currTar_Info->TarStatus &= ~WIDE_ENABLED;
3474 FPT_sssyncv(port, currSCCB->TargID, width, currTar_Info);
3478 currTar_Info->TarStatus |= WIDE_NEGOCIATED;
3481 ((currTar_Info->TarStatus & TAR_SYNC_MASK) ==
3499 if (currTar_Info->TarEEValue & EE_WIDE_SCSI)
3506 currTar_Info->TarStatus |= (WIDE_NEGOCIATED | WIDE_ENABLED);
3547 struct sccb_mgr_tar_info *currTar_Info)
3607 currTar_Info->TarSyncCtrl = p_sync_value;
3621 struct sccb_mgr_tar_info *currTar_Info;
3649 currTar_Info = &FPT_sccbMgrTbl[p_card][scsiID];
3651 if (currTar_Info->TarEEValue & EE_SYNC_MASK) {
3652 currTar_Info->TarSyncCtrl = 0;
3653 currTar_Info->TarStatus &= ~TAR_SYNC_MASK;
3656 if (currTar_Info->TarEEValue & EE_WIDE_SCSI) {
3657 currTar_Info->TarStatus &= ~TAR_WIDE_MASK;
3660 FPT_sssyncv(port, scsiID, NARROW_SCSI, currTar_Info);
3919 struct sccb_mgr_tar_info *currTar_Info;
3924 currTar_Info = &FPT_sccbMgrTbl[p_card][p_sccb->TargID];
3942 if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_REJECT)
3946 currTar_Info->TarStatus |= TAG_Q_TRYING;
3955 (currTar_Info->TarStatus & TAR_ALLOW_DISC)) ||
3956 (currTar_Info->TarStatus & TAG_Q_TRYING)) {
3958 if ((currTar_Info->TarStatus & TAR_ALLOW_DISC) ||
3959 (currTar_Info->TarStatus & TAG_Q_TRYING)) {
4179 struct sccb_mgr_tar_info *currTar_Info;
4190 currTar_Info = &FPT_sccbMgrTbl[p_card][scsiID];
4191 currTar_Info->TarSyncCtrl = 0;
4192 FPT_sssyncv(port, scsiID, NARROW_SCSI, currTar_Info);
6714 struct sccb_mgr_tar_info *currTar_Info;
6719 currTar_Info = &FPT_sccbMgrTbl[p_card][scan_ptr];
6721 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) !=
6723 if (currTar_Info->TarSelQ_Cnt != 0) {
6730 if (currTar_Info->TarLUNBusy[lun] == 0) {
6733 currTar_Info->TarSelQ_Head;
6766 currTar_Info->
6769 currTar_Info->
6776 if (currTar_Info->
6779 currTar_Info->
6782 currTar_Info->
6786 currTar_Info->
6788 currTar_Info->
6814 if ((currTar_Info->TarSelQ_Cnt != 0) &&
6815 (currTar_Info->TarLUNBusy[0] == 0)) {
6818 currTar_Info->TarSelQ_Head;
6820 currTar_Info->TarSelQ_Head =
6824 if (currTar_Info->TarSelQ_Head == NULL) {
6825 currTar_Info->TarSelQ_Tail = NULL;
6826 currTar_Info->TarSelQ_Cnt = 0;
6828 currTar_Info->TarSelQ_Cnt--;
6829 currTar_Info->TarSelQ_Head->
6866 struct sccb_mgr_tar_info *currTar_Info;
6872 currTar_Info = &FPT_sccbMgrTbl[p_card][thisTarg];
6877 currTar_Info->TarSelQ_Head;
6879 if (currTar_Info->TarSelQ_Cnt == 0) {
6880 currTar_Info->TarSelQ_Tail = pCurrCard->currentSCCB;
6884 currTar_Info->TarSelQ_Head->Sccb_backlink =
6888 currTar_Info->TarSelQ_Head = pCurrCard->currentSCCB;
6891 currTar_Info->TarSelQ_Cnt++;
6909 struct sccb_mgr_tar_info *currTar_Info;
6968 currTar_Info = &FPT_sccbMgrTbl[p_card][p_sccb->TargID];
6970 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) !=
6973 pCurrCard->discQ_Tbl[currTar_Info->
6981 pCurrCard->discQ_Tbl[currTar_Info->
7003 struct sccb_mgr_tar_info *currTar_Info;
7005 currTar_Info = &FPT_sccbMgrTbl[p_card][p_sccb->TargID];
7008 ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) {
7009 FPT_BL_Card[p_card].discQ_Tbl[currTar_Info->
7020 FPT_BL_Card[p_card].discQ_Tbl[currTar_Info->
7039 struct sccb_mgr_tar_info *currTar_Info;
7044 currTar_Info = &FPT_sccbMgrTbl[p_card][thisTarg];
7060 currTar_Info->TarTagQ_Cnt--;
7080 struct sccb_mgr_tar_info *currTar_Info;
7082 currTar_Info = &FPT_sccbMgrTbl[p_card][thisTarg];
7097 currTar_Info->TarTagQ_Cnt--;
7106 struct sccb_mgr_tar_info *currTar_Info;
7107 currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID];
7111 p_SCCB->Sccb_backlink = currTar_Info->TarSelQ_Tail;
7113 if (currTar_Info->TarSelQ_Cnt == 0) {
7115 currTar_Info->TarSelQ_Head = p_SCCB;
7120 currTar_Info->TarSelQ_Tail->Sccb_forwardlink = p_SCCB;
7123 currTar_Info->TarSelQ_Tail = p_SCCB;
7124 currTar_Info->TarSelQ_Cnt++;
7140 struct sccb_mgr_tar_info *currTar_Info;
7142 currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID];
7144 q_ptr = currTar_Info->TarSelQ_Head;
7150 if (currTar_Info->TarSelQ_Head == q_ptr) {
7152 currTar_Info->TarSelQ_Head =
7156 if (currTar_Info->TarSelQ_Tail == q_ptr) {
7158 currTar_Info->TarSelQ_Tail =
7172 currTar_Info->TarSelQ_Cnt--;