Home
last modified time | relevance | path

Searched refs:strtoul (Results 1 – 25 of 64) sorted by relevance

123

/Zephyr-latest/drivers/pwm/
Dpwm_shell.c47 channel = strtoul(argv[args_indx.channel], NULL, 0); in cmd_cycles()
48 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_cycles()
49 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_cycles()
52 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_cycles()
80 channel = strtoul(argv[args_indx.channel], NULL, 0); in cmd_usec()
81 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_usec()
82 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_usec()
85 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_usec()
112 channel = strtoul(argv[args_indx.channel], NULL, 0); in cmd_nsec()
113 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_nsec()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/shell/
Dll.c67 chan = strtoul(argv[1], NULL, 16); in cmd_test_tx()
68 len = strtoul(argv[2], NULL, 16); in cmd_test_tx()
69 type = strtoul(argv[3], NULL, 16); in cmd_test_tx()
70 phy = strtoul(argv[4], NULL, 16); in cmd_test_tx()
93 chan = strtoul(argv[1], NULL, 16); in cmd_test_rx()
94 phy = strtoul(argv[2], NULL, 16); in cmd_test_rx()
95 mod_idx = strtoul(argv[3], NULL, 16); in cmd_test_rx()
194 handle = strtoul(argv[2], NULL, 16); in cmd_advx()
209 handle = strtoul(argv[3], NULL, 16); in cmd_advx()
222 handle = strtoul(argv[4], NULL, 16); in cmd_advx()
[all …]
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_shell.c76 c_token = strtoul(argv[2], &endptr, 16); in cmd_unreg()
112 c_token = strtoul(argv[2], &endptr, 16); in cmd_open()
123 mseconds = strtoul(argv[3], &endptr, 10); in cmd_open()
164 c_token = strtoul(argv[2], &endptr, 16); in cmd_close()
220 c_token = strtoul(argv[2], &endptr, 16); in cmd_send()
231 request.a0 = strtoul(argv[3], &endptr, 16); in cmd_send()
241 request.a1 = strtoul(argv[4], &endptr, 16); in cmd_send()
252 request.a2 = strtoul(argv[5], &endptr, 16); in cmd_send()
263 request.a3 = strtoul(argv[6], &endptr, 16); in cmd_send()
274 request.a4 = strtoul(argv[7], &endptr, 16); in cmd_send()
[all …]
Dsip_svc_agilex_mailbox_shell.c91 mseconds = strtoul(argv[1], &endptr, 10); in cmd_open()
231 hex_val = strtoul(hex_str, &endptr, 16); in parse_mb_data()
277 msecond = strtoul(argv[2], &endptr, 10); in cmd_send()
/Zephyr-latest/drivers/dac/
Ddac_shell.c45 cfg.channel_id = strtoul(argv[args_indx.channel], NULL, 0); in cmd_setup()
46 cfg.resolution = strtoul(argv[args_indx.resolution], NULL, 0); in cmd_setup()
85 channel = strtoul(argv[args_indx.channel], NULL, 0); in cmd_write_value()
86 value = strtoul(argv[args_indx.value], NULL, 0); in cmd_write_value()
/Zephyr-latest/lib/crc/
Dcrc_shell.c95 poly = (size_t)strtoul(optarg, NULL, 16); in cmd_crc()
105 seed = (size_t)strtoul(optarg, NULL, 16); in cmd_crc()
131 addr = (void *)strtoul(argv[optind], NULL, 16); in cmd_crc()
137 size = (size_t)strtoul(argv[optind + 1], NULL, 0); in cmd_crc()
/Zephyr-latest/drivers/eeprom/
Deeprom_shell.c42 addr = strtoul(argv[args_indx.offset], NULL, 0); in cmd_read()
43 len = strtoul(argv[args_indx.length], NULL, 0); in cmd_read()
83 offset = strtoul(argv[args_indx.offset], NULL, 0); in cmd_write()
93 byte = strtoul(argv[args_indx.data + i], NULL, 0); in cmd_write()
160 initial_offset = strtoul(argv[args_indx.offset], NULL, 0); in cmd_fill()
161 len = strtoul(argv[args_indx.length], NULL, 0); in cmd_fill()
163 pattern = strtoul(argv[args_indx.pattern], NULL, 0); in cmd_fill()
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dbroadcaster.c149 rtn = strtoul(buffer, NULL, 0); in parse_rtn_arg()
172 interval = strtoul(buffer, NULL, 0); in parse_interval_arg()
195 latency = strtoul(buffer, NULL, 0); in parse_latency_arg()
219 phy = strtoul(buffer, NULL, 0); in parse_phy_arg()
244 sdu = strtoul(buffer, NULL, 0); in parse_sdu_arg()
268 irc = strtoul(buffer, NULL, 0); in parse_irc_arg()
292 pto = strtoul(buffer, NULL, 0); in parse_pto_arg()
316 iso_interval = strtoul(buffer, NULL, 0); in parse_iso_interval_arg()
340 num_subevents = strtoul(buffer, NULL, 0); in parse_nse_arg()
364 max_pdu = strtoul(buffer, NULL, 0); in parse_max_pdu_arg()
[all …]
/Zephyr-latest/subsys/bluetooth/host/shell/
Dgatt.c247 uuid.val = strtoul(argv[1], NULL, 16); in cmd_discover()
254 discover_params.start_handle = strtoul(argv[2], NULL, 16); in cmd_discover()
256 discover_params.end_handle = strtoul(argv[3], NULL, 16); in cmd_discover()
318 read_params.single.handle = strtoul(argv[1], NULL, 16); in cmd_read()
323 read_params.single.offset = strtoul(argv[2], NULL, 16); in cmd_read()
358 h[i] = strtoul(argv[i + 1], NULL, 16); in cmd_mread()
396 uuid.val = strtoul(argv[1], NULL, 16); in cmd_read_uuid()
403 read_params.by_uuid.start_handle = strtoul(argv[2], NULL, 16); in cmd_read_uuid()
405 read_params.by_uuid.end_handle = strtoul(argv[3], NULL, 16); in cmd_read_uuid()
445 handle = strtoul(argv[1], NULL, 16); in cmd_write()
[all …]
Dl2cap.c251 server.psm = strtoul(argv[1], NULL, 16); in cmd_register()
254 server.sec_level = strtoul(argv[2], NULL, 10); in cmd_register()
379 psm = strtoul(argv[1], NULL, 16); in cmd_connect()
418 count = strtoul(argv[1], NULL, 10); in cmd_send()
422 len = strtoul(argv[2], NULL, 10); in cmd_send()
461 l2cap_recv_delay_ms = strtoul(argv[1], NULL, 10); in cmd_recv()
Dcs.c267 uint8_t config_id = strtoul(argv[1], NULL, 10); in cmd_remove_config()
289 params.id = strtoul(argv[1], NULL, 10); in cmd_create_config()
351 params.min_main_mode_steps = strtoul(argv[j], NULL, 10); in cmd_create_config()
357 params.max_main_mode_steps = strtoul(argv[j], NULL, 10); in cmd_create_config()
363 params.mode_0_steps = strtoul(argv[j], NULL, 10); in cmd_create_config()
390 params.channel_map_repetition = strtoul(argv[j], NULL, 10); in cmd_create_config()
405 params.ch3c_jump = strtoul(argv[j], NULL, 10); in cmd_create_config()
/Zephyr-latest/drivers/flash/
Dflash_shell.c53 *addr = strtoul((*argv)[1], &endptr, 16); in parse_helper()
82 *addr = strtoul((*argv)[2], &endptr, 16); in parse_helper()
102 size = strtoul(argv[2], NULL, 16); in cmd_erase()
154 buf_array[j] = strtoul(argv[i], NULL, 16); in cmd_write()
198 src_offset = strtoul(argv[3], NULL, 0); in cmd_copy()
199 dst_offset = strtoul(argv[4], NULL, 0); in cmd_copy()
201 size = strtoul(argv[5], NULL, 0); in cmd_copy()
231 cnt = strtoul(argv[2], NULL, 16); in cmd_read()
269 size = strtoul(argv[2], NULL, 16); in cmd_test()
270 repeat = strtoul(argv[3], NULL, 16); in cmd_test()
[all …]
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c218 byte = (uint8_t)strtoul(chunk, NULL, 16); in bypass_cb()
251 bytes = (unsigned char *)strtoul(argv[1], NULL, 0); in cmd_load()
252 data = (uint32_t *)strtoul(argv[1], NULL, 0); in cmd_load()
316 phys_addr = strtoul(argv[1], NULL, 16); in cmd_devmem()
329 width = strtoul(argv[2], NULL, 10); in cmd_devmem()
342 value = strtoul(argv[3], NULL, 16); in cmd_devmem()
/Zephyr-latest/tests/lib/c_lib/common/src/
Dmain.c792 ret = strtoul(buf3, NULL, 8); in ZTEST()
794 ret = strtoul(buf1, NULL, 10); in ZTEST()
796 ret = strtoul(buf2, NULL, 10); in ZTEST()
798 ret = strtoul(buf4, NULL, 16); in ZTEST()
800 ret = strtoul(buf4, NULL, 0); in ZTEST()
802 ret = strtoul(buf5, NULL, 0); in ZTEST()
804 ret = strtoul(buf6, NULL, 0); in ZTEST()
806 ret = strtoul(buf7, NULL, 0); in ZTEST()
808 ret = strtoul(buf8, NULL, 10); in ZTEST()
810 ret = strtoul(buf9, NULL, 10); in ZTEST()
[all …]
/Zephyr-latest/drivers/can/
Dcan_shell.c449 bitrate = (uint32_t)strtoul(argv[2], &endptr, 10); in cmd_can_bitrate_set()
456 sample_pnt = (uint32_t)strtoul(argv[3], &endptr, 10); in cmd_can_bitrate_set()
472 timing.sjw = (uint16_t)strtoul(argv[4], &endptr, 10); in cmd_can_bitrate_set()
520 bitrate = (uint32_t)strtoul(argv[2], &endptr, 10); in cmd_can_dbitrate_set()
527 sample_pnt = (uint32_t)strtoul(argv[3], &endptr, 10); in cmd_can_dbitrate_set()
543 timing.sjw = (uint16_t)strtoul(argv[4], &endptr, 10); in cmd_can_dbitrate_set()
582 timing->sjw = (uint32_t)strtoul(argv[2], &endptr, 10); in can_shell_parse_timing()
588 timing->prop_seg = (uint32_t)strtoul(argv[3], &endptr, 10); in can_shell_parse_timing()
594 timing->phase_seg1 = (uint32_t)strtoul(argv[4], &endptr, 10); in can_shell_parse_timing()
600 timing->phase_seg2 = (uint32_t)strtoul(argv[5], &endptr, 10); in can_shell_parse_timing()
[all …]
/Zephyr-latest/drivers/w1/
Dw1_shell.c133 read_len = strtoul(argv[2], &end_ptr, 0); in cmd_w1_read_block()
165 unsigned long input = strtoul(argv[2], NULL, 0); in cmd_w1_write_bit()
213 input = strtoul(argv[pos], NULL, 0); in cmd_w1_write_byte()
269 msg_buf[i] = (uint8_t)strtoul(argv[i + pos], NULL, 16); in cmd_w1_write_block()
297 uint32_t type = strtoul(type_name, &type_endptr, 0); in cmd_w1_configure()
298 uint32_t value = strtoul(argv[3], NULL, 0); in cmd_w1_configure()
/Zephyr-latest/drivers/led/
Dled_shell.c36 *led = strtoul(argv[arg_idx_led], &end_ptr, 0); in parse_common_args()
161 value = strtoul(argv[arg_idx_value], &end_ptr, 0); in cmd_set_brightness()
210 col = strtoul(argv[arg_idx_value + i], &end_ptr, 0); in cmd_set_color()
253 value = strtoul(argv[arg_idx_value], &end_ptr, 0); in cmd_set_channel()
303 val = strtoul(argv[arg_idx_value + i], &end_ptr, 0); in cmd_write_channels()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/dut/src/
Dmain.c26 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c549 rtn = strtoul(buffer, NULL, 0); in parse_rtn_arg()
576 interval = strtoul(buffer, NULL, 0); in parse_interval_arg()
603 latency = strtoul(buffer, NULL, 0); in parse_latency_arg()
627 phy = strtoul(buffer, NULL, 0); in parse_phy_arg()
652 sdu = strtoul(buffer, NULL, 0); in parse_sdu_arg()
677 c_to_p_ft = strtoul(buffer, NULL, 0); in parse_c_to_p_ft_arg()
702 p_to_c_ft = strtoul(buffer, NULL, 0); in parse_p_to_c_ft_arg()
727 iso_interval = strtoul(buffer, NULL, 0); in parse_iso_interval_arg()
751 nse = strtoul(buffer, NULL, 0); in parse_nse_arg()
775 pdu = strtoul(buffer, NULL, 0); in parse_pdu_arg()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/acl_tx_frag/src/
Dmain.c27 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/tests/bsim/bluetooth/host/scan/slow/src/
Dmain.c27 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/
Dmain.c27 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Dstrtoul.c43 unsigned long strtoul(const char *nptr, char **endptr, register int base) in strtoul() function
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Drfcomm.c181 channel = strtoul(argv[1], NULL, 16); in cmd_connect()
201 count = strtoul(argv[1], NULL, 10); in cmd_send()
/Zephyr-latest/lib/libc/minimal/include/
Dstdlib.h21 unsigned long strtoul(const char *nptr, char **endptr, int base);

123