Home
last modified time | relevance | path

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

12

/openbmc/linux/include/drm/
H A Ddrm_atomic.h762 …each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_state, __i) \ argument
763 for ((__i) = 0; \
764 (__i) < (__state)->num_connector; \
765 (__i)++) \
766 for_each_if ((__state)->connectors[__i].ptr && \
767 ((connector) = (__state)->connectors[__i].ptr, \
769 (old_connector_state) = (__state)->connectors[__i].old_state, \
770 (new_connector_state) = (__state)->connectors[__i].new_state, 1))
784 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument
785 for ((__i) = 0; \
[all …]
/openbmc/u-boot/drivers/net/
H A Dsmc91111.h105 #define SMC_outsl(a,r,b,l) ({ int __i; \
108 for (__i = 0; __i < l; __i++) { \
109 SMC_outl((a), *(__b2 + __i), r); \
113 #define SMC_outsw(a,r,b,l) ({ int __i; \
116 for (__i = 0; __i < l; __i++) { \
117 SMC_outw((a), *(__b2 + __i), r); \
121 #define SMC_insl(a,r,b,l) ({ int __i ; \
124 for (__i = 0; __i < l; __i++) { \
125 *(__b2 + __i) = SMC_inl((a),(r)); \
130 #define SMC_insw(a,r,b,l) ({ int __i ; \
[all …]
H A Dlan91c96.h82 #define SMC_outsl(edev, r, b, l) ({ int __i; \
85 for (__i = 0; __i < l; __i++) { \
86 SMC_outl(edev, *(__b2 + __i),\
91 #define SMC_outsw(edev, r, b, l) ({ int __i; \
94 for (__i = 0; __i < l; __i++) { \
95 SMC_outw(edev, *(__b2 + __i),\
100 #define SMC_insl(edev, r, b, l) ({ int __i ; \
103 for (__i = 0; __i < l; __i++) { \
104 *(__b2 + __i) = SMC_inl(edev,\
110 #define SMC_insw(edev, r, b, l) ({ int __i ; \
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A 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 …]
H A Dintel_display.h318 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
319 for ((__i) = 0; \
320 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
321 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
322 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
323 (__i)++) \
326 #define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
327 for ((__i) = 0; \
328 (__i) < (__state)->base.dev->mode_config.num_crtc && \
329 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
[all …]
/openbmc/linux/tools/perf/util/
H A 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]; \
H A Dsample.h60 for (int __i = 0; __i < (int)nr; v = next_sample_read_value(v, rf), __i++)
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h220 unsigned int __i; \
224 for (__i = sizeof(struct ebt_entry); \
225 __i < (e)->watchers_offset; \
226 __i += __match->match_size + \
228 __match = (void *)(e) + __i; \
235 if (__i != (e)->watchers_offset) \
243 unsigned int __i; \
247 for (__i = e->watchers_offset; \
248 __i < (e)->target_offset; \
249 __i += __watcher->watcher_size + \
[all …]
/openbmc/linux/lib/crypto/mpi/
H A 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 …]
/openbmc/linux/include/uapi/linux/netfilter/
H A 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; \
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__bulk.hpp146 for (__shape_t __i{}; __i != __state.__shape_; ++__i) member
148 __state.__fun_(__i, __args...);
157 for (__shape_t __i{}; __i != __state.__shape_; ++__i) member
159 __state.__fun_(__i, __args...);
H A D__utility.hpp92 for (std::size_t __i : __il) in __umax() local
94 if (__i > __m) in __umax()
96 __m = __i; in __umax()
/openbmc/u-boot/include/
H A Dusbdevice.h86 #define mmio_insw(r,b,l) ({ int __i ; \
89 for (__i = 0; __i < l; __i++) { \
90 *(__b2 + __i) = inw(r); \
96 #define mmio_outsw(r,b,l) ({ int __i; \
99 for (__i = 0; __i < l; __i++) { \
100 outw( *(__b2 + __i), r); \
106 #define mmio_insb(r,b,l) ({ int __i ; \
109 for (__i = 0; __i < l; __i++) { \
110 *(__b2 + __i) = inb(r); \
/openbmc/linux/include/drm/display/
H A Ddrm_dp_mst_helper.h982 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument
983 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
984 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i)))
999 #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ argument
1000 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
1001 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i)))
1017 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument
1018 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
1019 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
/openbmc/linux/security/apparmor/include/
H A Dmatch.h112 typeof(LEN) __i; \
115 for (__i = 0; __i < LEN; __i++) { \
116 __t[__i] = NTOHX(__b[__i]); \
/openbmc/u-boot/arch/sh/include/asm/
H A Dposix_types.h85 int __i; in __FD_ZERO() local
113 __i = __FDSET_LONGS; in __FD_ZERO()
114 while (__i) { in __FD_ZERO()
115 __i--; in __FD_ZERO()
/openbmc/u-boot/arch/mips/include/asm/
H A Dposix_types.h87 int __i; in __FD_ZERO() local
115 __i = __FDSET_LONGS; in __FD_ZERO()
116 while (__i) { in __FD_ZERO()
117 __i--; in __FD_ZERO()
/openbmc/linux/tools/virtio/linux/
H A Dscatterlist.h78 #define for_each_sg(sglist, sg, nr, __i) \ argument
79 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
/openbmc/linux/drivers/iommu/
H A 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++)
/openbmc/linux/drivers/pinctrl/
H A Dcore.h258 for (unsigned int __i = 0; \
259 __i < _maps_node_->num_maps && (_map_ = &_maps_node_->maps[__i]); \
260 __i++)
/openbmc/linux/drivers/md/
H A Ddm-verity-fec.c89 #define fec_for_each_prealloc_buffer(__i) \ argument
90 for (__i = 0; __i < DM_VERITY_FEC_BUF_PREALLOC; __i++)
93 #define fec_for_each_extra_buffer(io, __i) \ argument
94 for (__i = DM_VERITY_FEC_BUF_PREALLOC; __i < DM_VERITY_FEC_BUF_MAX; __i++)
97 #define fec_for_each_buffer(io, __i) \ argument
98 for (__i = 0; __i < (io)->nbufs; __i++)
101 #define fec_for_each_buffer_rs_block(io, __i, __j) \ argument
102 fec_for_each_buffer(io, __i) \
/openbmc/linux/drivers/gpio/
H A Dgpiolib.h118 for (unsigned int __i = 0; \
119 __i < gc->ngpio && (desc = gpiochip_get_desc(gc, __i)); \
120 __i++) \
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A 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]; \
/openbmc/linux/tools/objtool/include/objtool/
H A Delf.h311 for (int __i = 0, __fake = 1; __fake; __fake = 0) \
313 __i < sec_num_entries(rsec); \
314 __i++, reloc++)
317 for (int __i = reloc_idx(reloc); \
318 __i < sec_num_entries(rsec); \
319 __i++, reloc++)
/openbmc/linux/include/scsi/
H A Dscsi_cmnd.h206 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument
207 for_each_sg(scsi_sglist(cmd), sg, nseg, __i)
331 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument
332 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)

12