Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/xilinx/
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()
216 if (eve_data->cb_type == PM_INIT_SUSPEND_CB) { in xlnx_remove_cb_for_suspend()
296 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, in xlnx_register_event() argument
306 if (cb_type != PM_NOTIFY_CB && cb_type != PM_INIT_SUSPEND_CB) { in xlnx_register_event()
307 pr_err("%s() Unsupported Callback 0x%x\n", __func__, cb_type); in xlnx_register_event()
314 if (cb_type == PM_INIT_SUSPEND_CB) { in xlnx_register_event()
389 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 …]
Dzynqmp_power.c46 enum pm_api_cb_id cb_type; member
253 xlnx_unregister_event(event_info->cb_type, event_info->node_id, in unregister_event()
257 static int register_event(struct device *dev, const enum pm_api_cb_id cb_type, const u32 node_id, in register_event() argument
268 event_info->cb_type = cb_type; in register_event()
274 ret = xlnx_register_event(event_info->cb_type, event_info->node_id, in register_event()
/linux-6.12.1/include/linux/firmware/
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-6.12.1/drivers/acpi/
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()