Home
last modified time | relevance | path

Searched refs:PM_INIT_SUSPEND_CB (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/soc/xilinx/
H A Dxlnx_event_manager.c160 hash_for_each_possible(reg_driver_map, eve_data, hentry, PM_INIT_SUSPEND_CB) { in xlnx_add_cb_for_suspend()
161 if (eve_data->cb_type == PM_INIT_SUSPEND_CB) { in xlnx_add_cb_for_suspend()
173 eve_data->cb_type = PM_INIT_SUSPEND_CB; in xlnx_add_cb_for_suspend()
187 hash_add(reg_driver_map, &eve_data->hentry, PM_INIT_SUSPEND_CB); in xlnx_add_cb_for_suspend()
203 hash_for_each_possible_safe(reg_driver_map, eve_data, tmp, hentry, PM_INIT_SUSPEND_CB) { in xlnx_remove_cb_for_suspend()
204 if (eve_data->cb_type == PM_INIT_SUSPEND_CB) { in xlnx_remove_cb_for_suspend()
294 if (cb_type != PM_NOTIFY_CB && cb_type != PM_INIT_SUSPEND_CB) { in xlnx_register_event()
302 if (cb_type == PM_INIT_SUSPEND_CB) { in xlnx_register_event()
388 if (cb_type != PM_NOTIFY_CB && cb_type != PM_INIT_SUSPEND_CB) { in xlnx_unregister_event()
396 if (cb_type == PM_INIT_SUSPEND_CB) { in xlnx_unregister_event()
[all …]
H A Dzynqmp_power.c77 if (payload[0] == PM_INIT_SUSPEND_CB) { in zynqmp_pm_isr()
102 if (payload[0] == PM_INIT_SUSPEND_CB) { in ipi_receive_callback()
206 ret = xlnx_register_event(PM_INIT_SUSPEND_CB, 0, 0, false, in zynqmp_pm_probe()
213 xlnx_unregister_event(PM_INIT_SUSPEND_CB, 0, 0, in zynqmp_pm_probe()
269 xlnx_unregister_event(PM_INIT_SUSPEND_CB, 0, 0, suspend_event_callback, in zynqmp_pm_probe()
284 xlnx_unregister_event(PM_INIT_SUSPEND_CB, 0, 0, suspend_event_callback, NULL); in zynqmp_pm_remove()
/openbmc/linux/include/linux/firmware/
H A Dxlnx-zynqmp.h104 PM_INIT_SUSPEND_CB = 30, enumerator