Searched refs:pm_work (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/soc/xilinx/ |
D | zynqmp_power.c | 162 struct zynqmp_pm_work_struct *pm_work = container_of(work, struct zynqmp_pm_work_struct, in zynqmp_pm_subsystem_restart_work_fn() local 166 if (pm_work->args[0] == PM_NOTIFY_CB) { in zynqmp_pm_subsystem_restart_work_fn() 167 if (pm_work->args[2] == EVENT_SUBSYSTEM_RESTART) { in zynqmp_pm_subsystem_restart_work_fn() 177 pr_err("%s Unsupported Event - %d\n", __func__, pm_work->args[2]); in zynqmp_pm_subsystem_restart_work_fn() 180 pr_err("%s() Unsupported Callback %d\n", __func__, pm_work->args[0]); in zynqmp_pm_subsystem_restart_work_fn() 192 struct zynqmp_pm_work_struct *pm_work = in zynqmp_pm_init_suspend_work_fn() local 195 if (pm_work->args[0] == SUSPEND_SYSTEM_SHUTDOWN) { in zynqmp_pm_init_suspend_work_fn() 197 } else if (pm_work->args[0] == SUSPEND_POWER_REQUEST) { in zynqmp_pm_init_suspend_work_fn() 201 __func__, pm_work->args[0]); in zynqmp_pm_init_suspend_work_fn()
|
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 223 struct work_struct pm_work; member 716 static void ccg_pm_workaround_work(struct work_struct *pm_work) in ccg_pm_workaround_work() argument 718 ccg_irq_handler(0, container_of(pm_work, struct ucsi_ccg, pm_work)); in ccg_pm_workaround_work() 1421 INIT_WORK(&uc->pm_work, ccg_pm_workaround_work); in ucsi_ccg_probe() 1491 cancel_work_sync(&uc->pm_work); in ucsi_ccg_remove() 1542 schedule_work(&uc->pm_work); in ucsi_ccg_runtime_resume()
|