Lines Matching refs:p_Sccb

1470 static void FlashPoint_StartCCB(void *curr_card, struct sccb *p_Sccb)  in FlashPoint_StartCCB()  argument
1481 if ((p_Sccb->TargID >= MAX_SCSI_TAR) || (p_Sccb->Lun >= MAX_LUN)) { in FlashPoint_StartCCB()
1483 p_Sccb->HostStatus = SCCB_COMPLETE; in FlashPoint_StartCCB()
1484 p_Sccb->SccbStatus = SCCB_ERROR; in FlashPoint_StartCCB()
1485 callback = (CALL_BK_FN) p_Sccb->SccbCallback; in FlashPoint_StartCCB()
1487 callback(p_Sccb); in FlashPoint_StartCCB()
1492 FPT_sinits(p_Sccb, thisCard); in FlashPoint_StartCCB()
1512 if (p_Sccb->OperationCode == RESET_COMMAND) { in FlashPoint_StartCCB()
1515 pCurrCard->currentSCCB = p_Sccb; in FlashPoint_StartCCB()
1520 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1526 if (p_Sccb->OperationCode == RESET_COMMAND) { in FlashPoint_StartCCB()
1529 pCurrCard->currentSCCB = p_Sccb; in FlashPoint_StartCCB()
1534 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1543 ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID]. in FlashPoint_StartCCB()
1545 lun = p_Sccb->Lun; 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()
1553 pCurrCard->currentSCCB = p_Sccb; in FlashPoint_StartCCB()
1554 FPT_ssel(p_Sccb->SccbIOPort, thisCard); in FlashPoint_StartCCB()
1559 if (p_Sccb->OperationCode == RESET_COMMAND) { in FlashPoint_StartCCB()
1561 pCurrCard->currentSCCB = p_Sccb; in FlashPoint_StartCCB()
1566 FPT_queueAddSccb(p_Sccb, thisCard); in FlashPoint_StartCCB()
1584 static int FlashPoint_AbortCCB(void *pCurrCard, struct sccb *p_Sccb) in FlashPoint_AbortCCB() argument
1599 if (FPT_queueFindSccb(p_Sccb, thisCard)) { in FlashPoint_AbortCCB()
1610 p_Sccb->SccbStatus = SCCB_ABORT; in FlashPoint_AbortCCB()
1611 callback = p_Sccb->SccbCallback; in FlashPoint_AbortCCB()
1612 callback(p_Sccb); in FlashPoint_AbortCCB()
1619 p_Sccb) { in FlashPoint_AbortCCB()
1620 p_Sccb->SccbStatus = SCCB_ABORT; in FlashPoint_AbortCCB()
1626 if (p_Sccb->Sccb_tag) { in FlashPoint_AbortCCB()
1629 discQ_Tbl[p_Sccb->Sccb_tag] == in FlashPoint_AbortCCB()
1630 p_Sccb) { in FlashPoint_AbortCCB()
1631 p_Sccb->SccbStatus = SCCB_ABORT; in FlashPoint_AbortCCB()
1632 p_Sccb->Sccb_scsistat = in FlashPoint_AbortCCB()
1634 p_Sccb->Sccb_scsimsg = in FlashPoint_AbortCCB()
1642 currentSCCB = p_Sccb; in FlashPoint_AbortCCB()
1652 currentSCCB = p_Sccb; in FlashPoint_AbortCCB()
1663 &FPT_sccbMgrTbl[thisCard][p_Sccb-> in FlashPoint_AbortCCB()
1668 LunDiscQ_Idx[p_Sccb->Lun]] in FlashPoint_AbortCCB()
1669 == p_Sccb) { in FlashPoint_AbortCCB()
1670 p_Sccb->SccbStatus = SCCB_ABORT; in FlashPoint_AbortCCB()