• Home
  • Raw
  • Download

Lines Matching refs:p_SCCB

823 static void FPT_queueDisconnect(struct sccb *p_SCCB, unsigned char p_card);
825 struct sccb *p_SCCB, unsigned char p_card);
829 static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char card);
830 static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB,
832 static void FPT_utilUpdateResidual(struct sccb *p_SCCB);
7061 static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char p_card) in FPT_queueAddSccb() argument
7064 currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID]; in FPT_queueAddSccb()
7066 p_SCCB->Sccb_forwardlink = NULL; in FPT_queueAddSccb()
7068 p_SCCB->Sccb_backlink = currTar_Info->TarSelQ_Tail; in FPT_queueAddSccb()
7072 currTar_Info->TarSelQ_Head = p_SCCB; in FPT_queueAddSccb()
7077 currTar_Info->TarSelQ_Tail->Sccb_forwardlink = p_SCCB; in FPT_queueAddSccb()
7080 currTar_Info->TarSelQ_Tail = p_SCCB; in FPT_queueAddSccb()
7093 static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB, in FPT_queueFindSccb() argument
7099 currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID]; in FPT_queueFindSccb()
7105 if (q_ptr == p_SCCB) { in FPT_queueFindSccb()
7156 static void FPT_utilUpdateResidual(struct sccb *p_SCCB) in FPT_utilUpdateResidual() argument
7162 if (p_SCCB->Sccb_XferState & F_ALL_XFERRED) { in FPT_utilUpdateResidual()
7164 p_SCCB->DataLength = 0x0000; in FPT_utilUpdateResidual()
7167 else if (p_SCCB->Sccb_XferState & F_SG_XFER) { in FPT_utilUpdateResidual()
7171 sg_index = p_SCCB->Sccb_sgseg; in FPT_utilUpdateResidual()
7174 if (p_SCCB->Sccb_SGoffset) { in FPT_utilUpdateResidual()
7176 partial_cnt = p_SCCB->Sccb_SGoffset; in FPT_utilUpdateResidual()
7181 (unsigned long)SG_ELEMENT_SIZE) < p_SCCB->DataLength) { in FPT_utilUpdateResidual()
7182 segp = (struct blogic_sg_seg *)(p_SCCB->DataPointer) + in FPT_utilUpdateResidual()
7188 p_SCCB->DataLength = partial_cnt; in FPT_utilUpdateResidual()
7193 p_SCCB->DataLength -= p_SCCB->Sccb_ATC; in FPT_utilUpdateResidual()