Searched refs:__i (Results 1 - 24 of 24) sorted by relevance

/linux-4.4.14/include/drm/
H A Ddrm_atomic.h146 #define for_each_connector_in_state(state, connector, connector_state, __i) \
147 for ((__i) = 0; \
148 (__i) < (state)->num_connector && \
149 ((connector) = (state)->connectors[__i], \
150 (connector_state) = (state)->connector_states[__i], 1); \
151 (__i)++) \
154 #define for_each_crtc_in_state(state, crtc, crtc_state, __i) \
155 for ((__i) = 0; \
156 (__i) < (state)->dev->mode_config.num_crtc && \
157 ((crtc) = (state)->crtcs[__i], \
158 (crtc_state) = (state)->crtc_states[__i], 1); \
159 (__i)++) \
162 #define for_each_plane_in_state(state, plane, plane_state, __i) \
163 for ((__i) = 0; \
164 (__i) < (state)->dev->mode_config.num_total_plane && \
165 ((plane) = (state)->planes[__i], \
166 (plane_state) = (state)->plane_states[__i], 1); \
167 (__i)++) \
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dx_tables.h130 unsigned int __i; \
134 for (__i = sizeof(type); \
135 __i < (e)->target_offset; \
136 __i += __m->u.match_size) { \
137 __m = (void *)e + __i; \
149 unsigned int __i, __n; \
153 for (__i = 0, __n = 0; __i < (size); \
154 __i += __entry->next_offset, __n++) { \
155 __entry = (void *)(entries) + __i; \
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
H A Debtables.h199 unsigned int __i; \
203 for (__i = sizeof(struct ebt_entry); \
204 __i < (e)->watchers_offset; \
205 __i += __match->match_size + \
207 __match = (void *)(e) + __i; \
214 if (__i != (e)->watchers_offset) \
222 unsigned int __i; \
226 for (__i = e->watchers_offset; \
227 __i < (e)->target_offset; \
228 __i += __watcher->watcher_size + \
230 __watcher = (void *)(e) + __i; \
237 if (__i != (e)->target_offset) \
245 unsigned int __i; \
249 for (__i = 0; __i < (size);) { \
250 __entry = (void *)(entries) + __i; \
255 __i += __entry->next_offset; \
257 __i += sizeof(struct ebt_entries); \
260 if (__i != (size)) \
/linux-4.4.14/lib/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) \
363 (xh) = __xx.__i.__h; (xl) = __xx.__i.__l; \
370 struct {USItype __h, __l; } __i; \
373 : "=r" (__xx.__i.__h), \
374 "=r" (__xx.__i.__l) \
377 (xh) = __xx.__i.__h; (xl) = __xx.__i.__l; \
382 struct {USItype __h, __l; } __i; \
384 __xx.__i.__h = n1; __xx.__i.__l = n0; \
388 (q) = __xx.__i.__l; (r) = __xx.__i.__h; \
472 struct {USItype __l, __h; } __i; \
478 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
489 struct {USItype __l, __h; } __i; \
491 __nn.__i.__h = (nh); __nn.__i.__l = (nl); \
496 (r) = __rq.__i.__l; (q) = __rq.__i.__h; \
502 struct {USItype __l, __h; } __i; \
504 __nn.__i.__h = (h); __nn.__i.__l = (l); \
616 struct {USItype __h, __l; } __i; \
619 (wh) = __x.__i.__h; \
620 (wl) = __x.__i.__l; \
624 struct {USItype __h, __l; } __i; \
626 __x.__i.__h = (n1); __x.__i.__l = (n0); \
709 struct {USItype __l, __h; } __i; \
715 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
725 struct {USItype __l, __h; } __i; \
727 __xx.__i.__h = (n1); __xx.__i.__l = (n0); \
732 (r) = __xx.__i.__l; (q) = __xx.__i.__h; })
878 struct {USItype __h, __l; } __i; \
885 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
1184 struct {USItype __l, __h; } __i; \
1191 (xh) = __xx.__i.__h; (xl) = __xx.__i.__l; \
1198 struct {SItype __l, __h; } __i; \
1200 __xx.__i.__h = n1; __xx.__i.__l = n0; \
1230 struct {unsigned int __h, __l; } __i; \
1234 : "=r" (__xx.__i.__h), \
1235 "=r" (__xx.__i.__l) \
1238 (xh) = __xx.__i.__h; (xl) = __xx.__i.__l; \
/linux-4.4.14/arch/mips/include/asm/
H A Ddiv64.h24 unsigned long __cf, __tmp, __tmp2, __i; \
59 "=&r" (__i), "=&r" (__tmp2) \
/linux-4.4.14/drivers/staging/rtl8723au/include/
H A Drtw_debug.h178 int __i; \
182 for (__i = 0; __i < (int)_HexDataLen; __i++) { \
183 printk("%02X%s", ptr[__i], \
184 (((__i + 1) % 4) == 0) ? " " : " "); \
185 if (((__i + 1) % 16) == 0) \
/linux-4.4.14/security/apparmor/include/
H A Dmatch.h106 typeof(LEN) __i; \
109 for (__i = 0; __i < LEN; __i++) { \
110 __t[__i] = NTOHX(__b[__i]); \
/linux-4.4.14/drivers/iommu/
H A Domap-iommu.h18 #define for_each_iotlb_cr(obj, n, __i, cr) \
19 for (__i = 0; \
20 (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \
21 __i++)
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Drtw_debug.h105 int __i; \
109 for (__i = 0; __i < (int)_hexdatalen; __i++) { \
110 pr_info("%02X%s", ptr[__i], \
111 (((__i + 1) % 4) == 0) ? \
113 if (((__i + 1) % 16) == 0) \
/linux-4.4.14/tools/virtio/linux/
H A Dscatterlist.h78 #define for_each_sg(sglist, sg, nr, __i) \
79 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
H A Ddebug.c463 unsigned int __i, __err = -ENODEV; \
465 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \
466 __tmp[__i] = name##_regs[__i].reg; \
467 ar->debug.stats.name##_counter[__i] = 0; \
476 unsigned int __i; \
478 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \
479 ar->debug.stats.name##_sum[__i] += \
480 ar->debug.stats.name##_counter[__i]; \
/linux-4.4.14/arch/x86/include/asm/
H A Dlocal.h107 long __i = i; local_add_return() local
111 return i + __i; local_add_return()
/linux-4.4.14/include/linux/
H A Dvmstat.h175 #define add_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, __d)
176 #define sub_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, -(__d))
H A Dscatterlist.h148 #define for_each_sg(sglist, sg, nr, __i) \
149 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
H A Dblk-mq.h269 unsigned int __ret = 0, __i; \
271 queue_for_each_ctx((q), __x, __i) \
H A Dedac.h501 int __i; \
503 __i = layer0; \
505 __i = (layer1) + ((layers[1]).size * (layer0)); \
507 __i = (layer2) + ((layers[2]).size * ((layer1) + \
510 __i = -EINVAL; \
511 __i; \
/linux-4.4.14/include/scsi/
H A Dscsi_cmnd.h196 #define scsi_for_each_sg(cmd, sg, nseg, __i) \
197 for_each_sg(scsi_sglist(cmd), sg, nseg, __i)
323 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \
324 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
/linux-4.4.14/fs/logfs/
H A Dlogfs.h463 #define journal_for_each(__i) for (__i = 0; __i < LOGFS_JOURNAL_SEGS; __i++)
464 #define for_each_area(__i) for (__i = 0; __i < LOGFS_NO_AREAS; __i++)
465 #define for_each_area_down(__i) for (__i = LOGFS_NO_AREAS - 1; __i >= 0; __i--)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A 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-4.4.14/arch/m68k/include/asm/
H A Dmotorola_pgtable.h142 short __i = 16; \
143 while (--__i >= 0) \
/linux-4.4.14/drivers/input/mouse/
H A Dappletouch.c235 int __i; \
237 for (__i = 0; __i < ATP_XSENSORS + ATP_YSENSORS; __i++) \
238 printk(" %02x", tab[__i]); \
/linux-4.4.14/arch/alpha/kernel/
H A Dsmc37c669.c72 #define SMC37c669_DEVICE_IRQ( __i ) \
73 ((SMC37c669_DEVICE_IRQ_MASK) | (__i))
74 #define SMC37c669_IS_DEVICE_IRQ(__i) \
75 (((__i) & (SMC37c669_DEVICE_IRQ_MASK)) == (SMC37c669_DEVICE_IRQ_MASK))
76 #define SMC37c669_RAW_DEVICE_IRQ(__i) \
77 ((__i) & ~(SMC37c669_DEVICE_IRQ_MASK))
/linux-4.4.14/arch/x86/include/asm/uv/
H A Duv_bau.h762 short __i = i; atom_asr() local
766 return i + __i; atom_asr()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
H A Drtl8723a_bt-coexist.c32 u32 __i; \
36 for (__i = 0; __i < 6; __i++) \
37 printk("%02X%s", ptr[__i], (__i == 5)?"":"-"); \
42 u32 __i; \
45 for (__i = 0; __i < (u32)_HexDataLen; __i++) { \
46 printk("%02X%s", ptr[__i], (((__i + 1) % 4) == 0)?" ":" ");\
47 if (((__i + 1) % 16) == 0) \
58 u32 __i; \
63 for (__i = 0; __i < length; __i++) { \
64 if (!PRINTABLE(buffer[__i])) \
65 buffer[__i] = '?'; \

Completed in 927 milliseconds