Home
last modified time | relevance | path

Searched refs:__iter (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/i915/
Di915_scatterlist.h76 #define __for_each_sgt_daddr(__dp, __iter, __sgt, __step) \ argument
77 for ((__iter) = __sgt_iter((__sgt)->sgl, true); \
78 ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \
79 (((__iter).curr += (__step)) >= (__iter).max) ? \
80 (__iter) = __sgt_iter(__sg_next((__iter).sgp), true), 0 : 0)
88 #define for_each_sgt_page(__pp, __iter, __sgt) \ argument
89 for ((__iter) = __sgt_iter((__sgt)->sgl, false); \
90 ((__pp) = (__iter).pfn == 0 ? NULL : \
91 pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \
92 (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_gtt.h145 #define for_each_sgt_daddr(__dp, __iter, __sgt) \ argument
146 __for_each_sgt_daddr(__dp, __iter, __sgt, I915_GTT_PAGE_SIZE)