Home
last modified time | relevance | path

Searched refs:ARGV_DEV (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/drivers/counter/
Dcounter_timer_shell.c13 #define ARGV_DEV 1 macro
46 timer_dev = device_get_binding(argv[ARGV_DEV]); in cmd_timer_free_running()
48 shell_error(shctx, "Timer: Device %s not found", argv[ARGV_DEV]); in cmd_timer_free_running()
55 shell_error(shctx, "%s is not available err:%d", argv[ARGV_DEV], err); in cmd_timer_free_running()
59 shell_info(shctx, "%s: Timer is freerunning", argv[ARGV_DEV]); in cmd_timer_free_running()
70 timer_dev = device_get_binding(argv[ARGV_DEV]); in cmd_timer_stop()
72 shell_error(shctx, "Timer: Device %s not found", argv[ARGV_DEV]); in cmd_timer_stop()
102 timer_dev = device_get_binding(argv[ARGV_DEV]); in cmd_timer_oneshot()
104 shell_error(shctx, "Timer: Device %s not found", argv[ARGV_DEV]); in cmd_timer_oneshot()
134 shell_error(shctx, "%s:Failed to set channel alarm, err:%d", argv[ARGV_DEV], err); in cmd_timer_oneshot()
[all …]
/Zephyr-Core-3.5.0/drivers/smbus/
Dsmbus_shell.c26 #define ARGV_DEV 1 macro
51 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_scan()
53 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_scan()
78 shell_print(sh, "%u devices found on %s", cnt, argv[ARGV_DEV]); in cmd_smbus_scan()
90 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_quick()
92 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_quick()
114 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_byte_read()
116 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_byte_read()
143 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_byte_write()
145 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_byte_write()
[all …]
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_shell.c18 #define ARGV_DEV 1 macro
56 dev = device_get_binding(argv[ARGV_DEV]); in cmd_i2c_scan()
60 argv[ARGV_DEV]); in cmd_i2c_scan()
93 cnt, argv[ARGV_DEV]); in cmd_i2c_scan()
105 dev = device_get_binding(argv[ARGV_DEV]); in cmd_i2c_recover()
178 return i2c_write_from_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_write()
187 return i2c_write_from_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_write_byte()
238 ret = i2c_read_to_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_read_byte()
263 ret = i2c_read_to_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_read()
278 char *s_dev_name = argv[ARGV_DEV]; in cmd_i2c_speed()
[all …]