Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
A Di915_scatterlist.h88 #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 …]
/linux/include/drm/
A Ddrm_displayid.h156 #define displayid_iter_for_each(__block, __iter) \ argument
157 while (((__block) = __displayid_iter_next(__iter)))
/linux/drivers/gpu/drm/i915/gt/
A Dintel_gtt.h148 #define for_each_sgt_daddr(__dp, __iter, __sgt) \ argument
149 __for_each_sgt_daddr(__dp, __iter, __sgt, I915_GTT_PAGE_SIZE)

Completed in 7 milliseconds