Lines Matching refs:device
106 typedef int (*stepper_enable_t)(const struct device *dev, const bool enable);
113 typedef int (*stepper_move_by_t)(const struct device *dev, const int32_t micro_steps);
120 typedef int (*stepper_set_max_velocity_t)(const struct device *dev,
128 typedef int (*stepper_set_micro_step_res_t)(const struct device *dev,
136 typedef int (*stepper_get_micro_step_res_t)(const struct device *dev,
143 typedef int (*stepper_set_reference_position_t)(const struct device *dev, const int32_t value);
150 typedef int (*stepper_get_actual_position_t)(const struct device *dev, int32_t *value);
157 typedef int (*stepper_move_to_t)(const struct device *dev, const int32_t micro_steps);
164 typedef int (*stepper_is_moving_t)(const struct device *dev, bool *is_moving);
171 typedef int (*stepper_run_t)(const struct device *dev, const enum stepper_direction direction,
177 typedef void (*stepper_event_callback_t)(const struct device *dev, const enum stepper_event event,
185 typedef int (*stepper_set_event_callback_t)(const struct device *dev,
218 __syscall int stepper_enable(const struct device *dev, const bool enable);
220 static inline int z_impl_stepper_enable(const struct device *dev, const bool enable) in z_impl_stepper_enable()
240 __syscall int stepper_move_by(const struct device *dev, int32_t micro_steps);
242 static inline int z_impl_stepper_move_by(const struct device *dev, const int32_t micro_steps) in z_impl_stepper_move_by()
265 __syscall int stepper_set_max_velocity(const struct device *dev, uint32_t micro_steps_per_second);
267 static inline int z_impl_stepper_set_max_velocity(const struct device *dev, in z_impl_stepper_set_max_velocity()
286 __syscall int stepper_set_micro_step_res(const struct device *dev,
289 static inline int z_impl_stepper_set_micro_step_res(const struct device *dev, in z_impl_stepper_set_micro_step_res()
310 __syscall int stepper_get_micro_step_res(const struct device *dev,
313 static inline int z_impl_stepper_get_micro_step_res(const struct device *dev, in z_impl_stepper_get_micro_step_res()
334 __syscall int stepper_set_reference_position(const struct device *dev, int32_t value);
336 static inline int z_impl_stepper_set_reference_position(const struct device *dev, in z_impl_stepper_set_reference_position()
357 __syscall int stepper_get_actual_position(const struct device *dev, int32_t *value);
359 static inline int z_impl_stepper_get_actual_position(const struct device *dev, int32_t *value) in z_impl_stepper_get_actual_position()
383 __syscall int stepper_move_to(const struct device *dev, int32_t micro_steps);
385 static inline int z_impl_stepper_move_to(const struct device *dev, const int32_t micro_steps) in z_impl_stepper_move_to()
405 __syscall int stepper_is_moving(const struct device *dev, bool *is_moving);
407 static inline int z_impl_stepper_is_moving(const struct device *dev, bool *is_moving) in z_impl_stepper_is_moving()
435 __syscall int stepper_run(const struct device *dev, enum stepper_direction direction,
438 static inline int z_impl_stepper_run(const struct device *dev, in z_impl_stepper_run()
461 __syscall int stepper_set_event_callback(const struct device *dev,
464 static inline int z_impl_stepper_set_event_callback(const struct device *dev, in z_impl_stepper_set_event_callback()