Lines Matching refs:args_indx
41 static const struct args_index args_indx = { variable
75 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_setup()
88 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_disable()
106 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_timeout()
112 flags = parse_named_int(argv[args_indx.reset], wdt_reset_name, ARRAY_SIZE(wdt_reset_name)); in cmd_timeout()
114 shell_error(sh, "Reset mode '%s' unknown", argv[args_indx.reset]); in cmd_timeout()
118 timeout_min = parse_named_int(argv[args_indx.timeout_min], NULL, 0); in cmd_timeout()
120 shell_error(sh, "Unable to convert '%s' to integer", argv[args_indx.timeout_min]); in cmd_timeout()
124 timeout_max = parse_named_int(argv[args_indx.timeout_max], NULL, 0); in cmd_timeout()
126 shell_error(sh, "Unable to convert '%s' to integer", argv[args_indx.timeout_max]); in cmd_timeout()
148 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_feed()
154 channel_id = parse_named_int(argv[args_indx.channel_id], NULL, 0); in cmd_feed()
156 shell_error(sh, "Unable to convert '%s' to integer", argv[args_indx.channel_id]); in cmd_feed()