• 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:pCurrSCCB

789 			struct sccb *pCurrSCCB);
861 struct sccb *pCurrSCCB);
863 struct sccb *pCurrSCCB);
865 struct sccb *pCurrSCCB);
2251 static unsigned char FPT_sfm(unsigned long port, struct sccb *pCurrSCCB)
2276 if (pCurrSCCB != NULL) {
2277 pCurrSCCB->Sccb_scsimsg = SMPARITY;
3083 struct sccb *pCurrSCCB)
3087 length = FPT_sfm(port, pCurrSCCB);
3091 message = FPT_sfm(port, pCurrSCCB);
3102 pCurrSCCB->Sccb_scsimsg = SMREJECT;
3113 pCurrSCCB->Sccb_scsimsg = SMREJECT;
3122 pCurrSCCB->Sccb_scsimsg = SMREJECT;
3129 if (pCurrSCCB->Sccb_scsimsg != SMPARITY)
3135 if (pCurrSCCB->Sccb_scsimsg == SMPARITY)
5164 struct sccb *pCurrSCCB)
5173 if (pCurrSCCB->Sccb_XferState & F_AUTO_SENSE) {
5194 if (pCurrSCCB->HostStatus == 0x00)
5196 pCurrSCCB->HostStatus =
5207 if (pCurrSCCB->HostStatus ==
5210 pCurrSCCB->HostStatus =
5217 else if (pCurrSCCB->Sccb_XferCnt) {
5219 if (pCurrSCCB->Sccb_XferState & F_SG_XFER) {
5227 sg_ptr = pCurrSCCB->Sccb_sgseg + SG_BUF_CNT;
5230 (unsigned int)(pCurrSCCB->DataLength /
5234 (unsigned int)(pCurrSCCB->DataLength /
5238 remain_cnt = pCurrSCCB->Sccb_XferCnt;
5246 long)(*(((unsigned long *)pCurrSCCB->
5252 pCurrSCCB->DataPointer) +
5264 pCurrSCCB->Sccb_SGoffset = remain_cnt;
5266 pCurrSCCB->Sccb_sgseg = (unsigned short)sg_ptr;
5269 pCurrSCCB->DataLength && (remain_cnt == 0))
5271 pCurrSCCB->Sccb_XferState |=
5277 if (pCurrSCCB->HostStatus == 0x00) {
5279 pCurrSCCB->HostStatus =
5285 if (!(pCurrSCCB->Sccb_XferState & F_HOST_XFER_DIR)) {
5300 if (pCurrSCCB->HostStatus ==
5303 pCurrSCCB->HostStatus =
5344 if (pCurrSCCB->HostStatus == 0x00) {
5346 pCurrSCCB->HostStatus =
5359 if (pCurrSCCB->HostStatus == 0x00) {
5361 pCurrSCCB->HostStatus =
5382 if (pCurrSCCB->HostStatus == 0x00) {
5384 pCurrSCCB->HostStatus = SCCB_BM_ERR;
5395 if (pCurrSCCB->HostStatus == 0x00) {
5397 pCurrSCCB->HostStatus = SCCB_BM_ERR;
5403 if (pCurrSCCB->Sccb_XferState & F_SG_XFER) {
5411 pCurrSCCB->Sccb_sgseg += SG_BUF_CNT;
5413 pCurrSCCB->Sccb_SGoffset = 0x00;
5415 if ((unsigned long)(pCurrSCCB->Sccb_sgseg *
5417 pCurrSCCB->DataLength) {
5419 pCurrSCCB->Sccb_XferState |= F_ALL_XFERRED;
5421 pCurrSCCB->Sccb_sgseg =
5422 (unsigned short)(pCurrSCCB->DataLength /
5430 if (!(pCurrSCCB->Sccb_XferState & F_AUTO_SENSE))
5432 pCurrSCCB->Sccb_XferState |= F_ALL_XFERRED;