Lines Matching refs:p_SCCB
795 static void FPT_queueDisconnect(struct sccb *p_SCCB, unsigned char p_card);
797 struct sccb *p_SCCB, unsigned char p_card);
801 static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char card);
802 static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB,
804 static void FPT_utilUpdateResidual(struct sccb *p_SCCB);
7030 static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char p_card) in FPT_queueAddSccb() argument
7033 currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID]; in FPT_queueAddSccb()
7035 p_SCCB->Sccb_forwardlink = NULL; in FPT_queueAddSccb()
7037 p_SCCB->Sccb_backlink = currTar_Info->TarSelQ_Tail; in FPT_queueAddSccb()
7041 currTar_Info->TarSelQ_Head = p_SCCB; in FPT_queueAddSccb()
7046 currTar_Info->TarSelQ_Tail->Sccb_forwardlink = p_SCCB; in FPT_queueAddSccb()
7049 currTar_Info->TarSelQ_Tail = p_SCCB; in FPT_queueAddSccb()
7062 static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB, in FPT_queueFindSccb() argument
7068 currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID]; in FPT_queueFindSccb()
7074 if (q_ptr == p_SCCB) { in FPT_queueFindSccb()
7125 static void FPT_utilUpdateResidual(struct sccb *p_SCCB) in FPT_utilUpdateResidual() argument
7131 if (p_SCCB->Sccb_XferState & F_ALL_XFERRED) { in FPT_utilUpdateResidual()
7133 p_SCCB->DataLength = 0x0000; in FPT_utilUpdateResidual()
7136 else if (p_SCCB->Sccb_XferState & F_SG_XFER) { in FPT_utilUpdateResidual()
7140 sg_index = p_SCCB->Sccb_sgseg; in FPT_utilUpdateResidual()
7143 if (p_SCCB->Sccb_SGoffset) { in FPT_utilUpdateResidual()
7145 partial_cnt = p_SCCB->Sccb_SGoffset; in FPT_utilUpdateResidual()
7150 (unsigned long)SG_ELEMENT_SIZE) < p_SCCB->DataLength) { in FPT_utilUpdateResidual()
7151 segp = (struct blogic_sg_seg *)(p_SCCB->DataPointer) + in FPT_utilUpdateResidual()
7157 p_SCCB->DataLength = partial_cnt; in FPT_utilUpdateResidual()
7162 p_SCCB->DataLength -= p_SCCB->Sccb_ATC; in FPT_utilUpdateResidual()