Lines Matching refs:dev_str
30 const char *dev_str, in get_device_from_str() argument
33 *dev = shell_device_get_binding(dev_str); in get_device_from_str()
36 shell_error(sh, "%s not %s", dev_str, "found"); in get_device_from_str()
41 shell_error(sh, "%s not %s", dev_str, "ready"); in get_device_from_str()
51 const char *dev_str; in cmd_get_output() local
56 dev_str = argv[1]; in cmd_get_output()
57 ret = get_device_from_str(sh, dev_str, &dev); in cmd_get_output()
89 const char *dev_str; in cmd_set_trigger() local
97 dev_str = argv[1]; in cmd_set_trigger()
98 ret = get_device_from_str(sh, dev_str, &dev); in cmd_set_trigger()
147 const char *dev_str; in cmd_await_trigger() local
153 dev_str = argv[1]; in cmd_await_trigger()
154 ret = get_device_from_str(sh, dev_str, &dev); in cmd_await_trigger()
198 const char *dev_str; in cmd_trigger_is_pending() local
203 dev_str = argv[1]; in cmd_trigger_is_pending()
204 ret = get_device_from_str(sh, dev_str, &dev); in cmd_trigger_is_pending()