Lines Matching refs:sgeOffset
188 int sgeOffset; in mptscsih_AddSGE() local
218 sgeOffset = sizeof(SCSIIORequest_t) - sizeof(SGE_IO_UNION); in mptscsih_AddSGE()
228 numSgeSlots = ((frm_sz - sgeOffset) / ioc->SGE_size); in mptscsih_AddSGE()
252 sgeOffset += ioc->SGE_size; in mptscsih_AddSGE()
270 sgeOffset += ioc->SGE_size; in mptscsih_AddSGE()
279 ioc->add_chain((char *)chainSge, 0, sgeOffset, in mptscsih_AddSGE()
286 RequestNB = (((sgeOffset - 1) >> ioc->NBShiftFactor) + 1) & 0x03; in mptscsih_AddSGE()
288 "Single Buffer RequestNB=%x, sgeOffset=%d\n", ioc->name, RequestNB, sgeOffset)); in mptscsih_AddSGE()
326 u8 nextChain = (u8) (sgeOffset >> 2); in mptscsih_AddSGE()
327 sgeOffset += ioc->SGE_size; in mptscsih_AddSGE()
328 ioc->add_chain((char *)chainSge, nextChain, sgeOffset, in mptscsih_AddSGE()
335 pReq->ChainOffset = (u8) (sgeOffset >> 2); in mptscsih_AddSGE()
336 RequestNB = (((sgeOffset - 1) >> ioc->NBShiftFactor) + 1) & 0x03; in mptscsih_AddSGE()
337 …_s_DEBUG_FMT "Chain Buffer Needed, RequestNB=%x sgeOffset=%d\n", ioc->name, RequestNB, sgeOffset)); in mptscsih_AddSGE()
376 sgeOffset = 0; in mptscsih_AddSGE()