Lines Matching refs:dev

16 	const struct device *dev;  member
23 static void drv84xx_api_print_event_callback(const struct device *dev, enum stepper_event event, in drv84xx_api_print_event_callback() argument
47 .dev = DEVICE_DT_GET(DT_ALIAS(stepper)), in drv84xx_api_setup()
55 zassert_not_null(fixture.dev); in drv84xx_api_setup()
62 (void)stepper_set_reference_position(fixture->dev, 0); in drv84xx_api_before()
63 (void)stepper_set_micro_step_res(fixture->dev, 1); in drv84xx_api_before()
70 (void)stepper_disable(fixture->dev); in drv84xx_api_after()
75 (void)stepper_set_micro_step_res(fixture->dev, 4); in ZTEST_F()
77 (void)stepper_get_micro_step_res(fixture->dev, &res); in ZTEST_F()
85 (void)stepper_set_reference_position(fixture->dev, pos); in ZTEST_F()
86 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F()
94 (void)stepper_enable(fixture->dev); in ZTEST_F()
95 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
96 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
97 (void)stepper_move_to(fixture->dev, pos); in ZTEST_F()
106 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F()
114 (void)stepper_enable(fixture->dev); in ZTEST_F()
115 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
116 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
117 (void)stepper_move_to(fixture->dev, pos); in ZTEST_F()
126 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F()
134 (void)stepper_enable(fixture->dev); in ZTEST_F()
135 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
136 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
137 (void)stepper_move_to(fixture->dev, pos); in ZTEST_F()
146 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F()
155 (void)stepper_enable(fixture->dev); in ZTEST_F()
156 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
157 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
158 (void)stepper_move_to(fixture->dev, pos); in ZTEST_F()
159 (void)stepper_is_moving(fixture->dev, &moving); in ZTEST_F()
168 (void)stepper_enable(fixture->dev); in ZTEST_F()
169 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
170 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
171 (void)stepper_move_to(fixture->dev, pos); in ZTEST_F()
180 (void)stepper_is_moving(fixture->dev, &moving); in ZTEST_F()
188 (void)stepper_enable(fixture->dev); in ZTEST_F()
189 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
190 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
191 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
200 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
209 (void)stepper_enable(fixture->dev); in ZTEST_F()
210 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
211 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
212 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
213 (void)stepper_is_moving(fixture->dev, &moving); in ZTEST_F()
222 (void)stepper_enable(fixture->dev); in ZTEST_F()
223 (void)stepper_set_microstep_interval(fixture->dev, 20000000); in ZTEST_F()
224 (void)stepper_set_event_callback(fixture->dev, fixture->callback, NULL); in ZTEST_F()
225 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
234 (void)stepper_is_moving(fixture->dev, &moving); in ZTEST_F()
243 (void)stepper_enable(fixture->dev); in ZTEST_F()
244 (void)stepper_set_microstep_interval(fixture->dev, step_interval); in ZTEST_F()
245 (void)stepper_run(fixture->dev, STEPPER_DIRECTION_POSITIVE); in ZTEST_F()
248 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
258 (void)stepper_enable(fixture->dev); in ZTEST_F()
259 (void)stepper_set_microstep_interval(fixture->dev, step_interval); in ZTEST_F()
260 (void)stepper_run(fixture->dev, STEPPER_DIRECTION_NEGATIVE); in ZTEST_F()
263 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
273 (void)stepper_enable(fixture->dev); in ZTEST_F()
274 (void)stepper_set_microstep_interval(fixture->dev, step_interval); in ZTEST_F()
275 (void)stepper_run(fixture->dev, STEPPER_DIRECTION_POSITIVE); in ZTEST_F()
287 (void)stepper_enable(fixture->dev); in ZTEST_F()
288 (void)stepper_set_microstep_interval(fixture->dev, step_interval); in ZTEST_F()
289 (void)stepper_run(fixture->dev, STEPPER_DIRECTION_POSITIVE); in ZTEST_F()
290 (void)stepper_is_moving(fixture->dev, &moving); in ZTEST_F()
292 (void)stepper_disable(fixture->dev); in ZTEST_F()