Lines Matching refs:cpuidle_device
24 struct cpuidle_device;
59 int (*enter) (struct cpuidle_device *dev,
63 int (*enter_dead) (struct cpuidle_device *dev, int index);
73 int (*enter_s2idle)(struct cpuidle_device *dev,
92 struct cpuidle_device { struct
115 DECLARE_PER_CPU(struct cpuidle_device *, cpuidle_devices); argument
116 DECLARE_PER_CPU(struct cpuidle_device, cpuidle_dev);
143 struct cpuidle_device *dev);
146 struct cpuidle_device *dev,
149 struct cpuidle_device *dev, int index);
150 extern void cpuidle_reflect(struct cpuidle_device *dev, int index);
152 struct cpuidle_device *dev);
159 extern int cpuidle_register_device(struct cpuidle_device *dev);
160 extern void cpuidle_unregister_device(struct cpuidle_device *dev);
168 extern int cpuidle_enable_device(struct cpuidle_device *dev);
169 extern void cpuidle_disable_device(struct cpuidle_device *dev);
172 extern struct cpuidle_driver *cpuidle_get_cpu_driver(struct cpuidle_device *dev);
173 static inline struct cpuidle_device *cpuidle_get_device(void) in cpuidle_get_device()
178 struct cpuidle_device *dev) in cpuidle_not_available()
181 struct cpuidle_device *dev, bool *stop_tick) in cpuidle_select()
184 struct cpuidle_device *dev, int index) in cpuidle_enter()
186 static inline void cpuidle_reflect(struct cpuidle_device *dev, int index) { } in cpuidle_reflect()
188 struct cpuidle_device *dev) in cpuidle_poll_time()
196 static inline int cpuidle_register_device(struct cpuidle_device *dev) in cpuidle_register_device()
198 static inline void cpuidle_unregister_device(struct cpuidle_device *dev) { } in cpuidle_unregister_device()
207 static inline int cpuidle_enable_device(struct cpuidle_device *dev) in cpuidle_enable_device()
209 static inline void cpuidle_disable_device(struct cpuidle_device *dev) { } in cpuidle_disable_device()
212 struct cpuidle_device *dev) {return NULL; } in cpuidle_get_cpu_driver()
213 static inline struct cpuidle_device *cpuidle_get_device(void) {return NULL; } in cpuidle_get_device()
218 struct cpuidle_device *dev,
221 struct cpuidle_device *dev);
225 struct cpuidle_device *dev, in cpuidle_find_deepest_state()
229 struct cpuidle_device *dev) in cpuidle_enter_s2idle()
241 void cpuidle_coupled_parallel_barrier(struct cpuidle_device *dev, atomic_t *a);
243 static inline void cpuidle_coupled_parallel_barrier(struct cpuidle_device *dev, atomic_t *a) in cpuidle_coupled_parallel_barrier()
264 struct cpuidle_device *dev);
266 struct cpuidle_device *dev);
269 struct cpuidle_device *dev,
271 void (*reflect) (struct cpuidle_device *dev, int index);