Searched refs:_timer_device (Results 1 – 4 of 4) sorted by relevance
68 struct _timer_device;74 void (*period_expired)(struct _timer_device *device);80 struct _timer_device { struct90 int32_t (*init)(struct _timer_device *const device, void *const hw); argument91 void (*deinit)(struct _timer_device *const device);92 void (*start_timer)(struct _timer_device *const device);93 void (*stop_timer)(struct _timer_device *const device);94 void (*set_timer_period)(struct _timer_device *const device, const uint32_t clock_cycles);95 uint32_t (*get_period)(const struct _timer_device *const device);96 bool (*is_timer_started)(const struct _timer_device *const device);[all …]
93 struct _timer_device device;
52 static struct _timer_device *_rtc_dev = NULL;57 int32_t _timer_init(struct _timer_device *const dev, void *const hw) in _timer_init()93 void _timer_deinit(struct _timer_device *const dev) in _timer_deinit()105 void _timer_start(struct _timer_device *const dev) in _timer_start()118 void _timer_stop(struct _timer_device *const dev) in _timer_stop()128 void _timer_set_period(struct _timer_device *const dev, const uint32_t clock_cycles) in _timer_set_period()136 uint32_t _timer_get_period(const struct _timer_device *const dev) in _timer_get_period()144 bool _timer_is_started(const struct _timer_device *const dev) in _timer_is_started()152 void _timer_set_irq(struct _timer_device *const dev) in _timer_set_irq()162 static void _rtc_timer_interrupt_handler(struct _timer_device *dev) in _rtc_timer_interrupt_handler()
62 static void timer_process_counted(struct _timer_device *device);237 static void timer_process_counted(struct _timer_device *device) in timer_process_counted()