Lines Matching refs:thisCard

1218 	unsigned char i, j, thisCard, ScamFlg;  in FlashPoint_HardwareResetHostAdapter()  local
1224 for (thisCard = 0; thisCard <= MAX_CARDS; thisCard++) { in FlashPoint_HardwareResetHostAdapter()
1226 if (thisCard == MAX_CARDS) in FlashPoint_HardwareResetHostAdapter()
1229 if (FPT_BL_Card[thisCard].ioPort == ioport) { in FlashPoint_HardwareResetHostAdapter()
1231 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1232 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1236 else if (FPT_BL_Card[thisCard].ioPort == 0x00) { in FlashPoint_HardwareResetHostAdapter()
1238 FPT_BL_Card[thisCard].ioPort = ioport; in FlashPoint_HardwareResetHostAdapter()
1239 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1248 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1249 CurrCard->cardIndex = thisCard; in FlashPoint_HardwareResetHostAdapter()
1294 FPT_sresb(ioport, thisCard); in FlashPoint_HardwareResetHostAdapter()
1296 FPT_scini(thisCard, pCardInfo->si_id, 0); in FlashPoint_HardwareResetHostAdapter()
1333 FPT_sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; in FlashPoint_HardwareResetHostAdapter()
1354 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1360 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1363 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1373 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1380 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1501 unsigned char thisCard, lun; in FlashPoint_StartCCB() local
1506 thisCard = pCurrCard->cardIndex; in FlashPoint_StartCCB()
1520 FPT_sinits(p_Sccb, thisCard); in FlashPoint_StartCCB()
1544 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1548 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1558 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1562 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1571 ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID]. in FlashPoint_StartCCB()
1577 (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0) in FlashPoint_StartCCB()
1578 && (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun] in FlashPoint_StartCCB()
1582 FPT_ssel(p_Sccb->SccbIOPort, thisCard); in FlashPoint_StartCCB()
1590 FPT_queueSelectFail(&FPT_BL_Card[thisCard], in FlashPoint_StartCCB()
1591 thisCard); in FlashPoint_StartCCB()
1594 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1616 unsigned char thisCard; in FlashPoint_AbortCCB() local
1624 thisCard = ((struct sccb_card *)pCurrCard)->cardIndex; in FlashPoint_AbortCCB()
1628 if (FPT_queueFindSccb(p_Sccb, thisCard)) { in FlashPoint_AbortCCB()
1676 thisCard); in FlashPoint_AbortCCB()
1685 FPT_queueSelectFail((struct sccb_card *)pCurrCard, thisCard); in FlashPoint_AbortCCB()
1695 &FPT_sccbMgrTbl[thisCard][p_Sccb-> in FlashPoint_AbortCCB()
1698 if (FPT_BL_Card[thisCard]. in FlashPoint_AbortCCB()
1747 unsigned char thisCard, result, bm_status, bm_int_st; in FlashPoint_HandleInterrupt() local
1753 thisCard = pCurrCard->cardIndex; in FlashPoint_HandleInterrupt()
1773 FPT_SccbMgr_bad_isr(ioport, thisCard, pCurrCard, in FlashPoint_HandleInterrupt()
1801 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1809 FPT_autoCmdCmplt(ioport, thisCard); in FlashPoint_HandleInterrupt()
1816 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1828 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1869 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1883 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1886 FPT_sres(ioport, thisCard, pCurrCard); in FlashPoint_HandleInterrupt()
1887 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1895 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1904 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1935 FPT_schkdd(ioport, thisCard); in FlashPoint_HandleInterrupt()
1945 FPT_hostDataXferAbort(ioport, thisCard, in FlashPoint_HandleInterrupt()
1949 FPT_phaseBusFree(ioport, thisCard); in FlashPoint_HandleInterrupt()
1964 FPT_queueSearchSelect(pCurrCard, thisCard); in FlashPoint_HandleInterrupt()
1968 FPT_ssel(ioport, thisCard); in FlashPoint_HandleInterrupt()
2144 unsigned char thisCard; in FPT_SccbMgrTableInitAll() local
2146 for (thisCard = 0; thisCard < MAX_CARDS; thisCard++) { in FPT_SccbMgrTableInitAll()
2147 FPT_SccbMgrTableInitCard(&FPT_BL_Card[thisCard], thisCard); in FPT_SccbMgrTableInitAll()
2149 FPT_BL_Card[thisCard].ioPort = 0x00; in FPT_SccbMgrTableInitAll()
2150 FPT_BL_Card[thisCard].cardInfo = NULL; in FPT_SccbMgrTableInitAll()
2151 FPT_BL_Card[thisCard].cardIndex = 0xFF; in FPT_SccbMgrTableInitAll()
2152 FPT_BL_Card[thisCard].ourId = 0x00; in FPT_SccbMgrTableInitAll()
2153 FPT_BL_Card[thisCard].pNvRamInfo = NULL; in FPT_SccbMgrTableInitAll()