/external/u-boot/cmd/ |
D | tpm-v1.c | 41 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_nv_define_space() 42 perm = simple_strtoul(argv[2], NULL, 0); in do_tpm_nv_define_space() 43 size = simple_strtoul(argv[3], NULL, 0); in do_tpm_nv_define_space() 56 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_nv_read_value() 57 data = (void *)simple_strtoul(argv[2], NULL, 0); in do_tpm_nv_read_value() 58 count = simple_strtoul(argv[3], NULL, 0); in do_tpm_nv_read_value() 78 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_nv_write_value() 99 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_extend() 122 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_pcr_read() 123 data = (void *)simple_strtoul(argv[2], NULL, 0); in do_tpm_pcr_read() [all …]
|
D | mmc.c | 152 key_addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmcrpmb_key() 173 addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmcrpmb_read() 174 blk = simple_strtoul(argv[2], NULL, 16); in do_mmcrpmb_read() 175 cnt = simple_strtoul(argv[3], NULL, 16); in do_mmcrpmb_read() 178 key_addr = (void *)simple_strtoul(argv[4], NULL, 16); in do_mmcrpmb_read() 201 addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmcrpmb_write() 202 blk = simple_strtoul(argv[2], NULL, 16); in do_mmcrpmb_write() 203 cnt = simple_strtoul(argv[3], NULL, 16); in do_mmcrpmb_write() 204 key_addr = (void *)simple_strtoul(argv[4], NULL, 16); in do_mmcrpmb_write() 294 addr = (void *)simple_strtoul(argv[1], NULL, 16); in do_mmc_read() [all …]
|
D | smccc.c | 30 fid = simple_strtoul(argv[1], NULL, 16); in do_call() 32 a1 = argc > 2 ? simple_strtoul(argv[2], NULL, 16) : 0; in do_call() 33 a2 = argc > 3 ? simple_strtoul(argv[3], NULL, 16) : 0; in do_call() 34 a3 = argc > 4 ? simple_strtoul(argv[4], NULL, 16) : 0; in do_call() 35 a4 = argc > 5 ? simple_strtoul(argv[5], NULL, 16) : 0; in do_call() 36 a5 = argc > 6 ? simple_strtoul(argv[6], NULL, 16) : 0; in do_call() 37 a6 = argc > 7 ? simple_strtoul(argv[7], NULL, 16) : 0; in do_call() 38 a7 = argc > 8 ? simple_strtoul(argv[8], NULL, 16) : 0; in do_call()
|
D | blk_common.c | 42 int dev = (int)simple_strtoul(argv[2], NULL, 10); in blk_common_cmd() 52 int dev = (int)simple_strtoul(argv[2], NULL, 10); in blk_common_cmd() 65 ulong addr = simple_strtoul(argv[2], NULL, 16); in blk_common_cmd() 66 lbaint_t blk = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd() 67 ulong cnt = simple_strtoul(argv[4], NULL, 16); in blk_common_cmd() 80 ulong addr = simple_strtoul(argv[2], NULL, 16); in blk_common_cmd() 81 lbaint_t blk = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd() 82 ulong cnt = simple_strtoul(argv[4], NULL, 16); in blk_common_cmd()
|
D | avb.c | 29 mmc_dev = simple_strtoul(argv[1], NULL, 16); in do_avb_init() 57 offset = simple_strtoul(argv[2], NULL, 16); in do_avb_read_part() 58 bytes = simple_strtoul(argv[3], NULL, 16); in do_avb_read_part() 59 buffer = (void *)simple_strtoul(argv[4], NULL, 16); in do_avb_read_part() 88 offset = simple_strtoul(argv[2], NULL, 16); in do_avb_read_part_hex() 89 bytes = simple_strtoul(argv[3], NULL, 16); in do_avb_read_part_hex() 131 offset = simple_strtoul(argv[2], NULL, 16); in do_avb_write_part() 132 bytes = simple_strtoul(argv[3], NULL, 16); in do_avb_write_part() 133 buffer = (void *)simple_strtoul(argv[4], NULL, 16); in do_avb_write_part() 157 index = (size_t)simple_strtoul(argv[1], NULL, 16); in do_avb_read_rb() [all …]
|
D | unzip.c | 17 dst_len = simple_strtoul(argv[3], NULL, 16); in do_unzip() 20 src = simple_strtoul(argv[1], NULL, 16); in do_unzip() 21 dst = simple_strtoul(argv[2], NULL, 16); in do_unzip() 59 addr = (unsigned char *)simple_strtoul(argv[3], NULL, 16); in do_gzwrite() 60 length = simple_strtoul(argv[4], NULL, 16); in do_gzwrite() 63 writebuf = simple_strtoul(argv[5], NULL, 16); in do_gzwrite()
|
D | i2c.c | 308 chip = simple_strtoul(argv[1], NULL, 16); in do_i2c_read() 314 devaddr = simple_strtoul(argv[2], NULL, 16); in do_i2c_read() 322 length = simple_strtoul(argv[3], NULL, 16); in do_i2c_read() 327 memaddr = (u_char *)simple_strtoul(argv[4], NULL, 16); in do_i2c_read() 362 memaddr = (u_char *)simple_strtoul(argv[1], NULL, 16); in do_i2c_write() 367 chip = simple_strtoul(argv[2], NULL, 16); in do_i2c_write() 373 devaddr = simple_strtoul(argv[3], NULL, 16); in do_i2c_write() 381 length = simple_strtoul(argv[4], NULL, 16); in do_i2c_write() 446 chip = simple_strtoul(argv[1], NULL, 16); in do_i2c_flags() 452 flags = simple_strtoul(argv[2], NULL, 16); in do_i2c_flags() [all …]
|
D | mem.c | 75 addr = simple_strtoul(argv[1], NULL, 16); in do_mem_md() 82 length = simple_strtoul(argv[2], NULL, 16); in do_mem_md() 130 addr = simple_strtoul(argv[1], NULL, 16); in do_mem_mw() 138 writeval = simple_strtoul(argv[2], NULL, 16); in do_mem_mw() 143 count = simple_strtoul(argv[3], NULL, 16); in do_mem_mw() 177 count = simple_strtoul(argv[3], NULL, 10); in do_mem_mdc() 204 count = simple_strtoul(argv[3], NULL, 10); in do_mem_mwc() 248 addr1 = simple_strtoul(argv[1], NULL, 16); in do_mem_cmp() 251 addr2 = simple_strtoul(argv[2], NULL, 16); in do_mem_cmp() 254 count = simple_strtoul(argv[3], NULL, 16); in do_mem_cmp() [all …]
|
D | md5sum.c | 26 ptr = (u8 *)simple_strtoul(dest + 1, NULL, 16); in store_result() 47 ptr = (u8 *)simple_strtoul(verify_str + 1, NULL, 16); in parse_verify_sum() 67 simple_strtoul(vsum_str + (i * 2), NULL, 16); in parse_verify_sum() 98 addr = simple_strtoul(*av++, NULL, 16); in do_md5sum() 99 len = simple_strtoul(*av++, NULL, 16); in do_md5sum() 147 addr = simple_strtoul(argv[1], NULL, 16); in do_md5sum() 148 len = simple_strtoul(argv[2], NULL, 16); in do_md5sum()
|
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()
|
D | aes.c | 44 key_addr = simple_strtoul(argv[2], NULL, 16); in do_aes() 45 iv_addr = simple_strtoul(argv[3], NULL, 16); in do_aes() 46 src_addr = simple_strtoul(argv[4], NULL, 16); in do_aes() 47 dst_addr = simple_strtoul(argv[5], NULL, 16); in do_aes() 48 len = simple_strtoul(argv[6], NULL, 16); in do_aes()
|
D | mfsl.c | 26 fslnum = (unsigned int)simple_strtoul (argv[1], NULL, 16); in do_frd() 27 blocking = (unsigned int)simple_strtoul (argv[2], NULL, 16); in do_frd() 181 fslnum = (unsigned int)simple_strtoul (argv[1], NULL, 16); in do_fwr() 182 num = (unsigned int)simple_strtoul (argv[2], NULL, 16); in do_fwr() 183 blocking = (unsigned int)simple_strtoul (argv[3], NULL, 16); in do_fwr() 335 reg = (unsigned int)simple_strtoul (argv[1], NULL, 16); in do_rspr() 336 val = (unsigned int)simple_strtoul (argv[2], NULL, 16); in do_rspr()
|
D | tpm-v2.c | 83 u32 index = simple_strtoul(argv[1], NULL, 0); in do_tpm2_pcr_extend() 84 void *digest = map_sysmem(simple_strtoul(argv[2], NULL, 0), 0); in do_tpm2_pcr_extend() 130 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_pcr_read() 134 data = map_sysmem(simple_strtoul(argv[2], NULL, 0), 0); in do_tpm_pcr_read() 158 capability = simple_strtoul(argv[1], NULL, 0); in do_tpm_get_capability() 159 property = simple_strtoul(argv[2], NULL, 0); in do_tpm_get_capability() 160 data = map_sysmem(simple_strtoul(argv[3], NULL, 0), 0); in do_tpm_get_capability() 161 count = simple_strtoul(argv[4], NULL, 0); in do_tpm_get_capability() 270 u32 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_pcr_setauthpolicy() 288 u32 index = simple_strtoul(argv[1], NULL, 0); in do_tpm_pcr_setauthvalue()
|
D | zip.c | 17 dst_len = simple_strtoul(argv[4], NULL, 16); in do_zip() 20 src = simple_strtoul(argv[1], NULL, 16); in do_zip() 21 src_len = simple_strtoul(argv[2], NULL, 16); in do_zip() 22 dst = simple_strtoul(argv[3], NULL, 16); in do_zip()
|
D | fdt.c | 117 addr = simple_strtoul(argv[0], NULL, 16); in do_fdt() 132 len = simple_strtoul(argv[1], NULL, 16); in do_fdt() 174 working_fdt = (struct fdt_header *)simple_strtoul(argv[2], NULL, 16); in do_fdt() 178 newaddr = (struct fdt_header *)simple_strtoul(argv[3],NULL,16); in do_fdt() 187 len = simple_strtoul(argv[4], NULL, 16); in do_fdt() 352 reqIndex = simple_strtoul(argv[5], NULL, 16); in do_fdt() 524 unsigned long tmp = simple_strtoul(argv[2], NULL, 16); in do_fdt() 576 unsigned long idx = simple_strtoul(argv[3], NULL, 16); in do_fdt() 609 initrd_start = simple_strtoul(argv[2], NULL, 16); in do_fdt() 610 initrd_end = simple_strtoul(argv[3], NULL, 16); in do_fdt() [all …]
|
D | fpga.c | 65 dev = (int) simple_strtoul(devstr, NULL, 16); in do_fpga() 67 fpga_data = (void *)simple_strtoul(datastr, NULL, 16); in do_fpga() 82 simple_strtoul(argv[5], NULL, 16); in do_fpga() 97 fpga_sec_info.encflag = (u8)simple_strtoul(argv[6], NULL, 16); in do_fpga() 98 fpga_sec_info.authflag = (u8)simple_strtoul(argv[5], NULL, 16); in do_fpga() 108 data_size = simple_strtoul(argv[4], NULL, 16); in do_fpga() 121 fpga_data = (void *)simple_strtoul(argv[3], NULL, 16); in do_fpga() 128 dev = (int)simple_strtoul(argv[2], NULL, 16); in do_fpga()
|
D | blob.c | 68 src_addr = simple_strtoul(argv[2], NULL, 16); in do_blob() 69 dst_addr = simple_strtoul(argv[3], NULL, 16); in do_blob() 70 len = simple_strtoul(argv[4], NULL, 16); in do_blob() 71 key_addr = simple_strtoul(argv[5], NULL, 16); in do_blob()
|
/external/u-boot/board/cavium/thunderx/ |
D | atf.c | 235 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() 236 offset = simple_strtoul(argv[3], NULL, 10); in do_atf() 237 size = simple_strtoul(argv[4], NULL, 10); in do_atf() 241 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() 242 offset = simple_strtoul(argv[3], NULL, 10); in do_atf() 243 size = simple_strtoul(argv[4], NULL, 10); in do_atf() 247 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() 248 offset = simple_strtoul(argv[3], NULL, 10); in do_atf() 249 size = simple_strtoul(argv[4], NULL, 10); in do_atf() 253 buffer = (void *)simple_strtoul(argv[2], NULL, 16); in do_atf() [all …]
|
/external/u-boot/board/compulab/common/ |
D | omap3_display.c | 186 yres = simple_strtoul(&mode[i + 1], NULL, 0); in parse_mode() 201 xres = simple_strtoul(mode, NULL, 0); in parse_mode() 246 pixclock_val = simple_strtoul(pixclock, &pixclock, 10); in parse_pixclock() 278 num_val = simple_strtoul(setting + 5, &setting, 0); in parse_setting() 281 num_val = simple_strtoul(setting + 6, &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 + 9, &setting, 0); in parse_setting() 293 num_val = simple_strtoul(setting + 9, &setting, 0); in parse_setting() 296 if (simple_strtoul(setting + 6, &setting, 0) == 0) in parse_setting() [all …]
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_cmd.c | 31 num = simple_strtoul(argv[6], NULL, 0); in pfe_command_pe() 39 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe() 40 addr = simple_strtoul(argv[5], NULL, 16); in pfe_command_pe() 65 num = simple_strtoul(argv[6], NULL, 0); in pfe_command_pe() 73 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe() 74 addr = simple_strtoul(argv[5], NULL, 16); in pfe_command_pe() 97 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe() 98 val = simple_strtoul(argv[5], NULL, 16); in pfe_command_pe() 100 addr = simple_strtoul(argv[6], NULL, 16); in pfe_command_pe() 114 num = simple_strtoul(argv[5], NULL, 0); in pfe_command_pe() [all …]
|
/external/u-boot/lib/ |
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()
|
D | uuid.c | 159 tmp32 = cpu_to_be32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin() 162 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin() 165 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin() 168 tmp32 = cpu_to_le32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin() 171 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin() 174 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin() 178 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
|
/external/u-boot/arch/powerpc/cpu/mpc83xx/ |
D | ecc.c | 140 val = simple_strtoul(argv[2], NULL, 10); in do_ecc() 153 val = simple_strtoul(argv[2], NULL, 10); in do_ecc() 221 val = simple_strtoul(argv[2], NULL, 16); in do_ecc() 226 val = simple_strtoul(argv[2], NULL, 16); in do_ecc() 231 val = simple_strtoul(argv[2], NULL, 16); in do_ecc() 271 addr = (u64 *) simple_strtoul(argv[2], NULL, 16); in do_ecc() 272 count = simple_strtoul(argv[3], NULL, 16); in do_ecc() 310 addr = (u64 *) simple_strtoul(argv[2], NULL, 16); in do_ecc() 311 count = simple_strtoul(argv[3], NULL, 16); in do_ecc()
|
/external/u-boot/arch/arm/mach-keystone/ |
D | cmd_clock.c | 45 cmd_pll_data.pll_m = simple_strtoul(argv[2], NULL, 10); in do_pll_cmd() 46 cmd_pll_data.pll_d = simple_strtoul(argv[3], NULL, 10); in do_pll_cmd() 47 cmd_pll_data.pll_od = simple_strtoul(argv[4], NULL, 10); in do_pll_cmd() 74 clk = simple_strtoul(argv[1], NULL, 10); in do_getclk_cmd() 103 psc_module = simple_strtoul(argv[1], NULL, 10); in do_psc_cmd()
|
/external/u-boot/drivers/dfu/ |
D | dfu_sf.c | 78 if (!s || !*s || (bus = simple_strtoul(s, &endp, 0), *endp)) { in parse_dev() 84 if (!s || !*s || (cs = simple_strtoul(s, &endp, 0), *endp)) { in parse_dev() 91 speed = simple_strtoul(s, &endp, 0); in parse_dev() 100 mode = simple_strtoul(s, &endp, 0); in parse_dev() 133 dfu->data.sf.start = simple_strtoul(s, &s, 16); in dfu_fill_entity_sf() 135 dfu->data.sf.size = simple_strtoul(s, &s, 16); in dfu_fill_entity_sf()
|