Home
last modified time | relevance | path

Searched refs:pm_callback_t (Results 1 – 2 of 2) sorted by relevance

/drivers/base/power/
Dmain.c43 typedef int (*pm_callback_t)(struct device *); typedef
347 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op()
380 static pm_callback_t pm_late_early_op(const struct dev_pm_ops *ops, in pm_late_early_op()
415 static pm_callback_t pm_noirq_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_noirq_op()
475 static int dpm_run_callback(pm_callback_t cb, struct device *dev, in dpm_run_callback()
594 pm_callback_t callback = NULL; in __device_resume_noirq()
763 pm_callback_t callback = NULL; in __device_resume_early()
890 pm_callback_t callback = NULL; in __device_resume()
1193 pm_callback_t callback = NULL; in __device_suspend_noirq()
1384 pm_callback_t callback = NULL; in __device_suspend_late()
[all …]
Druntime.c19 typedef int (*pm_callback_t)(struct device *); typedef
21 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
23 pm_callback_t cb; in __rpm_get_callback()
38 cb = *(pm_callback_t *)((void *)ops + cb_offset); in __rpm_get_callback()
43 cb = *(pm_callback_t *)((void *)dev->driver->pm + cb_offset); in __rpm_get_callback()