Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 437) 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 …]
A Dstrider.c131 uint k; in last_stage_init() local
153 for (k = 0; k < ARRAY_SIZE(mclink_controllers_dvi); ++k) { in last_stage_init()
241 for (k = 1; k <= slaves; ++k) in last_stage_init()
247 for (k = 1; k <= slaves; ++k) { in last_stage_init()
251 osd_probe(k); in last_stage_init()
255 osd_probe(k); in last_stage_init()
257 osd_probe(k + 4); in last_stage_init()
261 if (!adv7611_probe(k)) in last_stage_init()
263 ch7301_probe(k, false); in last_stage_init()
264 dp501_probe(k, false); in last_stage_init()
[all …]
A Dhrcon.c128 uint k; in last_stage_init() local
143 for (k = 0; k < ARRAY_SIZE(mclink_controllers); ++k) { in last_stage_init()
146 if (i2c_probe(mclink_controllers[k])) in last_stage_init()
205 for (k = 1; k <= slaves; ++k) { in last_stage_init()
208 ioep_fpga_print_info(k); in last_stage_init()
209 osd_probe(k); in last_stage_init()
211 osd_probe(k + 4); in last_stage_init()
227 setup_88e1514(bb_miiphy_buses[k].name, 0); in last_stage_init()
231 for (k = 0; k < ARRAY_SIZE(hrcon_fans); ++k) { in last_stage_init()
232 i2c_set_bus_num(hrcon_fans[k].bus); in last_stage_init()
[all …]
/u-boot/board/gdsys/a38x/
A Dcontrolcenterdc.c100 uint k; in board_pex_config() local
117 for (k = 0; k < 20; ++k) { in board_pex_config()
134 for (k = 0; k < 2; ++k) { in board_pex_config()
188 uint k; in init_host_phys() local
190 for (k = 0; k < 2; ++k) { in init_host_phys()
203 uint k; in ccdc_eth_init() local
237 for (k = 0; k < 80; ++k) in ccdc_eth_init()
242 for (k = 0; k < 80; ++k) in ccdc_eth_init()
260 uint k; in board_fix_fdt() local
271 for (k = 0x21; k <= 0x26; k++) { in board_fix_fdt()
[all …]
A Dihs_phys.c68 uint k; in calculate_octo_phy_mask() local
77 for (k = 0; k < 5; ++k) { in calculate_octo_phy_mask()
78 snprintf(gpio_name, 64, "cat-gpio-%u", k); in calculate_octo_phy_mask()
85 octo_phy_mask |= (1 << (k * 2)); in calculate_octo_phy_mask()
90 snprintf(gpio_name, 64, "second-octo-gpio-%u", k); in calculate_octo_phy_mask()
94 octo_phy_mask |= (1 << (k * 2 + 1)); in calculate_octo_phy_mask()
99 octo_phy_mask |= (1 << (k * 2 + 1)); in calculate_octo_phy_mask()
105 int register_miiphy_bus(uint k, struct mii_dev **bus) in register_miiphy_bus() argument
109 char *name = bb_miiphy_buses[k].name; in register_miiphy_bus()
129 uint octo_index = k * 4; in get_porttype()
[all …]
/u-boot/arch/arm/mach-sunxi/
A Dclock_sun6i.c117 int k = 1; in clock_set_pll1() local
121 k = 2; in clock_set_pll1()
123 k = 4; in clock_set_pll1()
192 int k = 1, m = 2; in clock_set_pll5() local
206 if (clk > 24000000 * k * max_n / m) in clock_set_pll5()
207 k = 2; in clock_set_pll5()
223 unsigned int k, m, n, value, diff; in clock_set_mipi_pll() local
232 for (k = 1; k <= 4; k++) { in clock_set_mipi_pll()
235 value = src * n * k / m; in clock_set_mipi_pll()
242 best_k = k; in clock_set_mipi_pll()
[all …]
/u-boot/board/gdsys/common/
A Dmclink.c28 unsigned int k; in mclink_probe() local
31 for (k = 0; k < CONFIG_SYS_MCLINK_MAX; ++k) { in mclink_probe()
36 FPGA_GET_REG(k, mc_status, &mc_status); in mclink_probe()
41 FPGA_SET_REG(k, mc_control, 0x8000); in mclink_probe()
43 FPGA_GET_REG(k, mc_status, &mc_status); in mclink_probe()
50 FPGA_GET_REG(k, mc_status, &mc_status); in mclink_probe()
55 printf("waited %d us for mclink %d to come up\n", ctr * 100, k); in mclink_probe()
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 …]
/u-boot/arch/arm/dts/
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/cmd/
A Dfpgad.c30 unsigned int k; in do_fpga_md() local
72 for (k = 0; k < linebytes / sizeof(u16); ++k) in do_fpga_md()
75 / sizeof(u16) + k, in do_fpga_md()
76 addr + k * sizeof(u16), in do_fpga_md()
77 &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/configs/
A Dgardena-smart-gateway-at91sam_defconfig26 …S0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k
50 CONFIG_MTDPARTS_DEFAULT="nand0:1536k(uboot),1024k(unused),512k(dtb_old),4608k(kernel_old),86528k(ub…
/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/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.c590 if (!(mods & 2) && (k == 18 || k == 31 || k == 33 || k == 34)) { in rx51_kp_fill()
608 k = keymap[k+64]; in rx51_kp_fill()
610 k = keymap[k]; in rx51_kp_fill()
612 if (k >= 'a' && k <= 'z') in rx51_kp_fill()
613 k -= 'a' - 1; in rx51_kp_fill()
616 if (k >= 'a' && k <= 'z') in rx51_kp_fill()
617 k += 'A' - 'a'; in rx51_kp_fill()
618 else if (k == '.') in rx51_kp_fill()
619 k = ':'; in rx51_kp_fill()
620 else if (k == ',') in rx51_kp_fill()
[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/examples/standalone/
A Dsmc91111_eeprom.c252 int i, j, k, mac[6]; in print_macaddr() local
264 k = read_eeprom_reg (dev, j); in print_macaddr()
265 mac[i] = k & 0xFF; in print_macaddr()
267 mac[i] = k >> 8; in print_macaddr()
279 int j, k; in dump_eeprom() local
287 for (k = 0; k < 4; k++) { in dump_eeprom()
288 if (k == 0) in dump_eeprom()
290 if (k == 1) in dump_eeprom()
292 if ((k == 2) || (k == 3)) in dump_eeprom()
295 printf ("%02x:%04x ", j + k, in dump_eeprom()
[all …]
/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/drivers/power/battery/
A Dbat_trats.c22 int k; in power_battery_charge() local
27 for (k = 0; bat->chrg->chrg_bat_present(p_bat->chrg) && in power_battery_charge()
29 battery->state_of_chrg < 100; k++) { in power_battery_charge()
31 if (!(k % 5)) in power_battery_charge()
35 if (k == 200) { in power_battery_charge()
38 k = 0; in power_battery_charge()
/u-boot/arch/nds32/include/asm/
A Dbitops.h137 int k; in ffz() local
140 k = 31; in ffz()
142 k -= 16; word <<= 16; in ffz()
145 k -= 8; word <<= 8; in ffz()
148 k -= 4; word <<= 4; in ffz()
151 k -= 2; word <<= 2; in ffz()
154 k -= 1; in ffz()
156 return k; in ffz()
/u-boot/arch/powerpc/cpu/mpc8xx/
A Dcpu.c50 u32 k = in_be32(&memctl->memc_br0) & ~0x00007fff; in checkicache() local
60 wr_ic_adr(k); in checkicache()
65 k += 0x10; /* the number of bytes in a cacheline */ in checkicache()
91 u32 k = in_be32(&memctl->memc_br0) & ~0x00007fff; in checkdcache() local
100 wr_dc_adr(k); in checkdcache()
103 k += 0x10; /* the number of bytes in a cacheline */ in checkdcache()
120 uint k; in check_CPU() local
128 k = (immr << 16) | in check_CPU()
135 switch (k) { in check_CPU()
148 printf("unknown MPC86x (0x%08x)", k); in check_CPU()

Completed in 52 milliseconds

12345678910>>...18