Home
last modified time | relevance | path

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

/linux/drivers/soc/xilinx/
H A Dxlnx_event_manager.c72 enum pm_api_cb_id cb_type; member
129 eve_data->cb_type = PM_NOTIFY_CB; in xlnx_add_cb_for_notify_event()
175 if (eve_data->cb_type == PM_INIT_SUSPEND_CB) { in xlnx_add_cb_for_suspend()
187 eve_data->cb_type = PM_INIT_SUSPEND_CB; in xlnx_add_cb_for_suspend()
218 if (eve_data->cb_type == PM_INIT_SUSPEND_CB) { in xlnx_remove_cb_for_suspend()
298 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, in xlnx_register_event() argument
308 if (cb_type != PM_NOTIFY_CB && cb_type != PM_INIT_SUSPEND_CB) { in xlnx_register_event()
309 pr_err("%s() Unsupported Callback 0x%x\n", __func__, cb_type); in xlnx_register_event()
316 if (cb_type == PM_INIT_SUSPEND_CB) { in xlnx_register_event()
391 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 …]
/linux/include/linux/firmware/
H A Dxlnx-event-manager.h25 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id,
29 int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id,
32 static inline int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_register_event() argument
39 static inline int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_unregister_event() argument
/linux/drivers/acpi/
H A Ddock.c88 enum dock_callback_type cb_type) in dock_hotplug_event() argument
98 if (cb_type == DOCK_CALL_FIXUP) in dock_hotplug_event()
100 else if (cb_type == DOCK_CALL_UEVENT) in dock_hotplug_event()