Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/u-boot/lib/
A Drc4.c21 j = 0; in rc4_encode()
24 j &= 0x0f; in rc4_encode()
26 j++; in rc4_encode()
29 j = 0; in rc4_encode()
31 j = (j + s[i] + k[i]) % 256; in rc4_encode()
33 s[i] = s[j]; in rc4_encode()
34 s[j] = temp; in rc4_encode()
38 j = 0; in rc4_encode()
41 j = (j + s[i]) % 256; in rc4_encode()
43 s[i] = s[j]; in rc4_encode()
[all …]
A Dhexdump.c31 int j, lx = 0; in hex_dump_to_buffer() local
59 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
70 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
72 "%s%8.8x", j ? " " : "", in hex_dump_to_buffer()
81 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
83 "%s%4.4x", j ? " " : "", in hex_dump_to_buffer()
90 for (j = 0; j < len; j++) { in hex_dump_to_buffer()
93 ch = ptr[j]; in hex_dump_to_buffer()
102 if (j) in hex_dump_to_buffer()
113 for (j = 0; j < len; j++) { in hex_dump_to_buffer()
[all …]
A Dbch.c408 for (j = 0; j < 2*t; j += 2) in compute_syndromes()
416 for (j = 0; j < t; j++) in compute_syndromes()
451 for (j = 0; j <= pelp->deg; j++) { in compute_error_locator_polynomial()
469 for (j = 1; j <= elp->deg; j++) in compute_error_locator_polynomial()
581 for (j = 8; j != 0; j >>= 1, mask ^= (mask << j)) { in find_affine4_roots()
777 for (j = a->deg; j >= d; j--) { in gf_poly_mod()
864 for (j = z->deg; j >= 0; j--) { in compute_trace_bk_mod()
1147 for (j = 0; j < ecclen; j++) { in build_mod8_tables()
1169 for (j = 0, sum = 0; j < m; j++) in build_deg2_base()
1234 for (j = 0, r = 2*i+1; j < m; j++) { in compute_generator_polynomial()
[all …]
A Doid_registry.c34 unsigned i, j, k, hash; in look_up_OID() local
52 j = (i + k) / 2; in look_up_OID()
54 xhash = oid_search_table[j].hash; in look_up_OID()
56 k = j; in look_up_OID()
60 i = j + 1; in look_up_OID()
64 oid = oid_search_table[j].oid; in look_up_OID()
67 k = j; in look_up_OID()
71 i = j + 1; in look_up_OID()
82 k = j; in look_up_OID()
86 i = j + 1; in look_up_OID()
/u-boot/drivers/dma/
A Dkeystone_nav.c42 for (j = 0, num = 32; j < 15; j++, num *= 2) { in num_of_desc_to_reg()
52 u32 j; in _qm_init() local
69 for (j = 0; j < HDESC_NUM; j++) in _qm_init()
82 u32 j; in qm_close() local
92 for (j = 0; j < qm_cfg->region_num; j++) { in qm_close()
152 for (j = 0; j < pktdma->rx_ch_num; j++) { in ksnav_rx_disable()
168 for (j = 0; j < pktdma->rx_flow_num; j++) { in ksnav_rx_disable()
186 for (j = 0; j < pktdma->tx_ch_num; j++) { in ksnav_tx_disable()
219 for (j = 0; j < rx_buffers->num_buffs; j++) { in ksnav_init()
247 for (j = 0; j < pktdma->rx_ch_num; j++) in ksnav_init()
[all …]
/u-boot/tools/
A Dfile2include.c30 size_t count, i, j; in main() local
75 for (j = i; j < i + BLOCK_SIZE && j < count; ++j) { in main()
76 if (buf[j]) in main()
82 for (j = i; j < i + BLOCK_SIZE && j < count; ++j) in main()
83 printf("\\x%02x", buf[j]); in main()
85 for (j = i; j < i + BLOCK_SIZE && j < count; ++j) { in main()
86 if (buf[j] != '*' && buf[j] >= 0x20 && buf[j] <= 0x7e) in main()
87 printf("%c", buf[j]); in main()
/u-boot/arch/arc/cpu/arcv1/
A Divt.S10 j _start /* 0 - 0x000 */
11 j memory_error /* 1 - 0x008 */
12 j instruction_error /* 2 - 0x010 */
16 j interrupt_handler /* 3:31 - 0x018:0xF8 */
19 j EV_MachineCheck /* 0x100, Fatal Machine check (0x20) */
20 j EV_TLBMissI /* 0x108, Intruction TLB miss (0x21) */
21 j EV_TLBMissD /* 0x110, Data TLB miss (0x22) */
22 j EV_TLBProtV /* 0x118, Protection Violation (0x23)
24 j EV_PrivilegeV /* 0x120, Privilege Violation (0x24) */
25 j EV_Trap /* 0x128, Trap exception (0x25) */
[all …]
/u-boot/drivers/crypto/aspeed/
A Daspeed_acry.c55 int i, j; in aspeed_acry_mod_exp() local
69 ctx[j] = ptr[i]; in aspeed_acry_mod_exp()
70 j++; in aspeed_acry_mod_exp()
71 j = (j % 16) ? j : j + 32; in aspeed_acry_mod_exp()
76 ctx[j + 16] = ptr[i]; in aspeed_acry_mod_exp()
77 j++; in aspeed_acry_mod_exp()
78 j = (j % 16) ? j : j + 32; in aspeed_acry_mod_exp()
84 j++; in aspeed_acry_mod_exp()
85 j = (j % 16) ? j : j + 32; in aspeed_acry_mod_exp()
119 j++; in aspeed_acry_mod_exp()
[all …]
/u-boot/lib/efi_selftest/
A Defi_selftest_event_groups.c63 size_t i, j; in execute() local
82 for (j = 0; j < GROUP_SIZE; ++j) { in execute()
83 if (counter[j] != 2 * i + 1) { in execute()
85 (unsigned int)i, (unsigned int)j, in execute()
86 (unsigned int)counter[j]); in execute()
91 ret = boottime->check_event(events[j]); in execute()
96 if (counter[j] != 2 * i + 1) { in execute()
99 (unsigned int)counter[j]); in execute()
105 ret = boottime->check_event(events[j]); in execute()
111 if (counter[j] != 2 * i + 2) { in execute()
[all …]
/u-boot/lib/bzip2/
A Dbzlib_blocksort.c87 for ( j = i+4; j <= hi && ec_tmp > eclass[fmap[j]]; j += 4 ) in fallbackSimpleSort()
96 for ( j = i+1; j <= hi && ec_tmp > eclass[fmap[j]]; j++ ) in fallbackSimpleSort()
97 fmap[j-1] = fmap[j]; in fallbackSimpleSort()
559 j = j - h; in mainSimpleSort()
573 j = j - h; in mainSimpleSort()
587 j = j - h; in mainSimpleSort()
894 j = j - h; in mainSort()
927 for (j = 0; j <= 255; j++) { in mainSort()
960 for (j = 0; j <= 255; j++) { in mainSort()
987 for (j = 0; j <= 255; j++) ftab[(j << 8) + ss] |= SETMASK; in mainSort()
[all …]
A Dbzlib_huffman.c113 Int32 nNodes, nHeap, n1, n2, i, j, k; in BZ2_hbMakeCodeLengths() local
157 j = 0; in BZ2_hbMakeCodeLengths()
159 while (parent[k] >= 0) { k = parent[k]; j++; } in BZ2_hbMakeCodeLengths()
160 len[i-1] = j; in BZ2_hbMakeCodeLengths()
161 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths()
167 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths()
168 j = 1 + (j / 2); in BZ2_hbMakeCodeLengths()
169 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()
202 Int32 pp, i, j, vec; in BZ2_hbCreateDecodeTables() local
206 for (j = 0; j < alphaSize; j++) in BZ2_hbCreateDecodeTables()
[all …]
/u-boot/lib/libavb/
A Davb_sha512.c232 j = 0; in SHA512_transform()
236 j++; in SHA512_transform()
238 j++; in SHA512_transform()
262 for (j = 0; j < 16; j++) { in SHA512_transform()
263 PACK64(&sub_block[j << 3], &w[j]); in SHA512_transform()
266 for (j = 16; j < 80; j++) { in SHA512_transform()
270 for (j = 0; j < 8; j++) { in SHA512_transform()
271 wv[j] = ctx->h[j]; in SHA512_transform()
274 for (j = 0; j < 80; j++) { in SHA512_transform()
288 for (j = 0; j < 8; j++) in SHA512_transform()
[all …]
A Davb_sha256.c119 size_t j; in SHA256_transform() local
126 for (j = 0; j < 16; j++) { in SHA256_transform()
127 PACK32(&sub_block[j << 2], &w[j]); in SHA256_transform()
130 for (j = 16; j < 64; j++) { in SHA256_transform()
131 SHA256_SCR(j); in SHA256_transform()
134 for (j = 0; j < 8; j++) { in SHA256_transform()
135 wv[j] = ctx->h[j]; in SHA256_transform()
138 for (j = 0; j < 64; j++) { in SHA256_transform()
140 w[j]; in SHA256_transform()
152 for (j = 0; j < 8; j++) { in SHA256_transform()
[all …]
/u-boot/fs/reiserfs/
A Dmode_string.c55 int i, j, k; in bb_mode_string() local
60 j = k = 0; in bb_mode_string()
64 *p = mode_chars[j]; in bb_mode_string()
65 k = j; in bb_mode_string()
67 } while (++j < 3); in bb_mode_string()
68 if (mode & mode_flags[i+j]) { in bb_mode_string()
95 int i, j, k, m; in bb_mode_string() local
101 j = k = 0; in bb_mode_string()
105 *p = mode_chars[j]; in bb_mode_string()
106 k = j; in bb_mode_string()
[all …]
/u-boot/post/
A Dpost.c134 int j; in post_output_backlog() local
136 for (j = 0; j < post_list_size; j++) { in post_output_backlog()
183 int i, j; in post_get_env_flags() local
189 for (j = 0; j < post_list_size; j++) in post_get_env_flags()
190 test_flags[j] &= ~flag[i]; in post_get_env_flags()
207 for (j = 0; j < post_list_size; j++) { in post_get_env_flags()
214 if (j == post_list_size) in post_get_env_flags()
225 int j; in post_get_flags() local
227 for (j = 0; j < post_list_size; j++) in post_get_flags()
228 test_flags[j] = post_list[j].flags; in post_get_flags()
[all …]
/u-boot/drivers/sound/
A Dsound.c28 int i, j; in sound_create_square_wave() local
31 for (j = 0; size && j < channels; j++, size -= 2) in sound_create_square_wave()
35 for (j = 0; size && j < channels; j++, size -= 2) in sound_create_square_wave()
/u-boot/drivers/ram/rockchip/
A Dsdram_phy_px30.c17 u32 i, j; in sdram_phy_dll_bypass_set() local
23 j = 0x26 + i * 0x10; in sdram_phy_dll_bypass_set()
46 j = 0x28 + i * 0x10; in sdram_phy_dll_bypass_set()
47 writel(tmp, PHY_REG(phy_base, j)); in sdram_phy_dll_bypass_set()
55 u32 i, j; in sdram_phy_set_ds_odt() local
78 j = 0x20 + i * 0x10; in sdram_phy_set_ds_odt()
79 writel(dqs_drv, PHY_REG(phy_base, j)); in sdram_phy_set_ds_odt()
121 u32 i, j; in phy_data_training() local
126 j = 0x20 + i * 0x10; in phy_data_training()
128 writel(0, PHY_REG(phy_base, j + 0xe)); in phy_data_training()
[all …]
/u-boot/board/toradex/colibri_imx6/
A Dpf0100.c150 unsigned int i, j; in pmic_init() local
154 for (j = 0; j < 0x80; ) { in pmic_init()
155 printf("\n%2x", j); in pmic_init()
157 dm_i2c_read(dev, j + i, &val, 1); in pmic_init()
160 j += 0x10; in pmic_init()
170 for (j = 0x80; j < 0x100; ) { in pmic_init()
171 printf("\n%2x", j); in pmic_init()
176 j += 0x10; in pmic_init()
186 for (j = 0x80; j < 0x100; ) { in pmic_init()
187 printf("\n%2x", j); in pmic_init()
[all …]
/u-boot/board/toradex/apalis_imx6/
A Dpf0100.c165 unsigned int i, j; in pmic_init() local
169 for (j = 0; j < 0x80; ) { in pmic_init()
170 printf("\n%2x", j); in pmic_init()
172 dm_i2c_read(dev, j + i, &val, 1); in pmic_init()
175 j += 0x10; in pmic_init()
185 for (j = 0x80; j < 0x100; ) { in pmic_init()
186 printf("\n%2x", j); in pmic_init()
191 j += 0x10; in pmic_init()
201 for (j = 0x80; j < 0x100; ) { in pmic_init()
202 printf("\n%2x", j); in pmic_init()
[all …]
/u-boot/post/drivers/
A Di2c.c61 int j; in i2c_post_test() local
71 for (j = 0; j < sizeof(i2c_addr_list); ++j) { in i2c_post_test()
72 if (i == i2c_addr_list[j]) { in i2c_post_test()
73 i2c_addr_list[j] = 0xff; in i2c_post_test()
78 if (j == sizeof(i2c_addr_list)) { in i2c_post_test()
/u-boot/cmd/
A Dspi.c74 int j; in do_spi_xfer() local
76 for (j = 0; j < ((bitlen + 7) / 8); j++) in do_spi_xfer()
77 printf("%02X", din[j]); in do_spi_xfer()
104 int j; in do_spi() local
136 for(j = 0; *cp; j++, cp++) { in do_spi()
146 if((j % 2) == 0) in do_spi()
147 dout[j / 2] = (tmp << 4); in do_spi()
149 dout[j / 2] |= tmp; in do_spi()
/u-boot/drivers/ddr/fsl/
A Dmain.c320 unsigned int i, j; in __step_assign_addresses() local
338 for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) { in __step_assign_addresses()
355 for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) { in __step_assign_addresses()
443 for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) { in __step_assign_addresses()
467 for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) { in __step_assign_addresses()
497 unsigned int i, j; in fsl_ddr_compute() local
533 for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) { in fsl_ddr_compute()
541 if (!j && retval) { in fsl_ddr_compute()
546 i, j); in fsl_ddr_compute()
580 for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) { in fsl_ddr_compute()
[all …]
/u-boot/arch/arc/lib/
A Dints_low.S87 j do_memory_error
94 j do_instruction_error
113 j do_itlb_miss
119 j do_dtlb_miss
126 j do_tlb_prot_violation
138 j do_trap
144 j do_extension
151 j do_swi
158 j do_divzero
164 j do_dcerror
[all …]
/u-boot/drivers/net/phy/
A Dmiiphybb.c158 int j; in miiphy_pre() local
170 for (j = 0; j < 32; j++) { in miiphy_pre()
200 for (j = 0; j < 5; j++) { in miiphy_pre()
214 for (j = 0; j < 5; j++) { in miiphy_pre()
239 int j; /* counter */ in bb_miiphy_read() local
260 for (j = 0; j < 32; j++) { in bb_miiphy_read()
275 for (j = 0; j < 16; j++) { in bb_miiphy_read()
311 int j; /* counter */ in bb_miiphy_write() local
334 for (j = 0; j < 16; j++) { in bb_miiphy_write()
/u-boot/arch/powerpc/cpu/mpc8xxx/
A Dcpu.c124 int j; in compute_ppc_cpumask() local
126 for (j = 0; j < TP_INIT_PER_CLUSTER; j++) { in compute_ppc_cpumask()
127 type = init_type(cluster, j); in compute_ppc_cpumask()
148 int j; in compute_dsp_cpumask() local
150 for (j = 0; j < TP_INIT_PER_CLUSTER; j++) { in compute_dsp_cpumask()
171 int j; in fsl_qoriq_dsp_core_to_cluster() local
173 for (j = 0; j < TP_INIT_PER_CLUSTER; j++) { in fsl_qoriq_dsp_core_to_cluster()
174 if (init_type(cluster, j)) { in fsl_qoriq_dsp_core_to_cluster()
194 int j; in fsl_qoriq_core_to_cluster() local
196 for (j = 0; j < TP_INIT_PER_CLUSTER; j++) { in fsl_qoriq_core_to_cluster()
[all …]

Completed in 57 milliseconds

12345678910>>...13