• Home
  • Raw
  • Download

Lines Matching refs:dev

21 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast);
22 extern void tick_handle_periodic(struct clock_event_device *dev);
23 extern void tick_check_new_device(struct clock_event_device *dev);
29 extern void tick_install_replacement(struct clock_event_device *dev);
33 extern int clockevents_tick_resume(struct clock_event_device *dev);
35 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() argument
37 return !(dev->features & CLOCK_EVT_FEAT_DUMMY); in tick_device_is_functional()
40 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() argument
42 return dev->state_use_accessors; in clockevent_get_state()
45 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() argument
48 dev->state_use_accessors = state; in clockevent_set_state()
51 extern void clockevents_shutdown(struct clock_event_device *dev);
54 extern void clockevents_switch_state(struct clock_event_device *dev,
56 extern int clockevents_program_event(struct clock_event_device *dev,
58 extern void clockevents_handle_noop(struct clock_event_device *dev);
59 extern int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
64 extern int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu);
65 extern void tick_install_broadcast_device(struct clock_event_device *dev);
66 extern int tick_is_broadcast_device(struct clock_event_device *dev);
71 extern void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast);
72 extern int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq);
76 static inline void tick_install_broadcast_device(struct clock_event_device *dev) { } in tick_install_broadcast_device() argument
77 static inline int tick_is_broadcast_device(struct clock_event_device *dev) { return 0; } in tick_is_broadcast_device() argument
78 static inline int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) { return 0; } in tick_device_uses_broadcast() argument
84 static inline int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) { return -EN… in tick_broadcast_update_freq() argument
87 static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler() argument
89 dev->event_handler = tick_handle_periodic; in tick_set_periodic_handler()