Home
last modified time | relevance | path

Searched refs:simple_strtol (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/u-boot/cmd/
H A Dtest.c116 expr = simple_strtol(ap[0], NULL, 10) == in do_test()
117 simple_strtol(ap[2], NULL, 10); in do_test()
120 expr = simple_strtol(ap[0], NULL, 10) != in do_test()
121 simple_strtol(ap[2], NULL, 10); in do_test()
124 expr = simple_strtol(ap[0], NULL, 10) < in do_test()
125 simple_strtol(ap[2], NULL, 10); in do_test()
128 expr = simple_strtol(ap[0], NULL, 10) <= in do_test()
129 simple_strtol(ap[2], NULL, 10); in do_test()
132 expr = simple_strtol(ap[0], NULL, 10) > in do_test()
133 simple_strtol(ap[2], NULL, 10); in do_test()
[all …]
H A Dyaffs2.c49 cmd_yaffs_tracemask(1, simple_strtol(argv[1], NULL, 16)); in do_ytrace()
79 mtd_dev = simple_strtol(argv[2], NULL, 16); in do_ydevconfig()
80 start_block = simple_strtol(argv[3], NULL, 16); in do_ydevconfig()
81 end_block = simple_strtol(argv[4], NULL, 16); in do_ydevconfig()
H A Dwol.c22 wol_set_timeout(simple_strtol(argv[1], NULL, 10) * 1000); in do_wol()
H A Dfpga.c23 dev = simple_strtol(devstr, NULL, 16); in do_fpga_get_device()
26 dev = simple_strtol(arg, NULL, 16); in do_fpga_get_device()
48 local_fpga_data = simple_strtol(argv[1], NULL, 16); in do_fpga_check_params()
H A Dmdio.c28 *plo = simple_strtol(input, &end, 16); in extract_range()
33 *phi = simple_strtol(end, NULL, 16); in extract_range()
H A Dlog.c18 gd->default_log_level = simple_strtol(argv[1], NULL, 10); in do_log_level()
H A Dfat.c131 offset = (argc <= 6) ? 0 : simple_strtol(argv[6], NULL, 16); in do_fat_fswrite()
H A Dadc.c81 ret = adc_channel_single_shot(argv[1], simple_strtol(argv[2], NULL, 0), in do_adc_single()
H A Dbootmenu.c269 menu->active = (int)simple_strtol(default_str, NULL, 10); in bootmenu_create()
499 delay = (int)simple_strtol(delay_str, NULL, 10); in do_bootmenu()
/openbmc/u-boot/common/
H A Dsplash.c71 *x = simple_strtol(s, NULL, 0); in splash_get_pos()
78 *y = simple_strtol(s + 1, NULL, 0); in splash_get_pos()
H A Dbootretry.c28 retry_time = (int)simple_strtol(s, NULL, 10); in bootretry_init_cmd_timeout()
H A Dautoboot.c298 bootdelay = s ? (int)simple_strtol(s, NULL, 10) : CONFIG_BOOTDELAY; in bootdelay_process()
/openbmc/u-boot/board/ti/ks2_evm/
H A Dboard.c116 lpae = env && simple_strtol(env, NULL, 0); in ft_board_setup()
166 lpae = env && simple_strtol(env, NULL, 0); in ft_board_setup_ex()
168 unitrd_fixup = env && simple_strtol(env, NULL, 0); in ft_board_setup_ex()
/openbmc/u-boot/include/
H A D_exports.h40 EXPORT_FUNC(simple_strtol, long, simple_strtol,
H A Dvsprintf.h43 long simple_strtol(const char *cp, char **endp, unsigned int base);
H A Dexports.h31 long simple_strtol(const char *cp, char **endp, unsigned int base);
/openbmc/u-boot/board/compulab/common/
H A Deeprom.c239 int num = simple_strtol(tok, &endptr, 0); in eeprom_field_update_bin_ver()
247 int remainder = simple_strtol(tok, &endptr, 0); in eeprom_field_update_bin_ver()
357 unsigned char day = (unsigned char)simple_strtol(tok1, &endptr, 0); in eeprom_field_update_date()
368 unsigned int year = simple_strtol(tok3, &endptr, 0); in eeprom_field_update_date()
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmactest.c1114 p_eng->arg.user_def_val = simple_strtol(argv[9], NULL, 16); in parse_arg_dedicated()
1116 p_eng->arg.delay_scan_range = simple_strtol(argv[8], NULL, 10); in parse_arg_dedicated()
1119 p_eng->arg.phy_addr = simple_strtol(argv[7], NULL, 10); in parse_arg_dedicated()
1121 p_eng->arg.test_mode = simple_strtol(argv[6], NULL, 16); in parse_arg_dedicated()
1124 p_eng->arg.loop_max = simple_strtol(argv[5], NULL, 10); in parse_arg_dedicated()
1130 p_eng->arg.ctrl.w = simple_strtol(argv[4], NULL, 16); in parse_arg_dedicated()
1133 p_eng->arg.run_speed = simple_strtol(argv[3], NULL, 16); in parse_arg_dedicated()
1136 p_eng->arg.mdio_idx = simple_strtol(argv[2], NULL, 10); in parse_arg_dedicated()
1147 p_eng->arg.GARPNumCnt = simple_strtol(argv[7], NULL, 10); in parse_arg_ncsi()
1149 p_eng->arg.ctrl.w = simple_strtol(argv[6], NULL, 16); in parse_arg_ncsi()
[all …]
/openbmc/u-boot/net/
H A Dtftp.c633 tftp_block_size_option = simple_strtol(ep, NULL, 10); in tftp_start()
637 timeout_ms = simple_strtol(ep, NULL, 10); in tftp_start()
647 tftp_timeout_count_max = simple_strtol(ep, NULL, 10); in tftp_start()
747 tftp_remote_port = simple_strtol(ep, NULL, 10); in tftp_start()
750 tftp_our_port = simple_strtol(ep, NULL, 10); in tftp_start()
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dkeystone.c51 ks2_debug = simple_strtol(env, NULL, 0); in misc_init_r()
/openbmc/u-boot/board/work-microwave/work_92105/
H A Dwork_92105_display.c328 hd44780_instruction(simple_strtol(argv[2], NULL, 0)); in do_hd44780()
330 hd44780_write_char(simple_strtol(argv[2], NULL, 0)); in do_hd44780()
/openbmc/u-boot/arch/sh/lib/
H A Dbootm.c47 val = simple_strtol(p, NULL, base); in sh_check_cmd_arg()
/openbmc/u-boot/lib/
H A Dstrto.c77 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() function
/openbmc/u-boot/board/gateworks/gw_ventana/
H A Deeprom.c234 if (simple_strtol(argv[2], NULL, 10)) { in do_econfig()
/openbmc/u-boot/arch/sandbox/cpu/
H A Dstart.c280 state->default_log_level = simple_strtol(arg, NULL, 10); in sandbox_cmdline_cb_log_level()

12