Lines Matching refs:args_indx
24 static const struct args_index args_indx = { variable
41 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_cycles()
47 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()
51 if (argc == (args_indx.flags + 1)) { in cmd_cycles()
52 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_cycles()
74 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_usec()
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()
84 if (argc == (args_indx.flags + 1)) { in cmd_usec()
85 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_usec()
106 dev = shell_device_get_binding(argv[args_indx.device]); in cmd_nsec()
112 channel = strtoul(argv[args_indx.channel], NULL, 0); in cmd_nsec()
113 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_nsec()
114 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_nsec()
116 if (argc == (args_indx.flags + 1)) { in cmd_nsec()
117 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_nsec()