Lines Matching refs:device

122 typedef void (*counter_alarm_callback_t)(const struct device *dev,
165 typedef void (*counter_top_callback_t)(const struct device *dev,
212 typedef int (*counter_api_start)(const struct device *dev);
213 typedef int (*counter_api_stop)(const struct device *dev);
214 typedef int (*counter_api_get_value)(const struct device *dev,
216 typedef int (*counter_api_get_value_64)(const struct device *dev,
218 typedef int (*counter_api_set_alarm)(const struct device *dev,
221 typedef int (*counter_api_cancel_alarm)(const struct device *dev,
223 typedef int (*counter_api_set_top_value)(const struct device *dev,
225 typedef uint32_t (*counter_api_get_pending_int)(const struct device *dev);
226 typedef uint32_t (*counter_api_get_top_value)(const struct device *dev);
227 typedef uint32_t (*counter_api_get_guard_period)(const struct device *dev,
229 typedef int (*counter_api_set_guard_period)(const struct device *dev,
232 typedef uint32_t (*counter_api_get_freq)(const struct device *dev);
257 __syscall bool counter_is_counting_up(const struct device *dev);
259 static inline bool z_impl_counter_is_counting_up(const struct device *dev) in z_impl_counter_is_counting_up()
274 __syscall uint8_t counter_get_num_of_channels(const struct device *dev);
276 static inline uint8_t z_impl_counter_get_num_of_channels(const struct device *dev) in z_impl_counter_get_num_of_channels()
292 __syscall uint32_t counter_get_frequency(const struct device *dev);
294 static inline uint32_t z_impl_counter_get_frequency(const struct device *dev) in z_impl_counter_get_frequency()
312 __syscall uint32_t counter_us_to_ticks(const struct device *dev, uint64_t us);
314 static inline uint32_t z_impl_counter_us_to_ticks(const struct device *dev, in z_impl_counter_us_to_ticks()
330 __syscall uint64_t counter_ticks_to_us(const struct device *dev, uint32_t ticks);
332 static inline uint64_t z_impl_counter_ticks_to_us(const struct device *dev, in z_impl_counter_ticks_to_us()
345 __syscall uint32_t counter_get_max_top_value(const struct device *dev);
347 static inline uint32_t z_impl_counter_get_max_top_value(const struct device *dev) in z_impl_counter_get_max_top_value()
363 __syscall int counter_start(const struct device *dev);
365 static inline int z_impl_counter_start(const struct device *dev) in z_impl_counter_start()
382 __syscall int counter_stop(const struct device *dev);
384 static inline int z_impl_counter_stop(const struct device *dev) in z_impl_counter_stop()
400 __syscall int counter_get_value(const struct device *dev, uint32_t *ticks);
402 static inline int z_impl_counter_get_value(const struct device *dev, in z_impl_counter_get_value()
419 __syscall int counter_get_value_64(const struct device *dev, uint64_t *ticks);
421 static inline int z_impl_counter_get_value_64(const struct device *dev, in z_impl_counter_get_value_64()
454 __syscall int counter_set_channel_alarm(const struct device *dev,
458 static inline int z_impl_counter_set_channel_alarm(const struct device *dev, in z_impl_counter_set_channel_alarm()
484 __syscall int counter_cancel_channel_alarm(const struct device *dev,
487 static inline int z_impl_counter_cancel_channel_alarm(const struct device *dev, in z_impl_counter_cancel_channel_alarm()
524 __syscall int counter_set_top_value(const struct device *dev,
527 static inline int z_impl_counter_set_top_value(const struct device *dev, in z_impl_counter_set_top_value()
554 __syscall int counter_get_pending_int(const struct device *dev);
556 static inline int z_impl_counter_get_pending_int(const struct device *dev) in z_impl_counter_get_pending_int()
571 __syscall uint32_t counter_get_top_value(const struct device *dev);
573 static inline uint32_t z_impl_counter_get_top_value(const struct device *dev) in z_impl_counter_get_top_value()
633 __syscall int counter_set_guard_period(const struct device *dev,
637 static inline int z_impl_counter_set_guard_period(const struct device *dev, in z_impl_counter_set_guard_period()
661 __syscall uint32_t counter_get_guard_period(const struct device *dev,
664 static inline uint32_t z_impl_counter_get_guard_period(const struct device *dev, in z_impl_counter_get_guard_period()