Lines Matching refs:clock_event_device
19 struct clock_event_device;
100 struct clock_event_device { struct
101 void (*event_handler)(struct clock_event_device *); argument
102 int (*set_next_event)(unsigned long evt, struct clock_event_device *); argument
103 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *); argument
113 int (*set_state_periodic)(struct clock_event_device *); argument
114 int (*set_state_oneshot)(struct clock_event_device *); argument
115 int (*set_state_oneshot_stopped)(struct clock_event_device *); argument
116 int (*set_state_shutdown)(struct clock_event_device *); argument
117 int (*tick_resume)(struct clock_event_device *); argument
120 void (*suspend)(struct clock_event_device *); argument
121 void (*resume)(struct clock_event_device *); argument
135 static inline bool clockevent_state_detached(struct clock_event_device *dev) in clockevent_state_detached() argument
140 static inline bool clockevent_state_shutdown(struct clock_event_device *dev) in clockevent_state_shutdown()
145 static inline bool clockevent_state_periodic(struct clock_event_device *dev) in clockevent_state_periodic()
150 static inline bool clockevent_state_oneshot(struct clock_event_device *dev) in clockevent_state_oneshot()
155 static inline bool clockevent_state_oneshot_stopped(struct clock_event_device *dev) in clockevent_state_oneshot_stopped()
182 extern u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt);
183 extern void clockevents_register_device(struct clock_event_device *dev);
184 extern int clockevents_unbind_device(struct clock_event_device *ced, int cpu);
186 extern void clockevents_config_and_register(struct clock_event_device *dev,
190 extern int clockevents_update_freq(struct clock_event_device *ce, u32 freq);
193 clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq, u32 maxsec) in clockevents_calc_mult_shift()