Home
last modified time | relevance | path

Searched refs:i (Results 126 – 150 of 17309) sorted by relevance

12345678910>>...693

/openbmc/linux/lib/
H A Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
16 for (i = 0; i < 256; i++) { in memset16_selftest()
38 if (i < 256) in memset16_selftest()
52 for (i = 0; i < 256; i++) { in memset32_selftest()
74 if (i < 256) in memset32_selftest()
88 for (i = 0; i < 256; i++) { in memset64_selftest()
120 int i; in strchr_selftest() local
122 for (i = 0; i < strlen(test_string) + 1; i++) { in strchr_selftest()
148 int i, j; in strnchr_selftest() local
150 for (i = 0; i < strlen(test_string) + 1; i++) { in strnchr_selftest()
[all …]
H A Dtest_memcat_p.c35 for (i = 0, r = 1; i < INPUT_MAX - 1; i++) { in test_memcat_p_init()
37 if (!in0[i]) in test_memcat_p_init()
41 if (!in1[i]) { in test_memcat_p_init()
42 kfree(in0[i]); in test_memcat_p_init()
54 in0[i] = in1[i] = NULL; in test_memcat_p_init()
61 for (i = 0, p = out; *p && (i < INPUT_MAX * 2 - 1); p++, i++) { in test_memcat_p_init()
82 for (i = 0; i < INPUT_MAX - 1; i++) in test_memcat_p_init()
83 if (out[i] != in0[i] || out[i + INPUT_MAX - 1] != in1[i]) { in test_memcat_p_init()
94 i = INPUT_MAX; in test_memcat_p_init()
96 for (i--; i >= 0; i--) { in test_memcat_p_init()
[all …]
H A Ddecompress_bunzip2.c197 for (i = 0; i < 16; i++) { in get_next_block()
217 for (i = 0; i < groupCount; i++) in get_next_block()
219 for (i = 0; i < nSelectors; i++) { in get_next_block()
247 for (i = 0; i < symCount; i++) { in get_next_block()
274 for (i = 1; i < symCount; i++) { in get_next_block()
315 for (i = 0; i < symCount; i++) in get_next_block()
324 for (i = minLen; i < maxLen; i++) { in get_next_block()
352 for (i = 0; i < 256; i++) { in get_next_block()
488 for (i = 0; i < 256; i++) { in get_next_block()
494 for (i = 0; i < dbufCount; i++) { in get_next_block()
[all …]
H A Dbuild_OID_registry49 for (my $i = 0; $i <= $#names; $i++) {
79 for (my $i = 0; $i <= $#names; $i++) {
80 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n"
90 for (my $i = 0; $i <= $#names; $i++) {
117 for (my $i = 0; $i <= $#names; $i++) {
135 for (my $i = 0; $i <= $#names; $i++) {
157 for (my $i = $#octets_a; $i >= 0; $i--) {
158 return $octets_a[$i] <=> $octets_b[$i]
159 if ($octets_a[$i] != $octets_b[$i]);
177 for (my $i = 0; $i <= $#names; $i++) {
[all …]
/openbmc/qemu/tests/tcg/multiarch/system/
H A Dmemory.c67 for (i = 0; i < TEST_SIZE; i++) { in init_test_data_u8()
108 for (i = 0; i < offset; i++) { in reset_start_data()
124 for (i = 0; i < max; i++) { in init_test_data_u16()
144 for (i = 0; i < max; i++) { in init_test_data_u32()
166 for (i = 0; i < max; i++) { in init_test_data_u64()
188 for (i = 0; i < max; i++) { in read_test_data_u16()
213 for (i = 0; i < max; i++) { in read_test_data_u32()
254 for (i = 0; i < max; i++) { in read_test_data_u64()
353 for (i = 0; i < max; i++) { in read_test_data_s8()
389 for (i = 0; i < max; i++) { in read_test_data_s16()
[all …]
/openbmc/linux/arch/mips/sgi-ip22/
H A Dip22-int.c219 int i; in arch_init_irq() local
222 for (i = 0; i < 256; i++) { in arch_init_irq()
223 if (i & 0x80) { in arch_init_irq()
228 } else if (i & 0x40) { in arch_init_irq()
233 } else if (i & 0x20) { in arch_init_irq()
238 } else if (i & 0x10) { in arch_init_irq()
243 } else if (i & 0x08) { in arch_init_irq()
248 } else if (i & 0x04) { in arch_init_irq()
253 } else if (i & 0x02) { in arch_init_irq()
280 for (i = SGINT_LOCAL0; i < SGI_INTERRUPTS; i++) { in arch_init_irq()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Dcsi_rx_private.h123 u32 i; in csi_rx_fe_ctrl_get_state() local
146 for (i = 0; i < N_CSI_RX_FE_CTRL_DLANES[ID]; i++) { in csi_rx_fe_ctrl_get_state()
184 for (i = 0; i < N_CSI_RX_FE_CTRL_DLANES[ID]; i++) { in csi_rx_fe_ctrl_dump_state()
208 for (i = 0; i < N_CSI_RX_BE_MIPI_COMP_FMT_REG ; i++) { in csi_rx_be_ctrl_get_state()
230 for (i = 0; i < N_CSI_RX_BE_MIPI_CUSTOM_PEC ; i++) { in csi_rx_be_ctrl_get_state()
245 for (i = 0; i < N_SHORT_PACKET_LUT_ENTRIES[ID]; i++) { in csi_rx_be_ctrl_get_state()
249 for (i = 0; i < N_LONG_PACKET_LUT_ENTRIES[ID]; i++) { in csi_rx_be_ctrl_get_state()
268 for (i = 0; i < N_CSI_RX_BE_MIPI_COMP_FMT_REG ; i++) { in csi_rx_be_ctrl_dump_state()
279 for (i = 0; i < N_CSI_RX_BE_MIPI_CUSTOM_PEC ; i++) { in csi_rx_be_ctrl_dump_state()
292 for (i = 0; i < N_SHORT_PACKET_LUT_ENTRIES[ID]; i++) { in csi_rx_be_ctrl_dump_state()
[all …]
/openbmc/linux/drivers/android/
H A Dbinder_alloc_selftest.c80 int i; in pr_err_size_seq() local
83 for (i = 0; i < BUFFER_NUM; i++) in pr_err_size_seq()
87 for (i = 0; i < BUFFER_NUM; i++) in pr_err_size_seq()
119 int i; in binder_selftest_alloc_buf() local
121 for (i = 0; i < BUFFER_NUM; i++) { in binder_selftest_alloc_buf()
138 for (i = 0; i < BUFFER_NUM; i++) in binder_selftest_free_buf()
141 for (i = 0; i < end / PAGE_SIZE; i++) { in binder_selftest_free_buf()
166 for (i = 0; i < (alloc->buffer_size / PAGE_SIZE); i++) { in binder_selftest_free_page()
197 for (i = 0; i < index; i++) { in is_dup()
215 for (i = 0; i < BUFFER_NUM; i++) { in binder_selftest_free_seq()
[all …]
/openbmc/linux/samples/bpf/
H A Dlathist_user.c25 int i; in stars() local
27 for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++) in stars()
28 str[i] = '*'; in stars()
38 int i, j; in print_hist() local
52 for (i = 1; i <= MAX_ENTRIES; i++) { in print_hist()
55 (1l << i) >> 1, (1l << i) - 1, in print_hist()
64 int c, i; in get_data() local
66 for (i = 0; i < MAX_CPU; i++) in get_data()
70 for (i = 0; i < MAX_ENTRIES; i++) { in get_data()
115 i++; in main()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82598.c42 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_rx_arbiter_82598()
85 u8 i; in ixgbe_dcb_config_tx_desc_arbiter_82598() local
99 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_tx_desc_arbiter_82598()
134 u8 i; in ixgbe_dcb_config_tx_data_arbiter_82598() local
145 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_tx_data_arbiter_82598()
177 u8 i; in ixgbe_dcb_config_pfc_82598() local
195 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_pfc_82598()
210 for (i = 0; i < (MAX_TRAFFIC_CLASS / 2); i++) in ixgbe_dcb_config_pfc_82598()
230 u8 i = 0; in ixgbe_dcb_config_tc_stats_82598() local
234 for (i = 0, j = 0; i < 15 && j < 8; i = i + 2, j++) { in ixgbe_dcb_config_tc_stats_82598()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c71 for (i = 0; i < pages; i++) { in memstress_guest_code()
98 for (i = 0; i < nr_vcpus; i++) { in memstress_setup_vcpus()
208 for (i = 0; i < slots; i++) { in memstress_create_vm()
301 for (i = 0; i < nr_vcpus; i++) { in memstress_start_vcpu_threads()
310 for (i = 0; i < nr_vcpus; i++) { in memstress_start_vcpu_threads()
324 for (i = 0; i < nr_vcpus; i++) in memstress_join_vcpu_threads()
332 for (i = 0; i < slots; i++) { in toggle_dirty_logging()
354 for (i = 0; i < slots; i++) { in memstress_get_dirty_log()
366 for (i = 0; i < slots; i++) { in memstress_clear_dirty_log()
381 for (i = 0; i < slots; i++) { in memstress_alloc_bitmaps()
[all …]
/openbmc/linux/drivers/input/joystick/
H A Dgf2k.c146 for (i = 0; i < num / 3 + 2; i++) in gf2k_get_bits()
160 for (i = 0; i < 4 && i < gf2k_axes[gf2k->id]; i++) in gf2k_read()
163 for (i = 0; i < 2 && i < gf2k_axes[gf2k->id] - 4; i++) in gf2k_read()
168 for (i = 0; i < gf2k_hats[gf2k->id]; i++) in gf2k_read()
173 for (i = 0; i < gf2k_joys[gf2k->id]; i++) in gf2k_read()
176 for (i = 0; i < gf2k_pads[gf2k->id]; i++) in gf2k_read()
298 for (i = 0; i < gf2k_axes[gf2k->id]; i++) in gf2k_connect()
301 for (i = 0; i < gf2k_hats[gf2k->id]; i++) in gf2k_connect()
304 for (i = 0; i < gf2k_joys[gf2k->id]; i++) in gf2k_connect()
307 for (i = 0; i < gf2k_pads[gf2k->id]; i++) in gf2k_connect()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c78 int i, j; in mthca_make_profile() local
112 for (i = 0; i < MTHCA_RES_NUM; ++i) { in mthca_make_profile()
113 profile[i].type = i; in mthca_make_profile()
114 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
115 profile[i].size *= profile[i].num; in mthca_make_profile()
117 profile[i].size = max(profile[i].size, (u64) PAGE_SIZE); in mthca_make_profile()
134 for (i = MTHCA_RES_NUM; i > 0; --i) in mthca_make_profile()
140 for (i = 0; i < MTHCA_RES_NUM; ++i) { in mthca_make_profile()
154 if (profile[i].size) in mthca_make_profile()
157 i, profile[i].type, profile[i].log_num, in mthca_make_profile()
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_init.c23 int i; in amd_sfh_get_sensor_num() local
28 for (i = 0; i < MAX_IDX; i++) { in amd_sfh_get_sensor_num()
29 switch (i) { in amd_sfh_get_sensor_num()
73 int i, status; in amd_sfh_hid_client_deinit() local
75 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_sfh_hid_client_deinit()
122 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_sfh1_1_hid_client_init()
174 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_sfh1_1_hid_client_init()
199 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_sfh1_1_hid_client_init()
211 int i, status; in amd_sfh_resume() local
213 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_sfh_resume()
[all …]
/openbmc/u-boot/lib/
H A Dlmb.c23 for (i = 0; i < lmb->memory.cnt; i++) { in lmb_dump_all()
34 for (i = 0; i < lmb->reserved.cnt; i++) { in lmb_dump_all()
78 for (i = r; i < rgn->cnt - 1; i++) { in lmb_remove_region()
119 for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) { in lmb_init_and_reserve()
155 for (i = 0; i < rgn->cnt; i++) { in lmb_add_region()
190 for (i = rgn->cnt-1; i >= 0; i--) { in lmb_add_region()
229 for (i = 0; i < rgn->cnt; i++) { in lmb_free()
280 for (i = 0; i < rgn->cnt; i++) { in lmb_overlaps_region()
319 for (i = lmb->memory.cnt - 1; i >= 0; i--) { in __lmb_alloc_base()
389 for (i = 0; i < lmb->reserved.cnt; i++) { in lmb_get_free_size()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c70 for (i = 0; i < num_var_ranges; i++) { in x86_get_mtrr_mem_range()
81 for (i = 0; i < nr_range; i++) in x86_get_mtrr_mem_range()
86 for (i = 0; i < num_var_ranges; i++) { in x86_get_mtrr_mem_range()
112 for (i = 0; i < RANGE_NUM; i++) { in x86_get_mtrr_mem_range()
124 for (i = 0; i < nr_range; i++) in x86_get_mtrr_mem_range()
138 for (i = 0; i < nr_range; i++) in sum_ranges()
476 for (i = 0; i < nr_range; i++) { in x86_setup_var_mtrrs()
521 for (i = 0; i < num_var_ranges; i++) { in print_out_mtrr_range_state()
657 for (i = 0; i < NUM_RESULT; i++) { in mtrr_search_optimal_index()
785 for (i = 0; i < NUM_RESULT; i++) in mtrr_cleanup()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dregs.h49 #define NV10_PGRAPH_CTX_SWITCH(i) (0x0040014C + 0x4*(i)) argument
204 #define NV20_PGRAPH_TILE(i) (0x00400900 + (i*16)) argument
205 #define NV20_PGRAPH_TLIMIT(i) (0x00400904 + (i*16)) argument
206 #define NV20_PGRAPH_TSIZE(i) (0x00400908 + (i*16)) argument
207 #define NV20_PGRAPH_TSTATUS(i) (0x0040090C + (i*16)) argument
208 #define NV20_PGRAPH_ZCOMP(i) (0x00400980 + 4*(i)) argument
209 #define NV41_PGRAPH_ZCOMP0(i) (0x004009c0 + 4*(i)) argument
221 #define NV47_PGRAPH_ZCOMP0(i) (0x00400e00 + 4*(i)) argument
267 #define NV47_PGRAPH_ZCOMP1(i) (0x004068c0 + 4*(i)) argument
272 #define NV40_PGRAPH_ZCOMP1(i) (0x00406980 + 4*(i)) argument
[all …]
H A Dnv35.c26 int ret, i; in nv35_gr_chan_new() local
51 for (i = 0x04dc; i < 0x04e4; i += 4) in nv35_gr_chan_new()
54 for (i = 0x0504; i < 0x0544; i += 4) in nv35_gr_chan_new()
63 for (i = 0x0604; i < 0x0644; i += 4) in nv35_gr_chan_new()
65 for (i = 0x0644; i < 0x0684; i += 4) in nv35_gr_chan_new()
67 for (i = 0x06c4; i < 0x0704; i += 4) in nv35_gr_chan_new()
69 for (i = 0x0704; i < 0x0744; i += 4) in nv35_gr_chan_new()
71 for (i = 0x0744; i < 0x0784; i += 4) in nv35_gr_chan_new()
75 for (i = 0x0868; i < 0x0878; i += 4) in nv35_gr_chan_new()
77 for (i = 0x1f1c; i <= 0x308c ; i += 16) { in nv35_gr_chan_new()
[all …]
H A Dnv34.c26 int ret, i; in nv34_gr_chan_new() local
51 for (i = 0x04d4; i < 0x04dc; i += 4) in nv34_gr_chan_new()
54 for (i = 0x04fc; i < 0x053c; i += 4) in nv34_gr_chan_new()
63 for (i = 0x05f0; i < 0x0630; i += 4) in nv34_gr_chan_new()
65 for (i = 0x0630; i < 0x0670; i += 4) in nv34_gr_chan_new()
67 for (i = 0x06b0; i < 0x06f0; i += 4) in nv34_gr_chan_new()
69 for (i = 0x06f0; i < 0x0730; i += 4) in nv34_gr_chan_new()
71 for (i = 0x0730; i < 0x0770; i += 4) in nv34_gr_chan_new()
75 for (i = 0x0858; i < 0x0868; i += 4) in nv34_gr_chan_new()
77 for (i = 0x15ac; i <= 0x271c ; i += 16) { in nv34_gr_chan_new()
[all …]
/openbmc/linux/arch/xtensa/kernel/
H A Dhw_breakpoint.c139 for (i = 0; i < n; ++i) { in alloc_slot()
174 int i; in arch_install_hw_breakpoint() local
198 for (i = 0; i < n; ++i) { in free_slot()
210 int i; in arch_uninstall_hw_breakpoint() local
236 int i; in flush_ptrace_hw_breakpoint() local
239 for (i = 0; i < XCHAL_NUM_IBREAK; ++i) { in flush_ptrace_hw_breakpoint()
245 for (i = 0; i < XCHAL_NUM_DBREAK; ++i) { in flush_ptrace_hw_breakpoint()
266 int i; in restore_dbreak() local
268 for (i = 0; i < XCHAL_NUM_DBREAK; ++i) { in restore_dbreak()
283 for (i = 0; i < XCHAL_NUM_IBREAK; ++i) { in check_hw_breakpoint()
[all …]
/openbmc/qemu/migration/
H A Dram-compress.c126 int i, thread_count; in compress_threads_save_cleanup() local
133 for (i = 0; i < thread_count; i++) { in compress_threads_save_cleanup()
175 for (i = 0; i < thread_count; i++) { in compress_threads_save_setup()
253 for (int i = 0; i < thread_count; i++) { in compress_flush_data() local
260 for (int i = 0; i < thread_count; i++) { in compress_flush_data() local
293 for (int i = 0; i < thread_count; i++) { in compress_page_with_multi_thread() local
395 for (int i = 0; i < thread_count; i++) { in wait_for_decompress_done() local
412 for (i = 0; i < thread_count; i++) { in compress_threads_load_cleanup()
426 for (i = 0; i < thread_count; i++) { in compress_threads_load_cleanup()
464 for (i = 0; i < thread_count; i++) { in compress_threads_load_setup()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c106 for (i = 0; i < submit->nr_cmds; i++) in __msm_gem_submit_destroy()
118 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects()
153 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects()
187 for (i = 0; i < args->nr_cmds; i++) { in submit_lookup_cmds()
286 for (i = 0; i < submit->nr_bos; i++) { in submit_lock_objects()
345 for (i = 0; i < submit->nr_bos; i++) { in submit_fence_sync()
389 for (i = 0; i < submit->nr_bos; i++) { in submit_pin_objects()
422 for (i = 0; i < submit->nr_bos; i++) { in submit_pin_objects()
435 for (i = 0; i < submit->nr_bos; i++) { in submit_attach_object_fences()
493 for (i = 0; i < nr_relocs; i++) { in submit_reloc()
[all …]
/openbmc/u-boot/drivers/ddr/imx/imx8m/
H A Dhelper.c38 for (i = 0x0; i < IMEM_LEN; ) { in ddr_load_train_firmware()
45 i += 4; in ddr_load_train_firmware()
50 for (i = 0x0; i < DMEM_LEN; ) { in ddr_load_train_firmware()
63 for (i = 0x0; i < IMEM_LEN; ) { in ddr_load_train_firmware()
84 for (i = 0x0; i < DMEM_LEN;) { in ddr_load_train_firmware()
111 for (i = 0; i < num; i++) { in ddrphy_trained_csr_save()
133 for (i = 0; i < 4; i++) in dram_config_save()
141 for (i = 0; i < timing_info->ddrc_cfg_num; i++) { in dram_config_save()
149 for (i = 0; i < timing_info->ddrphy_cfg_num; i++) { in dram_config_save()
157 for (i = 0; i < ddrphy_trained_csr_num; i++) { in dram_config_save()
[all …]
/openbmc/qemu/target/s390x/tcg/
H A Dvec_int_helper.c106 for (i = 0; i < (128 / BITS); i++) { \
122 for (i = 0; i < (128 / BITS); i++) { \
137 for (i = 0; i < (128 / BITS); i++) { \
151 for (i = 0; i < (128 / BITS); i++) { \
268 for (i = 0; i < (128 / BITS); i++) { \
285 for (i = 0; i < (128 / BITS); i++) { \
302 for (i = 0; i < (128 / BITS); i++) { \
319 for (i = 0, j = 0; i < (128 / TBITS); i++, j += 2) { \
531 for (i = 15; i >= 0; --i, e1 = e0) { in HELPER()
560 for (i = 1; i < 16; ++i, e1 = e0) { in HELPER()
[all …]
/openbmc/qemu/hw/arm/
H A Dnpcm7xx.c345 for (i = 0; i < ARRAY_SIZE(smpboot); i++) { in npcm7xx_write_secondary_boot()
421 for (i = 0; i < ARRAY_SIZE(s->tim); i++) { in npcm7xx_init()
425 for (i = 0; i < ARRAY_SIZE(s->gpio); i++) { in npcm7xx_init()
438 for (i = 0; i < ARRAY_SIZE(s->fiu); i++) { in npcm7xx_init()
443 for (i = 0; i < ARRAY_SIZE(s->pwm); i++) { in npcm7xx_init()
447 for (i = 0; i < ARRAY_SIZE(s->mft); i++) { in npcm7xx_init()
451 for (i = 0; i < ARRAY_SIZE(s->emc); i++) { in npcm7xx_init()
455 for (i = 0; i < ARRAY_SIZE(s->pspi); i++) { in npcm7xx_init()
475 for (i = 0; i < nc->num_cpus; i++) { in npcm7xx_realize()
501 for (i = 0; i < nc->num_cpus; i++) { in npcm7xx_realize()
[all …]

12345678910>>...693