Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/base/power/
Dmain.c41 typedef int (*pm_callback_t)(struct device *); typedef
345 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op()
378 static pm_callback_t pm_late_early_op(const struct dev_pm_ops *ops, in pm_late_early_op()
413 static pm_callback_t pm_noirq_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_noirq_op()
473 static int dpm_run_callback(pm_callback_t cb, struct device *dev, in dpm_run_callback()
592 pm_callback_t callback = NULL; in device_resume_noirq()
763 pm_callback_t callback = NULL; in device_resume_early()
898 pm_callback_t callback = NULL; in device_resume()
1201 pm_callback_t callback = NULL; in __device_suspend_noirq()
1388 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()