| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | mmc.c | 297 key_addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmcrpmb_key() 318 addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmcrpmb_read() 319 blk = simple_strtoul(argv[2], NULL, 16); in do_mmcrpmb_read() 320 cnt = simple_strtoul(argv[3], NULL, 16); in do_mmcrpmb_read() 323 key_addr = (void *)simple_strtoul(argv[4], NULL, 16); in do_mmcrpmb_read() 346 addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmcrpmb_write() 347 blk = simple_strtoul(argv[2], NULL, 16); in do_mmcrpmb_write() 348 cnt = simple_strtoul(argv[3], NULL, 16); in do_mmcrpmb_write() 349 key_addr = (void *)simple_strtoul(argv[4], NULL, 16); in do_mmcrpmb_write() 439 addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmc_read() [all …]
|
| H A D | tpm.c | 75 data[i / 2] = (uint8_t)simple_strtoul(byte, NULL, 16); in parse_byte_string() 180 value = simple_strtoul(values[0], NULL, 0); in type_string_pack() 269 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_nv_define_space() 270 perm = simple_strtoul(argv[2], NULL, 0); in do_tpm_nv_define_space() 271 size = simple_strtoul(argv[3], NULL, 0); in do_tpm_nv_define_space() 284 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_nv_read_value() 285 data = (void *)simple_strtoul(argv[2], NULL, 0); in do_tpm_nv_read_value() 286 count = simple_strtoul(argv[3], NULL, 0); in do_tpm_nv_read_value() 306 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_nv_write_value() 327 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_extend() [all …]
|
| H A D | blk_common.c | 43 int dev = (int)simple_strtoul(argv[2], NULL, 10); in blk_common_cmd() 53 int dev = (int)simple_strtoul(argv[2], NULL, 10); in blk_common_cmd() 66 ulong addr = simple_strtoul(argv[2], NULL, 16); in blk_common_cmd() 67 lbaint_t blk = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd() 68 ulong cnt = simple_strtoul(argv[4], NULL, 16); in blk_common_cmd() 81 ulong addr = simple_strtoul(argv[2], NULL, 16); in blk_common_cmd() 82 lbaint_t blk = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd() 83 ulong cnt = simple_strtoul(argv[4], NULL, 16); in blk_common_cmd() 96 lbaint_t blk = simple_strtoul(argv[2], NULL, 16); in blk_common_cmd() 97 ulong cnt = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd()
|
| H A D | unzip.c | 18 dst_len = simple_strtoul(argv[3], NULL, 16); in do_unzip() 21 src = simple_strtoul(argv[1], NULL, 16); in do_unzip() 22 dst = simple_strtoul(argv[2], NULL, 16); in do_unzip() 60 addr = (unsigned char *)simple_strtoul(argv[3], NULL, 16); in do_gzwrite() 61 length = simple_strtoul(argv[4], NULL, 16); in do_gzwrite() 64 writebuf = simple_strtoul(argv[5], NULL, 16); in do_gzwrite()
|
| H A D | i2c.c | 311 chip = simple_strtoul(argv[1], NULL, 16); in do_i2c_read() 317 devaddr = simple_strtoul(argv[2], NULL, 16); in do_i2c_read() 325 length = simple_strtoul(argv[3], NULL, 16); in do_i2c_read() 330 memaddr = (u_char *)simple_strtoul(argv[4], NULL, 16); in do_i2c_read() 365 memaddr = (u_char *)simple_strtoul(argv[1], NULL, 16); in do_i2c_write() 370 chip = simple_strtoul(argv[2], NULL, 16); in do_i2c_write() 376 devaddr = simple_strtoul(argv[3], NULL, 16); in do_i2c_write() 384 length = simple_strtoul(argv[4], NULL, 16); in do_i2c_write() 449 chip = simple_strtoul(argv[1], NULL, 16); in do_i2c_flags() 455 flags = simple_strtoul(argv[2], NULL, 16); in do_i2c_flags() [all …]
|
| H A D | mem.c | 76 addr = simple_strtoul(argv[1], NULL, 16); in do_mem_md() 83 length = simple_strtoul(argv[2], NULL, 16); in do_mem_md() 131 addr = simple_strtoul(argv[1], NULL, 16); in do_mem_mw() 139 writeval = simple_strtoul(argv[2], NULL, 16); in do_mem_mw() 144 count = simple_strtoul(argv[3], NULL, 16); in do_mem_mw() 178 count = simple_strtoul(argv[3], NULL, 10); in do_mem_mdc() 205 count = simple_strtoul(argv[3], NULL, 10); in do_mem_mwc() 249 addr1 = simple_strtoul(argv[1], NULL, 16); in do_mem_cmp() 252 addr2 = simple_strtoul(argv[2], NULL, 16); in do_mem_cmp() 255 count = simple_strtoul(argv[3], NULL, 16); in do_mem_cmp() [all …]
|
| H A D | md5sum.c | 27 ptr = (u8 *)simple_strtoul(dest + 1, NULL, 16); in store_result() 48 ptr = (u8 *)simple_strtoul(verify_str + 1, NULL, 16); in parse_verify_sum() 68 simple_strtoul(vsum_str + (i * 2), NULL, 16); in parse_verify_sum() 99 addr = simple_strtoul(*av++, NULL, 16); in do_md5sum() 100 len = simple_strtoul(*av++, NULL, 16); in do_md5sum() 148 addr = simple_strtoul(argv[1], NULL, 16); in do_md5sum() 149 len = simple_strtoul(argv[2], NULL, 16); in do_md5sum()
|
| H A D | read.c | 33 dev = (int)simple_strtoul(argv[2], &ep, 16); in do_read() 39 part = (int)simple_strtoul(++ep, NULL, 16); in do_read() 48 addr = (void *)simple_strtoul(argv[3], NULL, 16); in do_read() 49 blk = simple_strtoul(argv[4], NULL, 16); in do_read() 50 cnt = simple_strtoul(argv[5], NULL, 16); in do_read()
|
| H A D | mfsl.c | 27 fslnum = (unsigned int)simple_strtoul (argv[1], NULL, 16); in do_frd() 28 blocking = (unsigned int)simple_strtoul (argv[2], NULL, 16); in do_frd() 182 fslnum = (unsigned int)simple_strtoul (argv[1], NULL, 16); in do_fwr() 183 num = (unsigned int)simple_strtoul (argv[2], NULL, 16); in do_fwr() 184 blocking = (unsigned int)simple_strtoul (argv[3], NULL, 16); in do_fwr() 336 reg = (unsigned int)simple_strtoul (argv[1], NULL, 16); in do_rspr() 337 val = (unsigned int)simple_strtoul (argv[2], NULL, 16); in do_rspr()
|
| H A D | zip.c | 18 dst_len = simple_strtoul(argv[4], NULL, 16); in do_zip() 21 src = simple_strtoul(argv[1], NULL, 16); in do_zip() 22 src_len = simple_strtoul(argv[2], NULL, 16); in do_zip() 23 dst = simple_strtoul(argv[3], NULL, 16); in do_zip()
|
| H A D | boot_android.c | 38 load_address = simple_strtoul(argv[4], &addr_arg_endp, 16); in do_boot_android() 44 load_address = simple_strtoul(addr_str, NULL, 16); in do_boot_android() 56 dev_desc = blk_get_dev(argv[1], simple_strtoul(argv[2], NULL, 16)); in do_boot_android() 135 slot_number = simple_strtoul(argv[1], NULL, 16); in do_avb_ab_mark_slot_active() 163 slot_number = simple_strtoul(argv[1], NULL, 16); in do_avb_ab_mark_slot_unbootable() 191 slot_number = simple_strtoul(argv[1], NULL, 16); in do_avb_ab_mark_slot_successful() 299 rollback_index_location = simple_strtoul(argv[1], NULL, 16); in do_avb_read_rollback_index() 323 rollback_index_location = simple_strtoul(argv[1], NULL, 16); in do_avb_write_rollback_index() 381 out_is_unlocked = simple_strtoul(argv[1], NULL, 16); in do_avb_write_is_device_unlocked() 480 offset_blk = simple_strtoul(argv[2], NULL, 16); in do_avb_read() [all …]
|
| H A D | fdt.c | 118 addr = simple_strtoul(argv[0], NULL, 16); in do_fdt() 133 len = simple_strtoul(argv[1], NULL, 16); in do_fdt() 173 working_fdt = (struct fdt_header *)simple_strtoul(argv[2], NULL, 16); in do_fdt() 177 newaddr = (struct fdt_header *)simple_strtoul(argv[3],NULL,16); in do_fdt() 186 len = simple_strtoul(argv[4], NULL, 16); in do_fdt() 351 reqIndex = simple_strtoul(argv[5], NULL, 16); in do_fdt() 523 unsigned long tmp = simple_strtoul(argv[2], NULL, 16); in do_fdt() 575 unsigned long idx = simple_strtoul(argv[3], NULL, 16); in do_fdt() 608 initrd_start = simple_strtoul(argv[2], NULL, 16); in do_fdt() 609 initrd_end = simple_strtoul(argv[3], NULL, 16); in do_fdt() [all …]
|
| H A D | aes.c | 47 key_addr = simple_strtoul(argv[2], NULL, 16); in do_aes() 48 src_addr = simple_strtoul(argv[3], NULL, 16); in do_aes() 49 dst_addr = simple_strtoul(argv[4], NULL, 16); in do_aes() 50 len = simple_strtoul(argv[5], NULL, 16); in do_aes()
|
| H A D | reiser.c | 93 addr = simple_strtoul (addr_str, NULL, 16); in do_reiserload() 101 addr = simple_strtoul (argv[3], NULL, 16); in do_reiserload() 106 addr = simple_strtoul (argv[3], NULL, 16); in do_reiserload() 111 addr = simple_strtoul (argv[3], NULL, 16); in do_reiserload() 113 count = simple_strtoul (argv[5], NULL, 16); in do_reiserload()
|
| H A D | blob.c | 71 src_addr = simple_strtoul(argv[2], NULL, 16); in do_blob() 72 dst_addr = simple_strtoul(argv[3], NULL, 16); in do_blob() 73 len = simple_strtoul(argv[4], NULL, 16); in do_blob() 74 key_addr = simple_strtoul(argv[5], NULL, 16); in do_blob()
|
| H A D | mmc_spi.c | 44 cs = simple_strtoul(argv[1], &endp, 0); in do_mmc_spi() 51 cs = simple_strtoul(endp + 1, &endp, 0); in do_mmc_spi() 56 speed = simple_strtoul(argv[2], &endp, 0); in do_mmc_spi() 61 mode = simple_strtoul(argv[3], &endp, 16); in do_mmc_spi()
|
| /OK3568_Linux_fs/u-boot/board/cavium/thunderx/ |
| H A D | atf.c | 238 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() 239 offset = simple_strtoul(argv[3], NULL, 10); in do_atf() 240 size = simple_strtoul(argv[4], NULL, 10); in do_atf() 244 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() 245 offset = simple_strtoul(argv[3], NULL, 10); in do_atf() 246 size = simple_strtoul(argv[4], NULL, 10); in do_atf() 250 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() 251 offset = simple_strtoul(argv[3], NULL, 10); in do_atf() 252 size = simple_strtoul(argv[4], NULL, 10); in do_atf() 256 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() [all …]
|
| /OK3568_Linux_fs/u-boot/board/compulab/common/ |
| H A D | omap3_display.c | 189 yres = simple_strtoul(&mode[i + 1], NULL, 0); in parse_mode() 204 xres = simple_strtoul(mode, NULL, 0); in parse_mode() 249 pixclock_val = simple_strtoul(pixclock, &pixclock, 10); in parse_pixclock() 281 num_val = simple_strtoul(setting + 5, &setting, 0); in parse_setting() 284 num_val = simple_strtoul(setting + 6, &setting, 0); in parse_setting() 287 num_val = simple_strtoul(setting + 6, &setting, 0); in parse_setting() 290 num_val = simple_strtoul(setting + 6, &setting, 0); in parse_setting() 293 num_val = simple_strtoul(setting + 9, &setting, 0); in parse_setting() 296 num_val = simple_strtoul(setting + 9, &setting, 0); in parse_setting() 299 if (simple_strtoul(setting + 6, &setting, 0) == 0) in parse_setting() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | uuid.c | 160 tmp32 = cpu_to_be32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin() 163 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin() 166 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin() 169 tmp32 = cpu_to_le32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin() 172 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin() 175 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin() 179 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
|
| H A D | strto.c | 33 unsigned long simple_strtoul(const char *cp, char **endp, in simple_strtoul() function 64 val = simple_strtoul(cp, &tail, base); in strict_strtoul() 80 return -simple_strtoul(cp + 1, endp, base); in simple_strtol() 82 return simple_strtoul(cp, endp, base); in simple_strtol() 87 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul() 159 return simple_strtoul(p + 1, NULL, 10); in trailing_strtoln()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ |
| H A D | ssv_cmd.c | 95 addr = simple_strtoul(argv[2], &endp, 16); in ssv_cmd_reg() 96 value = simple_strtoul(argv[3], &endp, 16); in ssv_cmd_reg() 103 count = (argc==3)? 1: simple_strtoul(argv[3], &endp, 10); in ssv_cmd_reg() 104 addr = simple_strtoul(argv[2], &endp, 16); in ssv_cmd_reg() 133 *(int *)val = simple_strtoul(val_str, &endp, base); 141 *(u8 *)val = !!simple_strtoul(u8str, &endp, 10); 151 *(u32 *)val = simple_strtoul(u8str, &endp, base); in __string2u32() 364 int ch=simple_strtoul(argv[3], &endp, 10); in ssv6xxx_dump_sta_info() 478 irq_sts = simple_strtoul(argv[3], &endp, 16); in ssv_cmd_irq() 594 i = simple_strtoul(argv[3], &endp, 10); in ssv_cmd_mac() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | ecc.c | 141 val = simple_strtoul(argv[2], NULL, 10); in do_ecc() 154 val = simple_strtoul(argv[2], NULL, 10); in do_ecc() 222 val = simple_strtoul(argv[2], NULL, 16); in do_ecc() 227 val = simple_strtoul(argv[2], NULL, 16); in do_ecc() 232 val = simple_strtoul(argv[2], NULL, 16); in do_ecc() 272 addr = (u64 *) simple_strtoul(argv[2], NULL, 16); in do_ecc() 273 count = simple_strtoul(argv[3], NULL, 16); in do_ecc() 311 addr = (u64 *) simple_strtoul(argv[2], NULL, 16); in do_ecc() 312 count = simple_strtoul(argv[3], NULL, 16); in do_ecc()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-keystone/ |
| H A D | cmd_clock.c | 46 cmd_pll_data.pll_m = simple_strtoul(argv[2], NULL, 10); in do_pll_cmd() 47 cmd_pll_data.pll_d = simple_strtoul(argv[3], NULL, 10); in do_pll_cmd() 48 cmd_pll_data.pll_od = simple_strtoul(argv[4], NULL, 10); in do_pll_cmd() 75 clk = simple_strtoul(argv[1], NULL, 10); in do_getclk_cmd() 104 psc_module = simple_strtoul(argv[1], NULL, 10); in do_psc_cmd()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | grvga.c | 279 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 283 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 287 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 291 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 295 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 299 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 303 screendata->lower_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 307 screendata->vsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 311 screendata->upper_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 315 screendata->bits_per_pixel = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/dfu/ |
| H A D | dfu_sf.c | 79 if (!s || !*s || (bus = simple_strtoul(s, &endp, 0), *endp)) { in parse_dev() 85 if (!s || !*s || (cs = simple_strtoul(s, &endp, 0), *endp)) { in parse_dev() 92 speed = simple_strtoul(s, &endp, 0); in parse_dev() 101 mode = simple_strtoul(s, &endp, 0); in parse_dev() 134 dfu->data.sf.start = simple_strtoul(s, &s, 16); in dfu_fill_entity_sf() 136 dfu->data.sf.size = simple_strtoul(s, &s, 16); in dfu_fill_entity_sf()
|