Lines Matching refs:pCurrSCCB
767 struct sccb *pCurrSCCB);
839 struct sccb *pCurrSCCB);
841 struct sccb *pCurrSCCB);
843 struct sccb *pCurrSCCB);
2207 static unsigned char FPT_sfm(u32 port, struct sccb *pCurrSCCB) in FPT_sfm() argument
2232 if (pCurrSCCB != NULL) { in FPT_sfm()
2233 pCurrSCCB->Sccb_scsimsg = MSG_PARITY_ERROR; in FPT_sfm()
3038 static void FPT_shandem(u32 port, unsigned char p_card, struct sccb *pCurrSCCB) in FPT_shandem() argument
3042 length = FPT_sfm(port, pCurrSCCB); in FPT_shandem()
3046 message = FPT_sfm(port, pCurrSCCB); in FPT_shandem()
3057 pCurrSCCB->Sccb_scsimsg = MESSAGE_REJECT; in FPT_shandem()
3068 pCurrSCCB->Sccb_scsimsg = MESSAGE_REJECT; in FPT_shandem()
3077 pCurrSCCB->Sccb_scsimsg = MESSAGE_REJECT; in FPT_shandem()
3084 if (pCurrSCCB->Sccb_scsimsg != MSG_PARITY_ERROR) in FPT_shandem()
3090 if (pCurrSCCB->Sccb_scsimsg == MSG_PARITY_ERROR) in FPT_shandem()
5107 struct sccb *pCurrSCCB) in FPT_hostDataXferAbort() argument
5117 if (pCurrSCCB->Sccb_XferState & F_AUTO_SENSE) { in FPT_hostDataXferAbort()
5138 if (pCurrSCCB->HostStatus == 0x00) in FPT_hostDataXferAbort()
5140 pCurrSCCB->HostStatus = in FPT_hostDataXferAbort()
5151 if (pCurrSCCB->HostStatus == in FPT_hostDataXferAbort()
5154 pCurrSCCB->HostStatus = in FPT_hostDataXferAbort()
5161 else if (pCurrSCCB->Sccb_XferCnt) { in FPT_hostDataXferAbort()
5163 if (pCurrSCCB->Sccb_XferState & F_SG_XFER) { in FPT_hostDataXferAbort()
5171 sg_ptr = pCurrSCCB->Sccb_sgseg + SG_BUF_CNT; in FPT_hostDataXferAbort()
5174 (unsigned int)(pCurrSCCB->DataLength / in FPT_hostDataXferAbort()
5177 sg_ptr = (u32)(pCurrSCCB->DataLength / in FPT_hostDataXferAbort()
5181 remain_cnt = pCurrSCCB->Sccb_XferCnt; in FPT_hostDataXferAbort()
5186 segp = (struct blogic_sg_seg *)(pCurrSCCB-> in FPT_hostDataXferAbort()
5197 pCurrSCCB->Sccb_SGoffset = remain_cnt; in FPT_hostDataXferAbort()
5199 pCurrSCCB->Sccb_sgseg = (unsigned short)sg_ptr; in FPT_hostDataXferAbort()
5202 pCurrSCCB->DataLength && (remain_cnt == 0)) in FPT_hostDataXferAbort()
5204 pCurrSCCB->Sccb_XferState |= in FPT_hostDataXferAbort()
5210 if (pCurrSCCB->HostStatus == 0x00) { in FPT_hostDataXferAbort()
5212 pCurrSCCB->HostStatus = in FPT_hostDataXferAbort()
5218 if (!(pCurrSCCB->Sccb_XferState & F_HOST_XFER_DIR)) { in FPT_hostDataXferAbort()
5233 if (pCurrSCCB->HostStatus == in FPT_hostDataXferAbort()
5236 pCurrSCCB->HostStatus = in FPT_hostDataXferAbort()
5277 if (pCurrSCCB->HostStatus == 0x00) { in FPT_hostDataXferAbort()
5279 pCurrSCCB->HostStatus = in FPT_hostDataXferAbort()
5292 if (pCurrSCCB->HostStatus == 0x00) { in FPT_hostDataXferAbort()
5294 pCurrSCCB->HostStatus = in FPT_hostDataXferAbort()
5315 if (pCurrSCCB->HostStatus == 0x00) { in FPT_hostDataXferAbort()
5317 pCurrSCCB->HostStatus = SCCB_BM_ERR; in FPT_hostDataXferAbort()
5328 if (pCurrSCCB->HostStatus == 0x00) { in FPT_hostDataXferAbort()
5330 pCurrSCCB->HostStatus = SCCB_BM_ERR; in FPT_hostDataXferAbort()
5336 if (pCurrSCCB->Sccb_XferState & F_SG_XFER) { in FPT_hostDataXferAbort()
5344 pCurrSCCB->Sccb_sgseg += SG_BUF_CNT; in FPT_hostDataXferAbort()
5346 pCurrSCCB->Sccb_SGoffset = 0x00; in FPT_hostDataXferAbort()
5348 if ((u32)(pCurrSCCB->Sccb_sgseg * SG_ELEMENT_SIZE) >= in FPT_hostDataXferAbort()
5349 pCurrSCCB->DataLength) { in FPT_hostDataXferAbort()
5351 pCurrSCCB->Sccb_XferState |= F_ALL_XFERRED; in FPT_hostDataXferAbort()
5352 pCurrSCCB->Sccb_sgseg = in FPT_hostDataXferAbort()
5353 (unsigned short)(pCurrSCCB->DataLength / in FPT_hostDataXferAbort()
5359 if (!(pCurrSCCB->Sccb_XferState & F_AUTO_SENSE)) in FPT_hostDataXferAbort()
5360 pCurrSCCB->Sccb_XferState |= F_ALL_XFERRED; in FPT_hostDataXferAbort()