Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/base/power/
Dmain.c41 typedef int (*pm_callback_t)(struct device *); typedef
348 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op()
381 static pm_callback_t pm_late_early_op(const struct dev_pm_ops *ops, in pm_late_early_op()
416 static pm_callback_t pm_noirq_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_noirq_op()
476 static int dpm_run_callback(pm_callback_t cb, struct device *dev, in dpm_run_callback()
595 pm_callback_t callback = NULL; in device_resume_noirq()
766 pm_callback_t callback = NULL; in device_resume_early()
898 pm_callback_t callback = NULL; in device_resume()
1194 pm_callback_t callback = NULL; in __device_suspend_noirq()
1379 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()