Lines Matching refs:thisCard
1209 unsigned char i, j, thisCard, ScamFlg; in FlashPoint_HardwareResetHostAdapter() local
1215 for (thisCard = 0; thisCard <= MAX_CARDS; thisCard++) { in FlashPoint_HardwareResetHostAdapter()
1217 if (thisCard == MAX_CARDS) { in FlashPoint_HardwareResetHostAdapter()
1222 if (FPT_BL_Card[thisCard].ioPort == ioport) { in FlashPoint_HardwareResetHostAdapter()
1224 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1225 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1229 else if (FPT_BL_Card[thisCard].ioPort == 0x00) { in FlashPoint_HardwareResetHostAdapter()
1231 FPT_BL_Card[thisCard].ioPort = ioport; in FlashPoint_HardwareResetHostAdapter()
1232 CurrCard = &FPT_BL_Card[thisCard]; in FlashPoint_HardwareResetHostAdapter()
1241 FPT_SccbMgrTableInitCard(CurrCard, thisCard); in FlashPoint_HardwareResetHostAdapter()
1242 CurrCard->cardIndex = thisCard; in FlashPoint_HardwareResetHostAdapter()
1287 FPT_sresb(ioport, thisCard); in FlashPoint_HardwareResetHostAdapter()
1289 FPT_scini(thisCard, pCardInfo->si_id, 0); in FlashPoint_HardwareResetHostAdapter()
1326 FPT_sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; in FlashPoint_HardwareResetHostAdapter()
1347 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1353 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1356 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1366 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1373 FPT_sccbMgrTbl[thisCard][id * 2 + in FlashPoint_HardwareResetHostAdapter()
1495 unsigned char thisCard, lun; in FlashPoint_StartCCB() local
1499 thisCard = ((struct sccb_card *)pCurrCard)->cardIndex; in FlashPoint_StartCCB()
1513 FPT_sinits(p_Sccb, thisCard); in FlashPoint_StartCCB()
1537 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1541 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1551 FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); in FlashPoint_StartCCB()
1555 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1565 ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID]. in FlashPoint_StartCCB()
1571 (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0) in FlashPoint_StartCCB()
1572 && (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun] in FlashPoint_StartCCB()
1576 FPT_ssel(p_Sccb->SccbIOPort, thisCard); in FlashPoint_StartCCB()
1587 FPT_queueSelectFail(&FPT_BL_Card[thisCard], in FlashPoint_StartCCB()
1588 thisCard); in FlashPoint_StartCCB()
1592 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1614 unsigned char thisCard; in FlashPoint_AbortCCB() local
1622 thisCard = ((struct sccb_card *)pCurrCard)->cardIndex; in FlashPoint_AbortCCB()
1626 if (FPT_queueFindSccb(p_Sccb, thisCard)) { in FlashPoint_AbortCCB()
1674 thisCard); in FlashPoint_AbortCCB()
1683 FPT_queueSelectFail((struct sccb_card *)pCurrCard, thisCard); in FlashPoint_AbortCCB()
1693 &FPT_sccbMgrTbl[thisCard][p_Sccb-> in FlashPoint_AbortCCB()
1696 if (FPT_BL_Card[thisCard]. in FlashPoint_AbortCCB()
1745 unsigned char thisCard, result, bm_status, bm_int_st; in FlashPoint_HandleInterrupt() local
1750 thisCard = ((struct sccb_card *)pCurrCard)->cardIndex; in FlashPoint_HandleInterrupt()
1772 FPT_SccbMgr_bad_isr(ioport, thisCard, in FlashPoint_HandleInterrupt()
1802 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1810 FPT_autoCmdCmplt(ioport, thisCard); in FlashPoint_HandleInterrupt()
1819 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1832 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1875 FPT_phaseChkFifo(ioport, thisCard); in FlashPoint_HandleInterrupt()
1890 FPT_queueDisconnect(currSCCB, thisCard); in FlashPoint_HandleInterrupt()
1893 FPT_sres(ioport, thisCard, in FlashPoint_HandleInterrupt()
1895 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1903 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1912 FPT_phaseDecode(ioport, thisCard); in FlashPoint_HandleInterrupt()
1943 FPT_schkdd(ioport, thisCard); in FlashPoint_HandleInterrupt()
1954 FPT_hostDataXferAbort(ioport, thisCard, in FlashPoint_HandleInterrupt()
1958 FPT_phaseBusFree(ioport, thisCard); in FlashPoint_HandleInterrupt()
1978 pCurrCard), thisCard); in FlashPoint_HandleInterrupt()
1985 FPT_ssel(ioport, thisCard); in FlashPoint_HandleInterrupt()
2162 unsigned char thisCard; in FPT_SccbMgrTableInitAll() local
2164 for (thisCard = 0; thisCard < MAX_CARDS; thisCard++) { in FPT_SccbMgrTableInitAll()
2165 FPT_SccbMgrTableInitCard(&FPT_BL_Card[thisCard], thisCard); in FPT_SccbMgrTableInitAll()
2167 FPT_BL_Card[thisCard].ioPort = 0x00; in FPT_SccbMgrTableInitAll()
2168 FPT_BL_Card[thisCard].cardInfo = NULL; in FPT_SccbMgrTableInitAll()
2169 FPT_BL_Card[thisCard].cardIndex = 0xFF; in FPT_SccbMgrTableInitAll()
2170 FPT_BL_Card[thisCard].ourId = 0x00; in FPT_SccbMgrTableInitAll()
2171 FPT_BL_Card[thisCard].pNvRamInfo = NULL; in FPT_SccbMgrTableInitAll()