Home
last modified time | relevance | path

Searched refs:__i (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/i915/display/
Dintel_global_state.h32 #define for_each_new_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument
33 for ((__i) = 0; \
34 (__i) < (__state)->num_global_objs && \
35 ((obj) = (__state)->global_objs[__i].ptr, \
36 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
37 (__i)++) \
40 #define for_each_old_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument
41 for ((__i) = 0; \
42 (__i) < (__state)->num_global_objs && \
43 ((obj) = (__state)->global_objs[__i].ptr, \
[all …]
Dintel_display.h448 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
449 for ((__i) = 0; \
450 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
451 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
452 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
453 (__i)++) \
456 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
457 for ((__i) = 0; \
458 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
459 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
[all …]
/drivers/md/
Ddm-verity-fec.c84 #define fec_for_each_prealloc_buffer(__i) \ argument
85 for (__i = 0; __i < DM_VERITY_FEC_BUF_PREALLOC; __i++)
88 #define fec_for_each_extra_buffer(io, __i) \ argument
89 for (__i = DM_VERITY_FEC_BUF_PREALLOC; __i < DM_VERITY_FEC_BUF_MAX; __i++)
92 #define fec_for_each_buffer(io, __i) \ argument
93 for (__i = 0; __i < (io)->nbufs; __i++)
96 #define fec_for_each_buffer_rs_block(io, __i, __j) \ argument
97 fec_for_each_buffer(io, __i) \
/drivers/iommu/
Domap-iommu.h16 #define for_each_iotlb_cr(obj, n, __i, cr) \ argument
17 for (__i = 0; \
18 (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \
19 __i++)
/drivers/net/wireless/ath/carl9170/
Ddebug.c465 unsigned int __i, __err = -ENODEV; \
467 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \
468 __tmp[__i] = name##_regs[__i].reg; \
469 ar->debug.stats.name##_counter[__i] = 0; \
478 unsigned int __i; \
480 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \
481 ar->debug.stats.name##_sum[__i] += \
482 ar->debug.stats.name##_counter[__i]; \
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv10.c416 int __i; \
418 for (__i = 0; __i < ARRAY_SIZE(state); __i++) \
419 state[__i] = nvkm_rd32(device, NV10_PGRAPH_PIPE_DATA); \
424 int __i; \
426 for (__i = 0; __i < ARRAY_SIZE(state); __i++) \
427 nvkm_wr32(device, NV10_PGRAPH_PIPE_DATA, state[__i]); \
/drivers/gpu/drm/rcar-du/
Drcar_cmm.c21 #define CM2_LUT_TBL(__i) (CM2_LUT_TBL_BASE + (__i) * 4) argument
/drivers/input/mouse/
Dappletouch.c221 int __i; \
223 for (__i = 0; __i < ATP_XSENSORS + ATP_YSENSORS; __i++) \
224 printk(" %02x", tab[__i]); \