Searched refs:__iter (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 88 #define __for_each_sgt_daddr(__dp, __iter, __sgt, __step) \ argument 89 for ((__iter) = __sgt_iter((__sgt)->sgl, true); \ 90 ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \ 91 (((__iter).curr += (__step)) >= (__iter).max) ? \ 92 (__iter) = __sgt_iter(__sg_next((__iter).sgp), true), 0 : 0) 100 #define for_each_sgt_page(__pp, __iter, __sgt) \ argument 101 for ((__iter) = __sgt_iter((__sgt)->sgl, false); \ 102 ((__pp) = (__iter).pfn == 0 ? NULL : \ 103 pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \ 104 (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \ [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | intel_gtt.h | 148 #define for_each_sgt_daddr(__dp, __iter, __sgt) \ argument 149 __for_each_sgt_daddr(__dp, __iter, __sgt, I915_GTT_PAGE_SIZE)
|