Lines Matching refs:sgeOffset
186 int sgeOffset; in mptscsih_AddSGE() local
216 sgeOffset = sizeof(SCSIIORequest_t) - sizeof(SGE_IO_UNION); in mptscsih_AddSGE()
226 numSgeSlots = ((frm_sz - sgeOffset) / ioc->SGE_size); in mptscsih_AddSGE()
250 sgeOffset += ioc->SGE_size; in mptscsih_AddSGE()
268 sgeOffset += ioc->SGE_size; in mptscsih_AddSGE()
277 ioc->add_chain((char *)chainSge, 0, sgeOffset, in mptscsih_AddSGE()
284 RequestNB = (((sgeOffset - 1) >> ioc->NBShiftFactor) + 1) & 0x03; in mptscsih_AddSGE()
286 "Single Buffer RequestNB=%x, sgeOffset=%d\n", ioc->name, RequestNB, sgeOffset)); in mptscsih_AddSGE()
324 u8 nextChain = (u8) (sgeOffset >> 2); in mptscsih_AddSGE()
325 sgeOffset += ioc->SGE_size; in mptscsih_AddSGE()
326 ioc->add_chain((char *)chainSge, nextChain, sgeOffset, in mptscsih_AddSGE()
333 pReq->ChainOffset = (u8) (sgeOffset >> 2); in mptscsih_AddSGE()
334 RequestNB = (((sgeOffset - 1) >> ioc->NBShiftFactor) + 1) & 0x03; in mptscsih_AddSGE()
335 …_s_DEBUG_FMT "Chain Buffer Needed, RequestNB=%x sgeOffset=%d\n", ioc->name, RequestNB, sgeOffset)); in mptscsih_AddSGE()
374 sgeOffset = 0; in mptscsih_AddSGE()