• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:p_Sccb

1487  * Description: Start a command pointed to by p_Sccb. When the
1492 static void FlashPoint_StartCCB(unsigned long pCurrCard, struct sccb *p_Sccb)
1502 if ((p_Sccb->TargID >= MAX_SCSI_TAR) || (p_Sccb->Lun >= MAX_LUN)) {
1504 p_Sccb->HostStatus = SCCB_COMPLETE;
1505 p_Sccb->SccbStatus = SCCB_ERROR;
1506 callback = (CALL_BK_FN) p_Sccb->SccbCallback;
1508 callback(p_Sccb);
1513 FPT_sinits(p_Sccb, thisCard);
1533 if (p_Sccb->OperationCode == RESET_COMMAND) {
1536 ((struct sccb_card *)pCurrCard)->currentSCCB = p_Sccb;
1541 FPT_queueAddSccb(p_Sccb, thisCard);
1547 if (p_Sccb->OperationCode == RESET_COMMAND) {
1550 ((struct sccb_card *)pCurrCard)->currentSCCB = p_Sccb;
1555 FPT_queueAddSccb(p_Sccb, thisCard);
1565 ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].
1567 lun = p_Sccb->Lun;
1571 (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0)
1572 && (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun]
1575 ((struct sccb_card *)pCurrCard)->currentSCCB = p_Sccb;
1576 FPT_ssel(p_Sccb->SccbIOPort, thisCard);
1581 if (p_Sccb->OperationCode == RESET_COMMAND) {
1586 p_Sccb;
1592 FPT_queueAddSccb(p_Sccb, thisCard);
1605 * Description: Abort the command pointed to by p_Sccb. When the
1610 static int FlashPoint_AbortCCB(unsigned long pCurrCard, struct sccb *p_Sccb)
1626 if (FPT_queueFindSccb(p_Sccb, thisCard)) {
1637 p_Sccb->SccbStatus = SCCB_ABORT;
1638 callback = p_Sccb->SccbCallback;
1639 callback(p_Sccb);
1646 p_Sccb) {
1647 p_Sccb->SccbStatus = SCCB_ABORT;
1654 TID = p_Sccb->TargID;
1656 if (p_Sccb->Sccb_tag) {
1659 discQ_Tbl[p_Sccb->Sccb_tag] ==
1660 p_Sccb) {
1661 p_Sccb->SccbStatus = SCCB_ABORT;
1662 p_Sccb->Sccb_scsistat =
1664 p_Sccb->Sccb_scsimsg =
1672 currentSCCB = p_Sccb;
1682 currentSCCB = p_Sccb;
1693 &FPT_sccbMgrTbl[thisCard][p_Sccb->
1698 LunDiscQ_Idx[p_Sccb->Lun]]
1699 == p_Sccb) {
1700 p_Sccb->SccbStatus = SCCB_ABORT;