Home
last modified time | relevance | path

Searched refs:i (Results 51 – 75 of 10909) sorted by relevance

12345678910>>...437

/openbmc/qemu/target/i386/
H A Dops_sse.h61 for (int i = 0; i < 1 << SHIFT; i++) { in glue() local
95 for (int i = 0; i < 4 << SHIFT; i++) { in glue() local
138 for (int i = 0; i < 2 << SHIFT; i++) { in glue() local
201 for (i = 15; i >= shift; i--) { in glue()
204 for (i = 0; i < shift; i++) { in glue()
1452 for (i = 0; i < 8; i++) { in glue()
1455 for (i = 0; i < 8; i++) { in glue()
1548 #define SHR(v, i) (i < 64 && i > -64 ? i > 0 ? v >> (i) : (v << -(i)) : 0) in SSE_HELPER_W() argument
2200 for (i = 0 ; i < 4 ; i++) { in glue()
2494 for (i = 0; i < 8; i++) { in helper_vpermd_ymm()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dpacker.c67 int i; in ib_pack() local
69 for (i = 0; i < desc_len; ++i) { in ib_pack()
70 if (desc[i].size_bits <= 32) { in ib_pack()
76 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
93 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
108 desc[i].field_name, desc[i].size_bits); in ib_pack()
153 int i; in ib_unpack() local
155 for (i = 0; i < desc_len; ++i) { in ib_unpack()
165 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_unpack()
179 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_unpack()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dkgdb_64.c25 for (i = 0; i < 15; i++) in pt_regs_to_gdb_regs()
29 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs()
31 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs()
34 for (i = GDB_F0; i <= GDB_F62; i++) in pt_regs_to_gdb_regs()
54 for (i = GDB_G0; i < GDB_G6; i++) in sleeping_thread_to_gdb_regs()
58 for (i = GDB_O0; i < GDB_SP; i++) in sleeping_thread_to_gdb_regs()
64 for (i = 0; i < 8; i++) in sleeping_thread_to_gdb_regs()
66 for (i = 0; i < 8; i++) in sleeping_thread_to_gdb_regs()
93 for (i = 0; i < 15; i++) in gdb_regs_to_pt_regs()
110 for (i = 0; i < 8; i++) in gdb_regs_to_pt_regs()
[all …]
/openbmc/openbmc/meta-google/recipes-google/test/test-sh/
H A Dtest.sh30 i=0
32 (( i++ ))
37 (( i++ ))
50 i=0
66 i=0
78 i=0
90 i=0
102 i=0
115 i=0
127 i=0
[all …]
/openbmc/linux/arch/x86/mm/
H A Dtestmmiotrace.c39 for (i = 0; i < 256; i++) in do_write_test()
40 iowrite8(i, p + i); in do_write_test()
42 for (i = 1024; i < (5 * 1024); i += 2) in do_write_test()
43 iowrite16(v16(i), p + i); in do_write_test()
45 for (i = (5 * 1024); i < (16 * 1024); i += 4) in do_write_test()
46 iowrite32(v32(i), p + i); in do_write_test()
56 for (i = 0; i < 256; i++) in do_read_test()
57 if (ioread8(p + i) != i) in do_read_test()
60 for (i = 1024; i < (5 * 1024); i += 2) in do_read_test()
64 for (i = (5 * 1024); i < (16 * 1024); i += 4) in do_read_test()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Daldebaran_reg_init.c32 uint32_t i; in aldebaran_reg_base_init() local
33 for (i = 0 ; i < MAX_INSTANCE ; ++i) { in aldebaran_reg_base_init()
34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in aldebaran_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in aldebaran_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in aldebaran_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in aldebaran_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in aldebaran_reg_base_init()
41 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in aldebaran_reg_base_init()
49 adev->reg_offset[THM_HWIP][i] = (uint32_t *)(&(THM_BASE.instance[i])); in aldebaran_reg_base_init()
50 adev->reg_offset[UMC_HWIP][i] = (uint32_t *)(&(UMC_BASE.instance[i])); in aldebaran_reg_base_init()
[all …]
H A Ddimgrey_cavefish_reg_init.c33 uint32_t i; in dimgrey_cavefish_reg_base_init() local
34 for (i = 0 ; i < MAX_INSTANCE ; ++i) { in dimgrey_cavefish_reg_base_init()
35 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
36 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
39 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
40 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
41 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
42 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN0_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCN_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
[all …]
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_huffman.c120 for (i = 0; i < alphaSize; i++) in BZ2_hbMakeCodeLengths()
132 for (i = 1; i <= alphaSize; i++) { in BZ2_hbMakeCodeLengths()
156 for (i = 1; i <= alphaSize; i++) { in BZ2_hbMakeCodeLengths()
166 for (i = 1; i < alphaSize; i++) { in BZ2_hbMakeCodeLengths()
186 for (i = 0; i < alphaSize; i++) in BZ2_hbAssignCodes()
205 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
209 for (i = 0; i < BZ_MAX_CODE_LEN; i++) base[i] = 0; in BZ2_hbCreateDecodeTables()
210 for (i = 0; i < alphaSize; i++) base[length[i]+1]++; in BZ2_hbCreateDecodeTables()
212 for (i = 1; i < BZ_MAX_CODE_LEN; i++) base[i] += base[i-1]; in BZ2_hbCreateDecodeTables()
214 for (i = 0; i < BZ_MAX_CODE_LEN; i++) limit[i] = 0; in BZ2_hbCreateDecodeTables()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dserial_mctrl_gpio.c62 for (i = 0; i < UART_GPIO_MAX; i++) in mctrl_gpio_set()
63 if (gpios->gpio[i] && mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_set()
104 for (i = 0; i < UART_GPIO_MAX; i++) { in mctrl_gpio_get()
125 for (i = 0; i < UART_GPIO_MAX; i++) { in mctrl_gpio_get_outputs()
147 for (i = 0; i < UART_GPIO_MAX; i++) { in mctrl_gpio_init_noauto()
235 for (i = 0; i < UART_GPIO_MAX; ++i) { in mctrl_gpio_init()
285 for (i = 0; i < UART_GPIO_MAX; i++) { in mctrl_gpio_free()
316 for (i = 0; i < UART_GPIO_MAX; ++i) { in mctrl_gpio_enable_ms()
341 for (i = 0; i < UART_GPIO_MAX; ++i) { in mctrl_gpio_disable_ms()
360 for (i = 0; i < UART_GPIO_MAX; ++i) { in mctrl_gpio_enable_irq_wake()
[all …]
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dpinmux.c38 for (i = start; i < start + count; i++) { in exynos5_uart_config()
70 for (i = start; i < start + count; i++) { in exynos5420_uart_config()
219 for (i = 0; i < 4; i++) in exynos5_sromc_config()
254 for (i = 0; i < 8; i++) { in exynos5_sromc_config()
371 for (i = 0; i < 5; i++) in exynos5_i2s_config()
375 for (i = 0; i < 5; i++) in exynos5_i2s_config()
387 for (i = 0; i < 5; i++) in exynos5420_i2s_config()
417 for (i = 0; i < 2; i++) { in exynos5_spi_config()
424 for (i = pin; i < pin + 4; i++) in exynos5_spi_config()
462 for (i = pin; i < pin + 4; i++) in exynos5420_spi_config()
[all …]
/openbmc/linux/lib/livepatch/
H A Dtest_klp_shadow_vars.c187 for (i = 0; i < NUM_OBJS; i++) { in test_klp_shadow_vars_init()
216 for (i = 0; i < NUM_OBJS; i++) { in test_klp_shadow_vars_init()
223 if ((char **)sv == sv1[i] && *sv1[i] == pnfields1[i]) in test_klp_shadow_vars_init()
233 if ((int **)sv == sv2[i] && *sv2[i] == pnfields2[i]) in test_klp_shadow_vars_init()
239 for (i = 0; i < NUM_OBJS; i++) { in test_klp_shadow_vars_init()
240 pndup[i] = &nfields1[i]; in test_klp_shadow_vars_init()
249 if ((char **)sv == sv1[i] && *sv1[i] == pnfields1[i]) in test_klp_shadow_vars_init()
255 for (i = 0; i < NUM_OBJS; i++) { in test_klp_shadow_vars_init()
263 for (i = 0; i < NUM_OBJS; i++) { in test_klp_shadow_vars_init()
269 if ((int **)sv == sv2[i] && *sv2[i] == pnfields2[i]) in test_klp_shadow_vars_init()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dfsl_lsch2_serdes.c67 for (i = 0; i < SRDS_MAX_LANES; i++) { in serdes_get_first_lane()
179 for (i = 0; i < 4 && cfg_tmp & (0xf << (3 - i)); i++) { in setup_serdes_volt()
189 for (i = 0; i < 4 && cfg_tmp & (0xf << (3 - i)); i++) { in setup_serdes_volt()
199 for (i = 0; i < 2 && !(cfg_tmp & (0x1 << (1 - i))); i++) { in setup_serdes_volt()
215 for (i = 0; i < 2 && !(cfg_tmp & (0x1 << (1 - i))); i++) { in setup_serdes_volt()
262 for (i = 0; i < 2 && !(cfg_tmp & (0x1 << (1 - i))); i++) { in setup_serdes_volt()
288 for (i = 0; i < 2 && !(cfg_tmp & (0x1 << (1 - i))); i++) { in setup_serdes_volt()
360 for (i = 0; i < 4 && cfg_tmp & (0xf << (3 - i)); i++) { in setup_serdes_volt()
370 for (i = 0; i < 4 && cfg_tmp & (0xf << (3 - i)); i++) { in setup_serdes_volt()
379 for (i = 0; i < 2; i++) { in setup_serdes_volt()
[all …]
/openbmc/linux/lib/
H A Diov_iter.c132 i->nr_segs -= iov - iter_iov(i); \
140 i->nr_segs -= bvec - i->bvec; \
148 i->nr_segs -= kvec - i->kvec; \
619 i->nr_segs -= bvec - i->bvec; in iov_iter_bvec_advance()
638 i->nr_segs -= iov - iter_iov(i); in iov_iter_iovec_advance()
714 return min(i->count, iter_iov(i)->iov_len - i->iov_offset); in iov_iter_single_seg_count()
716 return min(i->count, i->bvec->bv_len - i->iov_offset); in iov_iter_single_seg_count()
954 return (i->xarray_start + i->iov_offset) | i->count; in iov_iter_alignment()
1040 pos = i->xarray_start + i->iov_offset; in iter_xarray_get_pages()
1145 if (i->iov_offset == i->bvec->bv_len) { in __iov_iter_get_pages_alloc()
[all …]
/openbmc/linux/drivers/clk/pistachio/
H A Dclk.c46 unsigned int i; in pistachio_clk_register_provider() local
48 for (i = 0; i < p->clk_data.clk_num; i++) { in pistachio_clk_register_provider()
64 for (i = 0; i < num; i++) { in pistachio_clk_register_gate()
67 p->base + gate[i].reg, gate[i].shift, in pistachio_clk_register_gate()
80 for (i = 0; i < num; i++) { in pistachio_clk_register_mux()
81 clk = clk_register_mux(NULL, mux[i].name, mux[i].parents, in pistachio_clk_register_mux()
84 p->base + mux[i].reg, mux[i].shift, in pistachio_clk_register_mux()
98 for (i = 0; i < num; i++) { in pistachio_clk_register_div()
101 div[i].width, div[i].div_flags, in pistachio_clk_register_div()
114 for (i = 0; i < num; i++) { in pistachio_clk_register_fixed_factor()
[all …]
/openbmc/u-boot/examples/standalone/
H A Dsched.c95 for (i = 0; i < NUMTHREADS; i++) { in sched()
96 names[i] = i; in sched()
109 for (i = 0; i < NUMTHREADS; i++) { in sched()
120 for (i = 0; i < NUMTHREADS; i++) { in sched()
149 for (i = 0; i < 0xffff * (*(int *) name + 1); i++) { in testthread()
171 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) in sched_init()
204 for (i = current_tid + 1; i < MAX_THREADS; i++) { in thread_yield()
209 for (i = 0; i <= current_tid; i++) { in thread_yield()
222 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) { in thread_create()
319 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) { in thread_join()
[all …]
/openbmc/linux/arch/mips/lantiq/xway/
H A Dprom.c45 sprintf(i->rev_type, "1.%d", i->rev); in ltq_soc_detect()
46 switch (i->partnum) { in ltq_soc_detect()
49 i->name = SOC_DANUBE; in ltq_soc_detect()
64 i->name = SOC_AR9; in ltq_soc_detect()
71 i->name = SOC_GR9; in ltq_soc_detect()
89 i->name = SOC_VR9; in ltq_soc_detect()
96 i->name = SOC_GR9; in ltq_soc_detect()
103 i->name = SOC_VR9; in ltq_soc_detect()
109 i->name = SOC_VRX220; in ltq_soc_detect()
116 i->name = SOC_GR9; in ltq_soc_detect()
[all …]
/openbmc/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_desc.c19 for (i = 0; i < RX_DESC_QUEUE_NUM; i++) { in spl2sw_rx_descs_flush()
35 u32 i; in spl2sw_tx_descs_clean() local
40 for (i = 0; i < TX_DESC_NUM; i++) { in spl2sw_tx_descs_clean()
66 for (i = 0; i < RX_DESC_QUEUE_NUM; i++) { in spl2sw_rx_descs_clean()
104 for (i = 0; i < RX_DESC_QUEUE_NUM; i++) in spl2sw_descs_free()
131 for (i = 0; i < RX_DESC_QUEUE_NUM; i++) { in spl2sw_rx_descs_init()
176 for (i = 0; i < RX_DESC_QUEUE_NUM; i++) in spl2sw_descs_alloc()
191 for (i = 1; i < RX_DESC_QUEUE_NUM; i++) in spl2sw_descs_alloc()
192 comm->rx_desc[i] = comm->rx_desc[i - 1] + comm->rx_desc_num[i - 1]; in spl2sw_descs_alloc()
205 for (i = 0; i < RX_DESC_QUEUE_NUM; i++) { in spl2sw_descs_init()
[all …]
/openbmc/linux/tools/testing/radix-tree/
H A Dmultiorder.c46 for (i = 0; i < NUM_ENTRIES; i++) { in multiorder_iteration()
52 for (i = 0; i < NUM_ENTRIES; i++) in multiorder_iteration()
89 for (i = 0; i < MT_NUM_ENTRIES; i++) in multiorder_tagged_iteration()
94 for (i = 0; i < TAG_ENTRIES; i++) in multiorder_tagged_iteration()
100 for (i = 0; i < TAG_ENTRIES; i++) { in multiorder_tagged_iteration()
128 for (i = 0; i < TAG_ENTRIES; i++) { in multiorder_tagged_iteration()
171 for (i = 0; i < 10000; i++) { in creator_func()
206 for (i = 1; i < num_threads; i++) in multiorder_iteration_race()
209 for (i = 0; i < num_threads; i++) in multiorder_iteration_race()
225 for (i = 0; i < 10000; i++) { in load_creator()
[all …]
/openbmc/u-boot/board/freescale/t104xrdb/
H A Deth.c22 unsigned int i; in board_eth_init() local
41 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
57 if ((FM1_DTSEC1 == i) || (FM1_DTSEC2 == i)) in board_eth_init()
69 if (FM1_DTSEC1 == i) in board_eth_init()
71 if (FM1_DTSEC2 == i) in board_eth_init()
73 if (FM1_DTSEC3 == i) in board_eth_init()
79 if (FM1_DTSEC4 == i) in board_eth_init()
81 if (FM1_DTSEC5 == i) in board_eth_init()
101 fm_info_set_mdio(i, in board_eth_init()
109 for (i = 0; i < 4; i++) { in board_eth_init()
[all …]
/openbmc/qemu/target/ppc/
H A Dint_helper.c209 for (i = 0; i < 8; i++) { in helper_bpermd()
1157 for (i = 0; i < 2; i++) { in helper_VDIVESD()
1173 for (i = 0; i < 2; i++) { in helper_VDIVEUD()
2257 for (i = 1; i < 32; i++) { in bcd_is_valid()
2289 for (i = 31; i > 0; i--) { in bcd_cmp_mag()
2421 for (i = 1; i < 8; i++) { in helper_bcdcfn()
2458 for (i = 1; i < 8; i++) { in helper_bcdctn()
2497 for (i = 0; i < 16; i++) { in helper_bcdcfz()
2538 for (i = 0; i < 16; i++) { in helper_bcdctz()
2655 for (i = 30; i > 0; i--) { in helper_bcdctsq()
[all …]
/openbmc/linux/tools/testing/selftests/zram/
H A Dzram_lib.sh50 local i=
61 rm -rf zram$i
141 i=$(($i + 1))
160 i=$(($i + 1))
176 i=$(($i + 1))
193 i=$(($i + 1))
226 local i=
252 i=$(($i + 1))
259 local i=0
262 mkdir zram$i
[all …]
/openbmc/linux/drivers/media/i2c/cx25840/
H A Dcx25840-vbi.c60 int i; in decode_vps() local
62 for (i = 0; i < 2 * 13; i += 2) { in decode_vps()
63 err |= biphase_tbl[p[i]] | biphase_tbl[p[i + 1]]; in decode_vps()
84 int i; in cx25840_g_sliced_fmt() local
94 for (i = 7; i <= 23; i++) { in cx25840_g_sliced_fmt()
104 for (i = 10; i <= 21; i++) { in cx25840_g_sliced_fmt()
162 for (i = 0; i <= 6; i++) in cx25840_s_sliced_fmt()
166 for (i = 0; i <= 9; i++) in cx25840_s_sliced_fmt()
170 for (i = 22; i <= 23; i++) in cx25840_s_sliced_fmt()
175 for (i = 7; i <= 23; i++) { in cx25840_s_sliced_fmt()
[all …]
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-av-vbi.c106 int i; in decode_vps() local
108 for (i = 0; i < 2 * 13; i += 2) { in decode_vps()
140 for (i = 7; i <= 23; i++) { in cx18_av_g_sliced_fmt()
149 for (i = 10; i <= 21; i++) { in cx18_av_g_sliced_fmt()
196 for (i = 0; i <= 6; i++) in cx18_av_s_sliced_fmt()
200 for (i = 0; i <= 9; i++) in cx18_av_s_sliced_fmt()
204 for (i = 22; i <= 23; i++) in cx18_av_s_sliced_fmt()
210 for (i = 7; i <= 23; i++) { in cx18_av_s_sliced_fmt()
230 for (x = 1, i = 0x424; i <= 0x434; i++, x++) in cx18_av_s_sliced_fmt()
233 for (x = 1, i = 0x424; i <= 0x430; i++, x++) in cx18_av_s_sliced_fmt()
[all …]
/openbmc/qemu/hw/arm/
H A Dxlnx-zynqmp.c228 for (i = 0; i < num_rpus; i++) { in xlnx_zynqmp_create_rpu()
335 for (i = 0; i < XLNX_ZYNQMP_NUM_TTC; i++) { in xlnx_zynqmp_create_ttc()
385 for (i = 0; i < num_apus; i++) { in xlnx_zynqmp_init()
393 for (i = 0; i < XLNX_ZYNQMP_NUM_GEMS; i++) { in xlnx_zynqmp_init()
397 for (i = 0; i < XLNX_ZYNQMP_NUM_UARTS; i++) { in xlnx_zynqmp_init()
402 for (i = 0; i < XLNX_ZYNQMP_NUM_CAN; i++) { in xlnx_zynqmp_init()
414 for (i = 0; i < XLNX_ZYNQMP_NUM_SPIS; i++) { in xlnx_zynqmp_init()
440 for (i = 0; i < XLNX_ZYNQMP_NUM_USB; i++) { in xlnx_zynqmp_init()
513 for (i = 0; i < num_apus; i++) { in xlnx_zynqmp_realize()
568 for (i = 0; i < num_apus; i++) { in xlnx_zynqmp_realize()
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-vp9.c1189 for (i = 0; i < ARRAY_SIZE(probs->tx8); i++) { in update_tx_probs()
1229 for (i = 0; i < ARRAY_SIZE(probs->coef); i++) { in update_coef_probs()
1245 for (i = 0; i < ARRAY_SIZE(probs->skip); i++) in update_skip_probs()
1337 for (i = 0; i < 4; i++) in update_partition_probs()
1372 p[i] = update_mv_prob(d[i], p[i]); in update_mv_probs()
1381 p[i] = update_mv_prob(d[i], p[i]); in update_mv_probs()
1405 p[i] = update_mv_prob(d[i], p[i]); in update_mv_probs()
1409 p[i] = update_mv_prob(d[i], p[i]); in update_mv_probs()
1467 for (i = 0; i < 4; ++i) in v4l2_vp9_reset_frame_ctx()
1699 for (i = 0; i < ARRAY_SIZE(probs->coef); i++) in _adapt_coef_probs()
[all …]

12345678910>>...437