Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/
Di915_scatterlist.h89 #define __for_each_sgt_daddr(__dp, __iter, __sgt, __step) \ argument
90 for ((__iter) = __sgt_iter((__sgt)->sgl, true); \
91 ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \
92 (((__iter).curr += (__step)) >= (__iter).max) ? \
93 (__iter) = __sgt_iter(__sg_next((__iter).sgp), true), 0 : 0)
101 #define for_each_sgt_page(__pp, __iter, __sgt) \ argument
102 for ((__iter) = __sgt_iter((__sgt)->sgl, false); \
103 ((__pp) = (__iter).pfn == 0 ? NULL : \
104 pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \
105 (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \
[all …]
/linux-6.1.9/include/drm/
Ddrm_displayid.h156 #define displayid_iter_for_each(__block, __iter) \ argument
157 while (((__block) = __displayid_iter_next(__iter)))
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gtt.h156 #define for_each_sgt_daddr(__dp, __iter, __sgt) \ argument
157 __for_each_sgt_daddr(__dp, __iter, __sgt, I915_GTT_PAGE_SIZE)
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c1733 #define drm_edid_iter_for_each(__block, __iter) \ argument
1734 while (((__block) = __drm_edid_iter_next(__iter)))
4947 #define cea_db_iter_for_each(__db, __iter) \ argument
4948 while (((__db) = __cea_db_iter_next(__iter)))