Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 25 of 41) sorted by relevance

12

/u-boot/lib/
A Dstrto.c47 if (endp) in simple_strtoul()
48 *endp = (char *)cp; in simple_strtoul()
97 (*endp)++; in ustrtoul()
98 if (**endp == 'i') in ustrtoul()
99 (*endp)++; in ustrtoul()
100 if (**endp == 'B') in ustrtoul()
101 (*endp)++; in ustrtoul()
118 (*endp)++; in ustrtoull()
120 (*endp)++; in ustrtoull()
122 (*endp)++; in ustrtoull()
[all …]
/u-boot/arch/x86/lib/
A Dacpi_nhlt.c64 endp->vendor_id = vid; in nhlt_add_endpoint()
65 endp->device_id = did; in nhlt_add_endpoint()
75 return endp; in nhlt_add_endpoint()
120 fmt = &endp->formats[endp->num_formats]; in nhlt_add_format()
230 sz += sizeof(endp->length) + sizeof(endp->link_type); in calc_endpoint_size()
231 sz += sizeof(endp->instance_id) + sizeof(endp->vendor_id); in calc_endpoint_size()
232 sz += sizeof(endp->device_id) + sizeof(endp->revision_id); in calc_endpoint_size()
233 sz += sizeof(endp->subsystem_id) + sizeof(endp->device_type); in calc_endpoint_size()
234 sz += sizeof(endp->direction) + sizeof(endp->virtual_bus_id); in calc_endpoint_size()
242 endp->length = sz; in calc_endpoint_size()
[all …]
/u-boot/cmd/
A Dbootstage.c21 char *endp; in get_base_size() local
27 *basep = simple_strtoul(argv[1], &endp, 16); in get_base_size()
28 if (*argv[1] == 0 || *endp != 0) in get_base_size()
32 *sizep = simple_strtoul(argv[2], &endp, 16); in get_base_size()
33 if (*argv[2] == 0 || *endp != 0) in get_base_size()
A Dsf.c93 char *endp; in do_spi_flash_probe() local
103 if (*argv[1] == 0 || (*endp != 0 && *endp != ':')) in do_spi_flash_probe()
105 if (*endp == ':') { in do_spi_flash_probe()
106 if (endp[1] == 0) in do_spi_flash_probe()
110 cs = simple_strtoul(endp + 1, &endp, 0); in do_spi_flash_probe()
111 if (*endp != 0) in do_spi_flash_probe()
118 if (*argv[2] == 0 || *endp != 0) in do_spi_flash_probe()
123 if (*argv[3] == 0 || *endp != 0) in do_spi_flash_probe()
267 char *endp; in do_spi_flash_read_write() local
276 if (*argv[1] == 0 || *endp != 0) in do_spi_flash_read_write()
[all …]
A Dubifs.c112 char *endp; in do_ubifs_load() local
125 addr = simple_strtoul(argv[1], &endp, 16); in do_ubifs_load()
126 if (endp == argv[1]) in do_ubifs_load()
132 size = simple_strtoul(argv[3], &endp, 16); in do_ubifs_load()
133 if (endp == argv[3]) in do_ubifs_load()
A Dabootimg.c101 char *endp; in abootimg_get_dtb_by_index() local
114 num = simple_strtoul(index_str, &endp, 0); in abootimg_get_dtb_by_index()
115 if (*endp != '\0') { in abootimg_get_dtb_by_index()
158 char *endp; in do_abootimg_addr() local
164 img_addr = simple_strtoul(argv[1], &endp, 16); in do_abootimg_addr()
165 if (*endp != '\0') { in do_abootimg_addr()
A Dadtimg.c24 char *endp; in do_adtimg_addr() local
30 hdr_addr = simple_strtoul(argv[1], &endp, 16); in do_adtimg_addr()
31 if (*endp != '\0') { in do_adtimg_addr()
76 char *endp, *str; in adtimg_getopt_u32() local
93 val = simple_strtoul(str, &endp, 0); in adtimg_getopt_u32()
94 if (*endp != '\0') { in adtimg_getopt_u32()
A Dcros_ec.c59 char *endp; in do_read_write() local
68 addr = simple_strtoul(argv[3], &endp, 16); in do_read_write()
69 if (*argv[3] == 0 || *endp != 0) in do_read_write()
72 size = simple_strtoul(argv[4], &endp, 16); in do_read_write()
73 if (*argv[4] == 0 || *endp != 0) in do_read_write()
500 char *endp; in do_cros_ec() local
504 index = simple_strtoul(argv[2], &endp, 10); in do_cros_ec()
505 if (*argv[2] == 0 || *endp != 0) in do_cros_ec()
508 state = simple_strtoul(argv[3], &endp, 10); in do_cros_ec()
509 if (*argv[3] == 0 || *endp != 0) in do_cros_ec()
A Dfastboot.c43 char *endp; in do_fastboot_usb() local
50 controller_index = simple_strtoul(usb_controller, &endp, 0); in do_fastboot_usb()
51 if (*endp != '\0') { in do_fastboot_usb()
A Defidebug.c46 char *endp; in do_efi_capsule_update() local
62 if (endp == argv[1]) { in do_efi_capsule_update()
112 char *endp; in do_efi_capsule_show() local
118 if (endp == argv[1]) { in do_efi_capsule_show()
151 char *endp; in do_efi_capsule_res() local
819 char *endp; in do_efi_boot_add() local
836 if (*endp != '\0' || id > 0xffff) in do_efi_boot_add()
919 char *endp; in do_efi_boot_rm() local
1234 char *endp; in do_efi_boot_next() local
1243 if (*endp) { in do_efi_boot_next()
[all …]
A Dbcb.c120 char *endp; in __bcb_load() local
129 part = simple_strtoul(partp, &endp, 0); in __bcb_load()
130 if (*endp == '\0') { in __bcb_load()
172 char *endp; in do_bcb_load() local
173 int devnum = simple_strtoul(argv[1], &endp, 0); in do_bcb_load()
175 if (*endp != '\0') { in do_bcb_load()
A Doptee_rpmb.c192 char *endp; in do_optee_rpmb_read() local
198 bytes = simple_strtoul(argv[2], &endp, 10); in do_optee_rpmb_read()
199 if (*endp && *endp != '\n') in do_optee_rpmb_read()
A Dpart.c122 char *endp; in do_part_info() local
136 part = simple_strtoul(argv[2], &endp, 0); in do_part_info()
137 if (*endp == '\0') { in do_part_info()
A Dbootm.c113 char *endp; in do_bootm() local
115 simple_strtoul(argv[0], &endp, 16); in do_bootm()
124 if ((*endp != 0) && (*endp != ':') && (*endp != '#')) in do_bootm()
/u-boot/board/xilinx/zynq/
A Dcmds.c420 char *endp; in do_zynq_rsa() local
425 src_ptr = simple_strtoul(argv[2], &endp, 16); in do_zynq_rsa()
426 if (*argv[2] == 0 || *endp != 0) in do_zynq_rsa()
440 char *endp; in zynq_decrypt_image() local
457 if (*argv[3] == 0 || *endp != 0) in zynq_decrypt_image()
459 srclen = simple_strtoul(argv[4], &endp, 16); in zynq_decrypt_image()
460 if (*argv[4] == 0 || *endp != 0) in zynq_decrypt_image()
467 if (*argv[2] == 0 || *endp != 0) in zynq_decrypt_image()
470 if (*argv[3] == 0 || *endp != 0) in zynq_decrypt_image()
473 if (*argv[4] == 0 || *endp != 0) in zynq_decrypt_image()
[all …]
/u-boot/include/
A Dexports.h44 unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base);
48 long simple_strtol(const char *cp, char **endp, unsigned int base);
50 unsigned long ustrtoul(const char *cp, char **endp, unsigned int base);
51 unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base);
A Dvsprintf.h13 ulong simple_strtoul(const char *cp, char **endp, unsigned int base);
41 unsigned long long simple_strtoull(const char *cp, char **endp,
43 long simple_strtol(const char *cp, char **endp, unsigned int base);
/u-boot/drivers/dfu/
A Ddfu_sf.c99 char *s, *endp; in parse_dev() local
103 if (!s || !*s || (bus = simple_strtoul(s, &endp, 0), *endp)) { in parse_dev()
109 if (!s || !*s || (cs = simple_strtoul(s, &endp, 0), *endp)) { in parse_dev()
116 speed = simple_strtoul(s, &endp, 0); in parse_dev()
117 if (*endp || !speed) { in parse_dev()
125 mode = simple_strtoul(s, &endp, 0); in parse_dev()
126 if (*endp || mode > 3) { in parse_dev()
/u-boot/board/keymile/common/
A Dcommon.c258 char *endp; in do_checkboardidhwk() local
276 bid = simple_strtoul(rest, &endp, 16); in do_checkboardidhwk()
278 if (*endp == '_') { in do_checkboardidhwk()
279 rest = endp + 1; in do_checkboardidhwk()
284 hwkey = simple_strtoul(rest, &endp, 16); in do_checkboardidhwk()
285 rest = endp; in do_checkboardidhwk()
/u-boot/board/xilinx/common/
A Dfru.c17 char *endp; in do_fru_capture() local
22 addr = simple_strtoul(argv[2], &endp, 16); in do_fru_capture()
23 if (*argv[1] == 0 || *endp != 0) in do_fru_capture()
/u-boot/include/linux/
A Dlibfdt_env.h30 #define strtoul(cp, endp, base) simple_strtoul(cp, endp, base) argument
A Dstring.h129 unsigned long ustrtoul(const char *cp, char **endp, unsigned int base);
130 unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base);
/u-boot/test/
A Dstr_ut.c64 char *endp; in run_strtoul() local
71 val = simple_strtoul(out, &endp, base); in run_strtoul()
73 ut_asserteq(expect_endp_offset, endp - out); in run_strtoul()
/u-boot/board/ti/ks2_evm/
A Dboard.c101 char *endp; in ft_board_setup() local
136 start[0] += ustrtoul(env, &endp, 0); in ft_board_setup()
137 size[0] -= ustrtoul(env, &endp, 0); in ft_board_setup()
142 size[0] -= ustrtoul(env, &endp, 0); in ft_board_setup()
/u-boot/board/kontron/sl28/
A Dcmds.c135 char *endp; in do_sl28_nvm() local
141 nvm = simple_strtoul(argv[1], &endp, 16); in do_sl28_nvm()
142 if (*endp != '\0') { in do_sl28_nvm()

Completed in 1141 milliseconds

12