Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/xilinx/
H A Dxlnx_event_manager.c73 enum pm_api_cb_id cb_type; member
115 eve_data->cb_type = PM_NOTIFY_CB; in xlnx_add_cb_for_notify_event()
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()
204 if (eve_data->cb_type == PM_INIT_SUSPEND_CB) { in xlnx_remove_cb_for_suspend()
284 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, in xlnx_register_event() argument
294 if (cb_type != PM_NOTIFY_CB && cb_type != PM_INIT_SUSPEND_CB) { in xlnx_register_event()
295 pr_err("%s() Unsupported Callback 0x%x\n", __func__, cb_type); in xlnx_register_event()
302 if (cb_type == PM_INIT_SUSPEND_CB) { in xlnx_register_event()
377 int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, in xlnx_unregister_event() argument
[all …]
/openbmc/linux/include/linux/firmware/
H A Dxlnx-event-manager.h15 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id,
19 int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id,
22 static inline int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_register_event() argument
29 static inline int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_unregister_event() argument
/openbmc/linux/drivers/acpi/
H A Ddock.c88 enum dock_callback_type cb_type) in dock_hotplug_event() argument
97 if (cb_type == DOCK_CALL_FIXUP) { in dock_hotplug_event()
106 } else if (cb_type == DOCK_CALL_UEVENT) { in dock_hotplug_event()