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