__iter 151 drivers/gpu/drm/i915/i915_gem_gtt.h #define for_each_sgt_dma(__dmap, __iter, __sgt) \ __iter 152 drivers/gpu/drm/i915/i915_gem_gtt.h __for_each_sgt_dma(__dmap, __iter, __sgt, I915_GTT_PAGE_SIZE) __iter 76 drivers/gpu/drm/i915/i915_scatterlist.h #define __for_each_sgt_dma(__dmap, __iter, __sgt, __step) \ __iter 77 drivers/gpu/drm/i915/i915_scatterlist.h for ((__iter) = __sgt_iter((__sgt)->sgl, true); \ __iter 78 drivers/gpu/drm/i915/i915_scatterlist.h ((__dmap) = (__iter).dma + (__iter).curr); \ __iter 79 drivers/gpu/drm/i915/i915_scatterlist.h (((__iter).curr += (__step)) >= (__iter).max) ? \ __iter 80 drivers/gpu/drm/i915/i915_scatterlist.h (__iter) = __sgt_iter(__sg_next((__iter).sgp), true), 0 : 0) __iter 88 drivers/gpu/drm/i915/i915_scatterlist.h #define for_each_sgt_page(__pp, __iter, __sgt) \ __iter 89 drivers/gpu/drm/i915/i915_scatterlist.h for ((__iter) = __sgt_iter((__sgt)->sgl, false); \ __iter 90 drivers/gpu/drm/i915/i915_scatterlist.h ((__pp) = (__iter).pfn == 0 ? NULL : \ __iter 91 drivers/gpu/drm/i915/i915_scatterlist.h pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \ __iter 92 drivers/gpu/drm/i915/i915_scatterlist.h (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \ __iter 93 drivers/gpu/drm/i915/i915_scatterlist.h (__iter) = __sgt_iter(__sg_next((__iter).sgp), false), 0 : 0)