Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/drm/
Ddrm_atomic.h702 …each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_state, __i) \ argument
703 for ((__i) = 0; \
704 (__i) < (__state)->num_connector; \
705 (__i)++) \
706 for_each_if ((__state)->connectors[__i].ptr && \
707 ((connector) = (__state)->connectors[__i].ptr, \
709 (old_connector_state) = (__state)->connectors[__i].old_state, \
710 (new_connector_state) = (__state)->connectors[__i].new_state, 1))
724 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument
725 for ((__i) = 0; \
[all …]
Ddrm_dp_mst_helper.h918 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument
919 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
920 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i)))
935 #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ argument
936 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
937 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i)))
953 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument
954 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
955 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
/Linux-v5.10/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.h418 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
419 for ((__i) = 0; \
420 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
421 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
422 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
423 (__i)++) \
426 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
427 for ((__i) = 0; \
428 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
429 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
[all …]
/Linux-v5.10/tools/perf/util/
Dcpu-set-sched.h20 size_t __i; \
21 for (__i = 0; __i < __imax; ++__i) \
22 if (__arr1[__i] != __arr2[__i]) \
24 __i == __imax; }))
40 size_t __i; \
41 for (__i = 0; __i < __imax; ++__i) \
42 ((__cpu_mask *) __dest->__bits)[__i] = __arr1[__i] op __arr2[__i]; \
/Linux-v5.10/include/uapi/linux/netfilter_bridge/
Debtables.h218 unsigned int __i; \
222 for (__i = sizeof(struct ebt_entry); \
223 __i < (e)->watchers_offset; \
224 __i += __match->match_size + \
226 __match = (void *)(e) + __i; \
233 if (__i != (e)->watchers_offset) \
241 unsigned int __i; \
245 for (__i = e->watchers_offset; \
246 __i < (e)->target_offset; \
247 __i += __watcher->watcher_size + \
[all …]
/Linux-v5.10/lib/mpi/
Dlonglong.h234 struct {USItype __l, __h; } __i; \
240 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
243 struct {SItype __l, __h; } __i; \
249 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
323 struct {USItype __h, __l; } __i; \
329 (wh) = __xx.__i.__h; \
330 (wl) = __xx.__i.__l; \
355 struct {USItype __h, __l; } __i; \
359 : "=r" (__xx.__i.__h), \
360 "=r" (__xx.__i.__l) \
[all …]
/Linux-v5.10/include/uapi/linux/netfilter/
Dx_tables.h131 unsigned int __i; \
135 for (__i = sizeof(type); \
136 __i < (e)->target_offset; \
137 __i += __m->u.match_size) { \
138 __m = (void *)e + __i; \
150 unsigned int __i, __n; \
154 for (__i = 0, __n = 0; __i < (size); \
155 __i += __entry->next_offset, __n++) { \
156 __entry = (void *)(entries) + __i; \
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_debug.h91 int __i; \
95 for (__i = 0; __i < (int)_hexdatalen; __i++) { \
96 pr_info("%02X%s", ptr[__i], \
97 (((__i + 1) % 4) == 0) ? \
99 if (((__i + 1) % 16) == 0) \
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Dodm_debug.h144 int __i;\
149 for (__i = 0; __i < 6; __i++)\
150 DbgPrint("%02X%s", __ptr[__i], (__i == 5) ? "" : "-");\
DHalBtcOutSrc.h134 int __i;\
138 for (__i = 0; __i < 6; __i++)\
139 DbgPrint("%02X%s", ptr[__i], (__i == 5) ? "" : "-");\
147 int __i;\
150 for (__i = 0; __i < (int)_HexDataLen; __i++) {\
151 DbgPrint("%02X%s", ptr[__i], (((__i + 1) % 4) == 0) ? " " : " ");\
152 if (((__i + 1) % 16) == 0)\
/Linux-v5.10/security/apparmor/include/
Dmatch.h112 typeof(LEN) __i; \
115 for (__i = 0; __i < LEN; __i++) { \
116 __t[__i] = NTOHX(__b[__i]); \
Dlib.h224 struct label_it __i; \
233 label_for_each(__i, (L), (P)) { \
244 label_for_each(__i, __lvec[__j], (P)) \
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_debug.h241 int __i; \
245 for (__i = 0; __i < (int)_HexDataLen; __i++) \
247 _dbgdump("%02X%s", ptr[__i], (((__i + 1) % 4) == 0)?" ":" "); \
248 if (((__i + 1) % 16) == 0) _dbgdump("\n"); \
/Linux-v5.10/tools/virtio/linux/
Dscatterlist.h77 #define for_each_sg(sglist, sg, nr, __i) \ argument
78 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
/Linux-v5.10/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++)
/Linux-v5.10/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) \
/Linux-v5.10/arch/mips/include/asm/
Ddiv64.h24 unsigned long __cf, __tmp, __tmp2, __i; \
59 "=&r" (__i), "=&r" (__tmp2) \
/Linux-v5.10/include/scsi/
Dscsi_cmnd.h204 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument
205 for_each_sg(scsi_sglist(cmd), sg, nseg, __i)
308 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument
309 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
/Linux-v5.10/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]; \
/Linux-v5.10/include/linux/
Dscatterlist.h151 #define for_each_sg(sglist, sg, nr, __i) \ argument
152 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
/Linux-v5.10/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]); \
/Linux-v5.10/drivers/gpu/drm/rcar-du/
Drcar_cmm.c21 #define CM2_LUT_TBL(__i) (CM2_LUT_TBL_BASE + (__i) * 4) argument
/Linux-v5.10/arch/x86/include/asm/
Dlocal.h108 long __i = i; in local_add_return() local
112 return i + __i; in local_add_return()
/Linux-v5.10/include/net/
Dflow_offload.h299 #define flow_action_for_each(__i, __act, __actions) \ argument
300 for (__i = 0, __act = &(__actions)->entries[0]; \
301 __i < (__actions)->num_entries; \
302 __act = &(__actions)->entries[++__i])

12