Lines Matching refs:clock_event_device
18 struct clock_event_device;
99 struct clock_event_device { struct
100 void (*event_handler)(struct clock_event_device *); argument
101 int (*set_next_event)(unsigned long evt, struct clock_event_device *); argument
102 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *); argument
112 int (*set_state_periodic)(struct clock_event_device *); argument
113 int (*set_state_oneshot)(struct clock_event_device *); argument
114 int (*set_state_oneshot_stopped)(struct clock_event_device *); argument
115 int (*set_state_shutdown)(struct clock_event_device *); argument
116 int (*tick_resume)(struct clock_event_device *); argument
119 void (*suspend)(struct clock_event_device *); argument
120 void (*resume)(struct clock_event_device *); argument
134 static inline bool clockevent_state_detached(struct clock_event_device *dev) in clockevent_state_detached() argument
139 static inline bool clockevent_state_shutdown(struct clock_event_device *dev) in clockevent_state_shutdown()
144 static inline bool clockevent_state_periodic(struct clock_event_device *dev) in clockevent_state_periodic()
149 static inline bool clockevent_state_oneshot(struct clock_event_device *dev) in clockevent_state_oneshot()
154 static inline bool clockevent_state_oneshot_stopped(struct clock_event_device *dev) in clockevent_state_oneshot_stopped()
181 extern u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt);
182 extern void clockevents_register_device(struct clock_event_device *dev);
183 extern int clockevents_unbind_device(struct clock_event_device *ced, int cpu);
185 extern void clockevents_config(struct clock_event_device *dev, u32 freq);
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 minsec) in clockevents_calc_mult_shift()