Lines Matching full:sh
32 const struct shell *sh = shell_backend_dummy_get_ptr(); in stepper_shell_setup() local
35 WAIT_FOR(shell_ready(sh), 20000, k_msleep(1)); in stepper_shell_setup()
36 zassert_true(shell_ready(sh), "timed out waiting for dummy shell backend"); in stepper_shell_setup()
45 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
46 int err = shell_execute_cmd(sh, "stepper enable " FAKE_STEPPER_NAME " on"); in ZTEST()
53 err = shell_execute_cmd(sh, "stepper enable " FAKE_STEPPER_NAME " off"); in ZTEST()
60 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
61 int err = shell_execute_cmd(sh, "stepper move_by " FAKE_STEPPER_NAME " 1000"); in ZTEST()
69 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
70 int err = shell_execute_cmd(sh, "stepper set_max_velocity " FAKE_STEPPER_NAME " 200"); in ZTEST()
78 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
79 int err = shell_execute_cmd(sh, "stepper set_micro_step_res " FAKE_STEPPER_NAME " 64"); in ZTEST()
88 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
89 int err = shell_execute_cmd(sh, "stepper set_micro_step_res " FAKE_STEPPER_NAME " 111"); in ZTEST()
96 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
97 int err = shell_execute_cmd(sh, "stepper get_micro_step_res " FAKE_STEPPER_NAME); in ZTEST()
104 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
105 int err = shell_execute_cmd(sh, "stepper set_reference_position " FAKE_STEPPER_NAME " 100"); in ZTEST()
114 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
115 int err = shell_execute_cmd(sh, "stepper get_actual_position " FAKE_STEPPER_NAME); in ZTEST()
122 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
123 int err = shell_execute_cmd(sh, "stepper move_to " FAKE_STEPPER_NAME " 200"); in ZTEST()
132 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
133 int err = shell_execute_cmd(sh, "stepper run " FAKE_STEPPER_NAME " positive 200"); in ZTEST()
143 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
144 int err = shell_execute_cmd(sh, "stepper run " FAKE_STEPPER_NAME " foo 200"); in ZTEST()
151 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() local
152 int err = shell_execute_cmd(sh, "stepper info " FAKE_STEPPER_NAME); in ZTEST()