Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 434) sorted by relevance

12345678910>>...18

/u-boot/board/gdsys/mpc8308/
A Dmpc8308.c56 uint k; in board_early_init_f() local
58 for (k = 0; k < CONFIG_SYS_FPGA_COUNT; ++k) in board_early_init_f()
59 gd->arch.fpga_state[k] = 0; in board_early_init_f()
66 uint k; in board_early_init_r() local
69 for (k = 0; k < CONFIG_SYS_FPGA_COUNT; ++k) in board_early_init_r()
70 gd->arch.fpga_state[k] = 0; in board_early_init_r()
81 for (k = 0; k < CONFIG_SYS_FPGA_COUNT; ++k) { in board_early_init_r()
83 while (!mpc8308_get_fpga_done(k)) { in board_early_init_r()
86 gd->arch.fpga_state[k] |= in board_early_init_r()
97 for (k = 0; k < CONFIG_SYS_FPGA_COUNT; ++k) { in board_early_init_r()
[all …]
/u-boot/board/gdsys/a38x/
A Dcontrolcenterdc.c100 uint k; in spl_board_init() local
121 for (k = 0; k < 20; ++k) { in spl_board_init()
138 for (k = 0; k < 2; ++k) { in spl_board_init()
192 uint k; in init_host_phys() local
194 for (k = 0; k < 2; ++k) { in init_host_phys()
208 uint k; in ccdc_eth_init() local
242 for (k = 0; k < 80; ++k) in ccdc_eth_init()
247 for (k = 0; k < 80; ++k) in ccdc_eth_init()
265 uint k; in board_fix_fdt() local
276 for (k = 0x21; k <= 0x26; k++) { in board_fix_fdt()
[all …]
A Dihs_phys.c69 uint k; in calculate_octo_phy_mask() local
78 for (k = 0; k < 5; ++k) { in calculate_octo_phy_mask()
79 snprintf(gpio_name, 64, "cat-gpio-%u", k); in calculate_octo_phy_mask()
86 octo_phy_mask |= (1 << (k * 2)); in calculate_octo_phy_mask()
91 snprintf(gpio_name, 64, "second-octo-gpio-%u", k); in calculate_octo_phy_mask()
95 octo_phy_mask |= (1 << (k * 2 + 1)); in calculate_octo_phy_mask()
100 octo_phy_mask |= (1 << (k * 2 + 1)); in calculate_octo_phy_mask()
106 int register_miiphy_bus(uint k, struct mii_dev **bus) in register_miiphy_bus() argument
110 char *name = bb_miiphy_buses[k].name; in register_miiphy_bus()
128 uint octo_index = k * 4; in get_porttype()
[all …]
/u-boot/arch/arm/mach-sunxi/
A Dclock_sun6i.c134 int k = 1; in clock_set_pll1() local
138 k = 2; in clock_set_pll1()
140 k = 4; in clock_set_pll1()
219 int k = 1, m = 2; in clock_set_pll5() local
234 k = 2; in clock_set_pll5()
250 unsigned int k, m, n, value, diff; in clock_set_mipi_pll() local
259 for (k = 1; k <= 4; k++) { in clock_set_mipi_pll()
262 value = src * n * k / m; in clock_set_mipi_pll()
269 best_k = k; in clock_set_mipi_pll()
348 return 24000000 * n * k; in clock_get_pll6()
[all …]
/u-boot/arch/arm/dts/
A Dsun50i-h5-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
18 clock-latency-ns = <244144>; /* 8 32k periods */
24 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
36 clock-latency-ns = <244144>; /* 8 32k periods */
42 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
54 clock-latency-ns = <244144>; /* 8 32k periods */
60 clock-latency-ns = <244144>; /* 8 32k periods */
A Dsun50i-a64-cpu-opp.dtsi14 clock-latency-ns = <244144>; /* 8 32k periods */
20 clock-latency-ns = <244144>; /* 8 32k periods */
26 clock-latency-ns = <244144>; /* 8 32k periods */
32 clock-latency-ns = <244144>; /* 8 32k periods */
38 clock-latency-ns = <244144>; /* 8 32k periods */
44 clock-latency-ns = <244144>; /* 8 32k periods */
50 clock-latency-ns = <244144>; /* 8 32k periods */
56 clock-latency-ns = <244144>; /* 8 32k periods */
A Dsun50i-h6-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
21 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
39 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
57 clock-latency-ns = <244144>; /* 8 32k periods */
66 clock-latency-ns = <244144>; /* 8 32k periods */
75 clock-latency-ns = <244144>; /* 8 32k periods */
84 clock-latency-ns = <244144>; /* 8 32k periods */
93 clock-latency-ns = <244144>; /* 8 32k periods */
/u-boot/drivers/gpio/
A Dsh_pfc.c117 int k; in config_reg_helper() local
127 for (k = 0; k <= in_pos; k++) in config_reg_helper()
185 k = 0; in setup_data_reg()
203 k++; in setup_data_reg()
214 int k; in setup_data_regs() local
216 for (k = gpioc->first_gpio; k <= gpioc->last_gpio; k++) in setup_data_regs()
219 k = 0; in setup_data_regs()
228 k++; in setup_data_regs()
257 k = 0; in get_config_reg()
288 k++; in get_config_reg()
[all …]
/u-boot/include/environment/ti/
A Dnand.env2k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi…
/u-boot/cmd/
A Dfpgad.c31 unsigned int k; in do_fpga_md() local
73 for (k = 0; k < linebytes / sizeof(u16); ++k) in do_fpga_md()
76 / sizeof(u16) + k, in do_fpga_md()
77 addr + k * sizeof(u16), in do_fpga_md()
78 &linebuf[k]); in do_fpga_md()
/u-boot/fs/jffs2/
A Dmergesort.c16 int k, psize, qsize; in sort_list() local
21 for (k = 1; k < list->listCount; k *= 2) { in sort_list()
25 for (psize = 0; q && psize < k; psize++) in sort_list()
27 qsize = k; in sort_list()
/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()
65 k = j; in bb_mode_string()
69 *p = mode_chars[3 + (k & 2) + ((i&8) >> 3)]; in bb_mode_string()
95 int i, j, k, m; in bb_mode_string() local
101 j = k = 0; in bb_mode_string()
106 k = j; in bb_mode_string()
112 *p = mode_chars[3 + (k & 2) + (i == 3)]; in bb_mode_string()
/u-boot/board/gdsys/common/
A Dosd.c245 unsigned int k; in osd_write_videomem() local
247 for (k = 0; k < charcount; ++k) { in osd_write_videomem()
248 if (offset + k >= bufsize) in osd_write_videomem()
253 videomem1[offset + k], data[k]); in osd_write_videomem()
255 FPGA_SET_REG(screen, videomem0[offset + k], data[k]); in osd_write_videomem()
257 FPGA_SET_REG(screen, videomem0[offset + k], data[k]); in osd_write_videomem()
280 unsigned int k; in osd_print() local
294 for (k = 0; k < len; ++k) in osd_print()
295 buf[k] = (text[k] << 8) | color; in osd_print()
414 unsigned k; in osd_write() local
[all …]
A Dcmd_ioloop.c148 uint k; in io_send() local
156 for (k = 0; k < sizeof(packet) / 2; ++k) in io_send()
159 for (k = 0; k < (size + 1) / 2; ++k) in io_send()
160 FPGA_SET_REG(fpga, ep.transmit_data, k); in io_send()
170 uint k; in io_send() local
180 for (k = 0; k < words; ++k) in io_send()
181 buffer[k + HEADER_WORDS] = (2 * k + 1) + ((2 * k) << 8); in io_send()
222 uint k = 0; in io_reflect() local
229 FPGA_GET_REG(fpga, ep.receive_data, &buffer[k++]); in io_reflect()
236 if (!k) in io_reflect()
[all …]
/u-boot/fs/ubifs/
A Dkey.h100 union ubifs_key *key = k; in ino_key_init_flash()
104 memset(k + 8, 0, UBIFS_MAX_KEY_LEN - 8); in ino_key_init_flash()
178 union ubifs_key *key = k; in dent_key_init_flash()
185 memset(k + 8, 0, UBIFS_MAX_KEY_LEN - 8); in dent_key_init_flash()
229 union ubifs_key *key = k; in xent_key_init_flash()
328 const union ubifs_key *key = k; in key_type_flash()
340 const union ubifs_key *key = k; in key_inum()
352 const union ubifs_key *key = k; in key_inum_flash()
375 const union ubifs_key *key = k; in key_hash_flash()
397 const void *k) in key_block_flash() argument
[all …]
/u-boot/arch/riscv/include/asm/
A Dbitops.h119 int k; in ffz() local
122 k = 31; in ffz()
124 k -= 16; word <<= 16; in ffz()
127 k -= 8; word <<= 8; in ffz()
130 k -= 4; word <<= 4; in ffz()
133 k -= 2; word <<= 2; in ffz()
136 k -= 1; in ffz()
138 return k; in ffz()
/u-boot/lib/rsa/
A Drsa-keyprop.c121 uint32_t k, c; in BIT_LENGTH() local
123 k = NEQ(x, 0); in BIT_LENGTH()
129 return k; in BIT_LENGTH()
263 size_t k; in br_i32_encode() local
292 k --; in br_i32_encode()
298 while (k > 0) { in br_i32_encode()
300 k --; in br_i32_encode()
402 int k; in br_divrem() local
407 for (k = 31; k > 0; k --) { in br_divrem()
411 j = 32 - k; in br_divrem()
[all …]
/u-boot/arch/sandbox/include/asm/
A Dbitops.h124 int k; in ffz() local
127 k = 31; in ffz()
129 k -= 16; word <<= 16; in ffz()
132 k -= 8; word <<= 8; in ffz()
135 k -= 4; word <<= 4; in ffz()
138 k -= 2; word <<= 2; in ffz()
141 k -= 1; in ffz()
142 return k; in ffz()
/u-boot/include/linux/
A Dbitmap.h26 unsigned int k; in __bitmap_or() local
29 for (k = 0; k < nr; k++) in __bitmap_or()
30 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
36 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_weight() local
39 for (k = 0; k < lim; k++) in __bitmap_weight()
40 w += hweight_long(bitmap[k]); in __bitmap_weight()
43 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
/u-boot/board/nokia/rx51/
A Drx51.c623 if (!(mods & 2) && (k == 18 || k == 31 || k == 33 || k == 34)) { in rx51_kp_fill()
641 k = keymap[k+64]; in rx51_kp_fill()
643 k = keymap[k]; in rx51_kp_fill()
645 if (k >= 'a' && k <= 'z') in rx51_kp_fill()
646 k -= 'a' - 1; in rx51_kp_fill()
649 if (k >= 'a' && k <= 'z') in rx51_kp_fill()
650 k += 'A' - 'a'; in rx51_kp_fill()
651 else if (k == '.') in rx51_kp_fill()
652 k = ':'; in rx51_kp_fill()
653 else if (k == ',') in rx51_kp_fill()
[all …]
/u-boot/board/st/common/
A DKconfig25 default "512k(teeh),512k(teed),512k(teex)"
35 default "256k(fsbl1),256k(fsbl2),2m(ssbl),512k(u-boot-env)" if STM32MP15x_STM32IMAGE || \
37 default "256k(fsbl1),256k(fsbl2),4m(fip),512k(u-boot-env)"
48 default "256k(teeh),512k(teed),256k(teex)"
68 default "512k(teeh),512k(teed),512k(teex)"
/u-boot/drivers/video/
A Dihs_video_out.c138 uint k, rep; in ihs_video_out_set_mem() local
146 for (k = 0; k < buflen / 2; ++k) { in ihs_video_out_set_mem()
149 if (offset + k >= max_size) { in ihs_video_out_set_mem()
155 data = buf[2 * k + 1] + 256 * buf[2 * k]; in ihs_video_out_set_mem()
156 out_le16(priv->vidmem + offset + k, data); in ihs_video_out_set_mem()
207 uint k; in ihs_video_out_print() local
211 for (k = 0; k < len; ++k) { in ihs_video_out_print()
212 buffer[2 * k] = text[k]; in ihs_video_out_print()
213 buffer[2 * k + 1] = color; in ihs_video_out_print()
/u-boot/arch/powerpc/cpu/mpc8xx/
A Dcpu.c51 u32 k = in_be32(&memctl->memc_br0) & ~0x00007fff; in checkicache() local
61 wr_ic_adr(k); in checkicache()
66 k += 0x10; /* the number of bytes in a cacheline */ in checkicache()
92 u32 k = in_be32(&memctl->memc_br0) & ~0x00007fff; in checkdcache() local
101 wr_dc_adr(k); in checkdcache()
104 k += 0x10; /* the number of bytes in a cacheline */ in checkdcache()
121 uint k; in check_CPU() local
129 k = (immr << 16) | in check_CPU()
136 switch (k) { in check_CPU()
149 printf("unknown MPC86x (0x%08x)", k); in check_CPU()
/u-boot/drivers/misc/
A Dgdsys_ioep.c70 int k; in gdsys_ioep_send() local
73 for (k = 0; k < size; ++k) in gdsys_ioep_send()
97 int k; in receive_byte_buffer() local
100 for (k = 0; k < len; ++k) { in receive_byte_buffer()
110 if (k == (len - 1) && (last_spec == READ_DATA_IS_NOT_LAST || in receive_byte_buffer()
/u-boot/lib/
A Doid_registry.c34 unsigned i, j, k, hash; in look_up_OID() local
50 k = OID__NR; in look_up_OID()
51 while (i < k) { in look_up_OID()
52 j = (i + k) / 2; in look_up_OID()
56 k = j; in look_up_OID()
67 k = j; in look_up_OID()
82 k = j; in look_up_OID()

Completed in 56 milliseconds

12345678910>>...18