Lines Matching refs:sg_index
8773 UINT sg_index; in busMstrSGDataXferStart() local
8793 sg_index = pcurrSCCB->Sccb_sgseg; in busMstrSGDataXferStart()
8803 ((ULONG)(sg_index * (UINT)SG_ELEMENT_SIZE) < pcurrSCCB->DataLength) ) { in busMstrSGDataXferStart()
8807 (sg_index * 2)); in busMstrSGDataXferStart()
8810 (sg_index * 2)); in busMstrSGDataXferStart()
8813 ((sg_index * 2) + 1)); in busMstrSGDataXferStart()
8817 (sg_index * 2)); in busMstrSGDataXferStart()
8820 (sg_index * 2)); in busMstrSGDataXferStart()
8823 ((sg_index * 2) + 1)); in busMstrSGDataXferStart()
8842 sg_index++; in busMstrSGDataXferStart()
9311 UINT sg_index; in hostDataXferRestart() local
9322 sg_index = 0xffff; /*Index by long words into sg list. */ in hostDataXferRestart()
9333 sg_index++; in hostDataXferRestart()
9334 data_count += *(sg_ptr+(sg_index * 2)); in hostDataXferRestart()
9340 sg_index++; in hostDataXferRestart()
9347 currSCCB->Sccb_sgseg = (USHORT)sg_index; in hostDataXferRestart()
11642 UINT sg_index; in utilUpdateResidual() local
11658 sg_index = p_SCCB->Sccb_sgseg; in utilUpdateResidual()
11669 sg_index++; in utilUpdateResidual()
11672 while ( ((ULONG)sg_index * (ULONG)SG_ELEMENT_SIZE) < in utilUpdateResidual()
11675 partial_cnt += *(sg_ptr+(sg_index * 2)); in utilUpdateResidual()
11676 sg_index++; in utilUpdateResidual()