Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/base/power/
Dmain.c41 typedef int (*pm_callback_t)(struct device *); typedef
344 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op()
377 static pm_callback_t pm_late_early_op(const struct dev_pm_ops *ops, in pm_late_early_op()
412 static pm_callback_t pm_noirq_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_noirq_op()
472 static int dpm_run_callback(pm_callback_t cb, struct device *dev, in dpm_run_callback()
620 pm_callback_t callback = NULL; in device_resume_noirq()
771 pm_callback_t callback = NULL; in device_resume_early()
905 pm_callback_t callback = NULL; in device_resume()
1205 pm_callback_t callback = NULL; in device_suspend_noirq()
1378 pm_callback_t callback = NULL; in device_suspend_late()
[all …]
Druntime.c20 typedef int (*pm_callback_t)(struct device *); typedef
22 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
24 pm_callback_t cb; in __rpm_get_callback()
39 cb = *(pm_callback_t *)((void *)ops + cb_offset); in __rpm_get_callback()
44 cb = *(pm_callback_t *)((void *)dev->driver->pm + cb_offset); in __rpm_get_callback()