Lines Matching refs:thisCard

1215 	unsigned char i, j, thisCard, ScamFlg;  in FlashPoint_HardwareResetHostAdapter()  local
1221 for (thisCard = 0; thisCard <= MAX_CARDS; thisCard++) { in FlashPoint_HardwareResetHostAdapter()
1223 if (thisCard == MAX_CARDS) in FlashPoint_HardwareResetHostAdapter()
1226 if (FPT_BL_Card[thisCard].ioPort == ioport) { in FlashPoint_HardwareResetHostAdapter()
1228 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1229 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1233 else if (FPT_BL_Card[thisCard].ioPort == 0x00) { in FlashPoint_HardwareResetHostAdapter()
1235 FPT_BL_Card[thisCard].ioPort = ioport; in FlashPoint_HardwareResetHostAdapter()
1236 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1245 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1246 CurrCard->cardIndex = thisCard; in FlashPoint_HardwareResetHostAdapter()
1291 FPT_sresb(ioport, thisCard); in FlashPoint_HardwareResetHostAdapter()
1293 FPT_scini(thisCard, pCardInfo->si_id, 0); in FlashPoint_HardwareResetHostAdapter()
1330 FPT_sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; in FlashPoint_HardwareResetHostAdapter()
1351 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1357 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1360 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1370 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1377 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1498 unsigned char thisCard, lun; in FlashPoint_StartCCB() local
1503 thisCard = pCurrCard->cardIndex; in FlashPoint_StartCCB()
1517 FPT_sinits(p_Sccb, thisCard); in FlashPoint_StartCCB()
1541 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1545 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1555 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1559 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1568 ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID]. in FlashPoint_StartCCB()
1574 (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0) in FlashPoint_StartCCB()
1575 && (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun] in FlashPoint_StartCCB()
1579 FPT_ssel(p_Sccb->SccbIOPort, thisCard); in FlashPoint_StartCCB()
1587 FPT_queueSelectFail(&FPT_BL_Card[thisCard], in FlashPoint_StartCCB()
1588 thisCard); in FlashPoint_StartCCB()
1591 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1613 unsigned char thisCard; in FlashPoint_AbortCCB() local
1621 thisCard = ((struct sccb_card *)pCurrCard)->cardIndex; in FlashPoint_AbortCCB()
1625 if (FPT_queueFindSccb(p_Sccb, thisCard)) { in FlashPoint_AbortCCB()
1673 thisCard); in FlashPoint_AbortCCB()
1682 FPT_queueSelectFail((struct sccb_card *)pCurrCard, thisCard); in FlashPoint_AbortCCB()
1692 &FPT_sccbMgrTbl[thisCard][p_Sccb-> in FlashPoint_AbortCCB()
1695 if (FPT_BL_Card[thisCard]. in FlashPoint_AbortCCB()
1744 unsigned char thisCard, result, bm_status, bm_int_st; in FlashPoint_HandleInterrupt() local
1750 thisCard = pCurrCard->cardIndex; in FlashPoint_HandleInterrupt()
1770 FPT_SccbMgr_bad_isr(ioport, thisCard, pCurrCard, in FlashPoint_HandleInterrupt()
1798 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1806 FPT_autoCmdCmplt(ioport, thisCard); in FlashPoint_HandleInterrupt()
1813 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1825 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1866 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1880 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1883 FPT_sres(ioport, thisCard, pCurrCard); in FlashPoint_HandleInterrupt()
1884 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1892 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1901 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1932 FPT_schkdd(ioport, thisCard); in FlashPoint_HandleInterrupt()
1942 FPT_hostDataXferAbort(ioport, thisCard, in FlashPoint_HandleInterrupt()
1946 FPT_phaseBusFree(ioport, thisCard); in FlashPoint_HandleInterrupt()
1961 FPT_queueSearchSelect(pCurrCard, thisCard); in FlashPoint_HandleInterrupt()
1965 FPT_ssel(ioport, thisCard); in FlashPoint_HandleInterrupt()
2141 unsigned char thisCard; in FPT_SccbMgrTableInitAll() local
2143 for (thisCard = 0; thisCard < MAX_CARDS; thisCard++) { in FPT_SccbMgrTableInitAll()
2144 FPT_SccbMgrTableInitCard(&FPT_BL_Card[thisCard], thisCard); in FPT_SccbMgrTableInitAll()
2146 FPT_BL_Card[thisCard].ioPort = 0x00; in FPT_SccbMgrTableInitAll()
2147 FPT_BL_Card[thisCard].cardInfo = NULL; in FPT_SccbMgrTableInitAll()
2148 FPT_BL_Card[thisCard].cardIndex = 0xFF; in FPT_SccbMgrTableInitAll()
2149 FPT_BL_Card[thisCard].ourId = 0x00; in FPT_SccbMgrTableInitAll()
2150 FPT_BL_Card[thisCard].pNvRamInfo = NULL; in FPT_SccbMgrTableInitAll()