Home
last modified time | relevance | path

Searched refs:i (Results 1001 – 1025 of 1832) sorted by relevance

1...<<41424344454647484950>>...74

/rk3399_rockchip-uboot/drivers/net/
H A Dravb.c230 int i; in ravb_base_desc_init() local
235 for (i = 0; i < RAVB_NUM_BASE_DESC; i++) in ravb_base_desc_init()
236 eth->base_desc[i].ctrl = RAVB_DESC_DT_EOS; in ravb_base_desc_init()
247 int i; in ravb_tx_desc_init() local
253 for (i = 0; i < RAVB_NUM_TX_DESC; i++) in ravb_tx_desc_init()
254 eth->tx_desc[i].ctrl = RAVB_DESC_DT_EEMPTY; in ravb_tx_desc_init()
271 int i; in ravb_rx_desc_init() local
277 for (i = 0; i < RAVB_NUM_RX_DESC; i++) { in ravb_rx_desc_init()
278 eth->rx_desc[i].data.ctrl = RAVB_DESC_DT_EEMPTY | in ravb_rx_desc_init()
280 eth->rx_desc[i].data.dptr = (uintptr_t)eth->rx_desc[i].packet; in ravb_rx_desc_init()
[all …]
H A Dxilinx_ll_temac_sdma.c113 int i; in ll_temac_init_sdma() local
119 for (i = 0; i < PKTBUFSRX; i++) { in ll_temac_init_sdma()
120 rx_dp = &cdmac_bd.rx[i]; in ll_temac_init_sdma()
124 rx_dp->phys_buf_p = (u8 *)net_rx_packets[i]; in ll_temac_init_sdma()
130 for (i = 0; i < TX_BUF_CNT; i++) { in ll_temac_init_sdma()
131 tx_dp = &cdmac_bd.tx[i]; in ll_temac_init_sdma()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c371 u32 i, shifting = 1; in stm32_fmc2_ham_correct() local
384 for (i = 0; i < 3; i++) { in stm32_fmc2_ham_correct()
399 for (i = 0; i < 9; i++) { in stm32_fmc2_ham_correct()
479 int i, ret, den, eccsize = chip->ecc.size; in stm32_fmc2_bch_correct() local
517 for (i = 0; i < den; i++) { in stm32_fmc2_bch_correct()
518 if (pos[i] < eccsize * 8) { in stm32_fmc2_bch_correct()
519 __change_bit(pos[i], (unsigned long *)dat); in stm32_fmc2_bch_correct()
531 int i, s, stat, eccsize = chip->ecc.size; in stm32_fmc2_read_page() local
540 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps; in stm32_fmc2_read_page()
541 s++, i += eccbytes, p += eccsize) { in stm32_fmc2_read_page()
[all …]
H A Domap_elm.c98 s8 i; in elm_check_error() local
126 for (i = 0; i < *error_count; i++) { in elm_check_error()
127 error_locations[i] = in elm_check_error()
128 readl(&elm_cfg->error_location[poly].error_location_x[i]); in elm_check_error()
/rk3399_rockchip-uboot/drivers/fpga/
H A Dsocfpga_arria10.c79 u32 i = 0; in fpgamgr_wait_early_user_mode() local
97 i++; in fpgamgr_wait_early_user_mode()
100 debug("Additional %i sync word needed\n", i); in fpgamgr_wait_early_user_mode()
354 unsigned long reg, i; in fpgamgr_program_poll_cd() local
356 for (i = 0; i < FPGA_TIMEOUT_CNT; i++) { in fpgamgr_program_poll_cd()
367 if (i == FPGA_TIMEOUT_CNT) in fpgamgr_program_poll_cd()
/rk3399_rockchip-uboot/drivers/misc/
H A Dmisc_decompress.c40 int i, flags; in misc_gzip_parse_header() local
43 i = 10; in misc_gzip_parse_header()
50 i = 12 + src[10] + (src[11] << 8); in misc_gzip_parse_header()
52 while (src[i++] != 0) in misc_gzip_parse_header()
55 while (src[i++] != 0) in misc_gzip_parse_header()
58 i += 2; in misc_gzip_parse_header()
59 if (i >= len) { in misc_gzip_parse_header()
63 return i; in misc_gzip_parse_header()
/rk3399_rockchip-uboot/board/Arcturus/ucp1020/
H A Ducp1020.c62 int i; in board_gpio_init() local
65 for (i = 0; i < GPIO_MAX_NUM; i++) { in board_gpio_init()
66 sprintf(envname, "GPIO%d", i); in board_gpio_init()
73 gpio_direction_input(i); in board_gpio_init()
77 gpio_direction_output(i, 1); in board_gpio_init()
79 gpio_direction_output(i, 0); in board_gpio_init()
/rk3399_rockchip-uboot/board/freescale/m54418twr/
H A Dm54418twr.c43 u32 i; in dram_init() local
47 for (i = 0x13; i < 0x20; i++) { in dram_init()
48 if (dramsize == (1 << i)) in dram_init()
/rk3399_rockchip-uboot/cmd/
H A Dcrypto_sum.c13 int i; in dump_hash() local
17 for (i = 0; i < BITS2BYTE(nbits); i++) in dump_hash()
18 printf("%02x", buf[i]); in dump_hash()
H A Dtpm.c30 int i, print_newline = 0; in print_byte_string() local
32 for (i = 0; i < count; i++) { in print_byte_string()
33 printf(" %02x", data[i]); in print_byte_string()
34 print_newline = (i % 16 == 15); in print_byte_string()
59 int i; in parse_byte_string() local
72 for (i = 0; i < length; i += 2) { in parse_byte_string()
73 byte[0] = bytes[i]; in parse_byte_string()
74 byte[1] = bytes[i + 1]; in parse_byte_string()
75 data[i / 2] = (uint8_t)simple_strtoul(byte, NULL, 16); in parse_byte_string()
728 uint i; in TPM_COMMAND_NO_ARG() local
[all …]
H A Dcramfs.c47 int mask = 1, i; in mkmodestr() local
61 for(i = 0; i < 9; i++) { in mkmodestr()
62 c = l[i%3]; in mkmodestr()
63 str[9-i] = (mode & mask)?c:'-'; in mkmodestr()
/rk3399_rockchip-uboot/net/
H A Deth_common.c18 int i; in eth_parse_enetaddr() local
20 for (i = 0; i < 6; ++i) { in eth_parse_enetaddr()
21 enetaddr[i] = addr ? simple_strtoul(addr, &end, 16) : 0; in eth_parse_enetaddr()
/rk3399_rockchip-uboot/arch/x86/cpu/baytrail/
H A Dcpu.c51 int i; in arch_cpu_init_dm() local
54 for (i = 0; i < 2; i++) { in arch_cpu_init_dm()
55 ret = dm_pci_bus_find_bdf(PCI_BDF(0, 0x1e, 3 + i), &dev); in arch_cpu_init_dm()
/rk3399_rockchip-uboot/drivers/usb/eth/
H A Dasix.c340 int i; in asix_read_mac_common() local
343 for (i = 0; i < (ETH_ALEN >> 1); i++) { in asix_read_mac_common()
345 0x04 + i, 0, 2, buf) < 0) { in asix_read_mac_common()
349 memcpy(enetaddr + i * 2, buf, 2); in asix_read_mac_common()
631 int i; in asix_eth_probe() local
637 for (i = 0; asix_dongles[i].vendor != 0; i++) { in asix_eth_probe()
638 if (dev->descriptor.idVendor == asix_dongles[i].vendor && in asix_eth_probe()
639 dev->descriptor.idProduct == asix_dongles[i].product) in asix_eth_probe()
644 if (asix_dongles[i].vendor == 0) in asix_eth_probe()
664 ((struct asix_private *)ss->dev_priv)->flags = asix_dongles[i].flags; in asix_eth_probe()
[all …]
/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtd_blk.c51 int i, j; in mtd_blk_map_table_init() local
73 for (i = 0; i < blk_total; i++) in mtd_blk_map_table_init()
74 mtd_map_blk_table[i] = MTD_BLK_TABLE_BLOCK_UNKNOWN; in mtd_blk_map_table_init()
92 for (i = 0; i < blk_cnt; i++) { in mtd_blk_map_table_init()
94 mtd_map_blk_table[blk_begin + i] = MTD_BLK_TABLE_BLOCK_SHIFT; in mtd_blk_map_table_init()
97 mtd_map_blk_table[blk_begin + i] = blk_begin + j; in mtd_blk_map_table_init()
134 int i, ret; in mtd_blk_map_partitions() local
142 for (i = 1; i < MAX_SEARCH_PARTITIONS; i++) { in mtd_blk_map_partitions()
143 ret = part_get_info(desc, i, &info); in mtd_blk_map_partitions()
699 int ret, i = 0; in mtd_blk_probe() local
[all …]
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_mass_storage.c653 int i = 0, k = 0; in sleep_thread() local
660 if (++i == 20000) { in sleep_thread()
662 i = 0; in sleep_thread()
1680 int i; in check_command() local
1778 for (i = 1; i < cmnd_size; ++i) { in check_command()
1779 if (common->cmnd[i] && !(mask & (1 << i))) { in check_command()
1795 int i; in do_scsi_command() local
1883 i = common->cmnd[4]; in do_scsi_command()
1884 common->data_size_from_cmnd = (i == 0 ? 256 : i) << 9; in do_scsi_command()
2001 i = common->cmnd[4]; in do_scsi_command()
[all …]
H A Dpxa25x_udc.c158 unsigned i; in dump_state() local
184 for (i = 1; i < PXA_UDC_NUM_ENDPOINTS; i++) { in dump_state()
185 if (dev->ep[i].desc == NULL) in dump_state()
187 debug("udccs%d = %02x\n", i, *dev->ep->reg_udccs); in dump_state()
930 unsigned i; in pxa25x_ep_set_halt() local
931 for (i = 0; i < 1000; i += 20) { in pxa25x_ep_set_halt()
1130 u32 i; in udc_reinit() local
1138 for (i = 0; i < PXA_UDC_NUM_ENDPOINTS; i++) { in udc_reinit()
1139 struct pxa25x_ep *ep = &dev->ep[i]; in udc_reinit()
1141 if (i != 0) in udc_reinit()
[all …]
/rk3399_rockchip-uboot/board/freescale/common/
H A Darm_sleep.c58 int i; in dp_ddr_restore() local
65 for (i = 0; i < DDR_BUFF_LEN / 8; i++) in dp_ddr_restore()
/rk3399_rockchip-uboot/drivers/rkflash/
H A Drkflash_debug.c96 u16 i, j, loop = 0; in blk_stress_test() local
114 for (i = 0; i < (max_test_sector * 512); i++) in blk_stress_test()
115 pwrite[i] = i; in blk_stress_test()
/rk3399_rockchip-uboot/lib/
H A Dfdtdec_test.c127 int i; in run_test() local
142 for (i = 0, s = expect; *s; s++, i++) { in run_test()
147 name = list[i] ? fdt_get_name(blob, list[i], NULL) : NULL; in run_test()
153 i, want, got, name); in run_test()
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dirq.c66 int i; in check_dup_entry() local
68 for (i = 0; i < entry_num; i++) { in check_dup_entry()
74 return (i == entry_num) ? NULL : slot; in check_dup_entry()
96 int i; in create_pirq_routing_table() local
173 for (i = 0; i < count; in create_pirq_routing_table()
174 i++, cell += sizeof(struct pirq_routing) / sizeof(u32)) { in create_pirq_routing_table()
182 i, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table()
/rk3399_rockchip-uboot/lib/efi/
H A Defi_stub.c165 int i; in get_codeseg32() local
168 for (ptr = (uint64_t *)(unsigned long)gdt.addr, i = 0; i < gdt.limit; in get_codeseg32()
169 i += 8, ptr++) { in get_codeseg32()
191 cs32 = i; in get_codeseg32()
202 for (i = 0; i < gdt.limit; i += 8) { in get_codeseg32()
203 uint32_t *ptr = (uint32_t *)((unsigned long)gdt.addr + i); in get_codeseg32()
206 printhex2(i); in get_codeseg32()
/rk3399_rockchip-uboot/drivers/irq/
H A Dirq-generic.c289 int i; in irqs_suspend() local
291 for (i = 0; i < irqchip.suspend_num; i++) in irqs_suspend()
292 irq_handler_enable(irqchip.suspend_irq[i]); in irqs_suspend()
299 int i; in irqs_resume() local
301 for (i = 0; i < irqchip.suspend_num; i++) in irqs_resume()
302 irq_handler_disable(irqchip.suspend_irq[i]); in irqs_resume()
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_summary.c104 int i; in yaffs_summary_sum() local
107 i = sizeof(struct yaffs_summary_tags) * in yaffs_summary_sum()
109 while (i > 0) { in yaffs_summary_sum()
112 i--; in yaffs_summary_sum()
295 int i; in yaffs_summary_gc() local
300 for (i = dev->chunks_per_summary; in yaffs_summary_gc()
301 i < dev->param.chunks_per_block; in yaffs_summary_gc()
302 i++) { in yaffs_summary_gc()
303 if (yaffs_check_chunk_bit(dev, blk, i)) { in yaffs_summary_gc()
304 yaffs_clear_chunk_bit(dev, blk, i); in yaffs_summary_gc()
/rk3399_rockchip-uboot/arch/sandbox/cpu/
H A Dsdl.c211 int i, count; in sandbox_sdl_scan_keys() local
215 for (i = count = 0; i < NUM_SDL_CODES; i++) { in sandbox_sdl_scan_keys()
218 else if (keystate[i]) in sandbox_sdl_scan_keys()
219 key[count++] = sdl_to_keycode[i]; in sandbox_sdl_scan_keys()
229 int i; in sandbox_sdl_key_pressed() local
232 for (i = 0; i < count; i++) { in sandbox_sdl_key_pressed()
233 if (key[i] == keycode) in sandbox_sdl_key_pressed()

1...<<41424344454647484950>>...74