|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -824,6 +824,30 @@ QDF_STATUS ucfg_pmo_psoc_user_space_suspend_req(struct wlan_objmgr_psoc *psoc,
|
|
|
QDF_STATUS ucfg_pmo_psoc_user_space_resume_req(struct wlan_objmgr_psoc *psoc,
|
|
|
enum qdf_suspend_type type);
|
|
|
|
|
|
+/**
|
|
|
+ * ucfg_pmo_suspend_all_components() - Suspend all components
|
|
|
+ * @psoc: objmgr psoc handle
|
|
|
+ * @type: type of suspend
|
|
|
+ *
|
|
|
+ * Suspend all components registered to pmo
|
|
|
+ *
|
|
|
+ * Return: QDF status
|
|
|
+ */
|
|
|
+QDF_STATUS ucfg_pmo_suspend_all_components(struct wlan_objmgr_psoc *psoc,
|
|
|
+ enum qdf_suspend_type type);
|
|
|
+
|
|
|
+/**
|
|
|
+ * ucfg_pmo_resume_all_components() - Resume all components
|
|
|
+ * @psoc: objmgr psoc handle
|
|
|
+ * @type: type of suspend from which resume needed
|
|
|
+ *
|
|
|
+ * Resume all components registered to pmo
|
|
|
+ *
|
|
|
+ * Return: QDF status
|
|
|
+ */
|
|
|
+QDF_STATUS ucfg_pmo_resume_all_components(struct wlan_objmgr_psoc *psoc,
|
|
|
+ enum qdf_suspend_type type);
|
|
|
+
|
|
|
/**
|
|
|
* ucfg_pmo_psoc_bus_suspend_req(): handles bus suspend for psoc
|
|
|
* @psoc: objmgr psoc
|
|
@@ -1458,6 +1482,20 @@ ucfg_pmo_psoc_user_space_resume_req(
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
+static inline QDF_STATUS
|
|
|
+ucfg_pmo_suspend_all_components(struct wlan_objmgr_psoc *psoc,
|
|
|
+ enum qdf_suspend_type type)
|
|
|
+{
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
+}
|
|
|
+
|
|
|
+static inline QDF_STATUS
|
|
|
+ucfg_pmo_resume_all_components(struct wlan_objmgr_psoc *psoc,
|
|
|
+ enum qdf_suspend_type type)
|
|
|
+{
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
+}
|
|
|
+
|
|
|
static inline QDF_STATUS
|
|
|
ucfg_pmo_psoc_bus_suspend_req(
|
|
|
struct wlan_objmgr_psoc *psoc,
|