Lines Matching refs:thisCard
1190 unsigned char i, j, thisCard, ScamFlg; in FlashPoint_HardwareResetHostAdapter() local
1196 for (thisCard = 0; thisCard <= MAX_CARDS; thisCard++) { in FlashPoint_HardwareResetHostAdapter()
1198 if (thisCard == MAX_CARDS) in FlashPoint_HardwareResetHostAdapter()
1201 if (FPT_BL_Card[thisCard].ioPort == ioport) { in FlashPoint_HardwareResetHostAdapter()
1203 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1204 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1208 else if (FPT_BL_Card[thisCard].ioPort == 0x00) { in FlashPoint_HardwareResetHostAdapter()
1210 FPT_BL_Card[thisCard].ioPort = ioport; in FlashPoint_HardwareResetHostAdapter()
1211 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1220 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1221 CurrCard->cardIndex = thisCard; in FlashPoint_HardwareResetHostAdapter()
1266 FPT_sresb(ioport, thisCard); in FlashPoint_HardwareResetHostAdapter()
1268 FPT_scini(thisCard, pCardInfo->si_id, 0); in FlashPoint_HardwareResetHostAdapter()
1305 FPT_sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; in FlashPoint_HardwareResetHostAdapter()
1326 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1332 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1335 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1345 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1352 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1473 unsigned char thisCard, lun; in FlashPoint_StartCCB() local
1478 thisCard = pCurrCard->cardIndex; in FlashPoint_StartCCB()
1492 FPT_sinits(p_Sccb, thisCard); in FlashPoint_StartCCB()
1516 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1520 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1530 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1534 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1543 ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID]. in FlashPoint_StartCCB()
1549 (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0) in FlashPoint_StartCCB()
1550 && (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun] in FlashPoint_StartCCB()
1554 FPT_ssel(p_Sccb->SccbIOPort, thisCard); in FlashPoint_StartCCB()
1562 FPT_queueSelectFail(&FPT_BL_Card[thisCard], in FlashPoint_StartCCB()
1563 thisCard); in FlashPoint_StartCCB()
1566 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1588 unsigned char thisCard; in FlashPoint_AbortCCB() local
1595 thisCard = ((struct sccb_card *)pCurrCard)->cardIndex; in FlashPoint_AbortCCB()
1599 if (FPT_queueFindSccb(p_Sccb, thisCard)) { in FlashPoint_AbortCCB()
1644 thisCard); in FlashPoint_AbortCCB()
1653 FPT_queueSelectFail((struct sccb_card *)pCurrCard, thisCard); in FlashPoint_AbortCCB()
1663 &FPT_sccbMgrTbl[thisCard][p_Sccb-> in FlashPoint_AbortCCB()
1666 if (FPT_BL_Card[thisCard]. in FlashPoint_AbortCCB()
1715 unsigned char thisCard, result, bm_status; in FlashPoint_HandleInterrupt() local
1721 thisCard = pCurrCard->cardIndex; in FlashPoint_HandleInterrupt()
1741 FPT_SccbMgr_bad_isr(ioport, thisCard, pCurrCard, in FlashPoint_HandleInterrupt()
1769 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1777 FPT_autoCmdCmplt(ioport, thisCard); in FlashPoint_HandleInterrupt()
1784 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1796 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1837 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1851 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1854 FPT_sres(ioport, thisCard, pCurrCard); in FlashPoint_HandleInterrupt()
1855 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1863 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1872 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1903 FPT_schkdd(ioport, thisCard); in FlashPoint_HandleInterrupt()
1913 FPT_hostDataXferAbort(ioport, thisCard, in FlashPoint_HandleInterrupt()
1917 FPT_phaseBusFree(ioport, thisCard); in FlashPoint_HandleInterrupt()
1932 FPT_queueSearchSelect(pCurrCard, thisCard); in FlashPoint_HandleInterrupt()
1936 FPT_ssel(ioport, thisCard); in FlashPoint_HandleInterrupt()
2112 unsigned char thisCard; in FPT_SccbMgrTableInitAll() local
2114 for (thisCard = 0; thisCard < MAX_CARDS; thisCard++) { in FPT_SccbMgrTableInitAll()
2115 FPT_SccbMgrTableInitCard(&FPT_BL_Card[thisCard], thisCard); in FPT_SccbMgrTableInitAll()
2117 FPT_BL_Card[thisCard].ioPort = 0x00; in FPT_SccbMgrTableInitAll()
2118 FPT_BL_Card[thisCard].cardInfo = NULL; in FPT_SccbMgrTableInitAll()
2119 FPT_BL_Card[thisCard].cardIndex = 0xFF; in FPT_SccbMgrTableInitAll()
2120 FPT_BL_Card[thisCard].ourId = 0x00; in FPT_SccbMgrTableInitAll()
2121 FPT_BL_Card[thisCard].pNvRamInfo = NULL; in FPT_SccbMgrTableInitAll()