SOF PM runtime specification mapping for Zephyr builds.
More...
SOF PM runtime specification mapping for Zephyr builds.
This interface is considered deprecated and native Zephyr interfaces should be used instead.
◆ pm_runtime_context
Runtime power management context.
| Enumerator |
|---|
| PM_RUNTIME_DSP | DSP.
|
◆ platform_pm_runtime_prepare_d0ix_en()
| void platform_pm_runtime_prepare_d0ix_en |
( |
uint32_t | index | ) |
|
|
inlinestatic |
◆ pm_runtime_disable()
Disables power management operations for the resource.
- Parameters
-
| [in] | context | Type of power management context. |
| [in] | index | Index of the device. |
◆ pm_runtime_enable()
Enables power management operations for the resource.
- Parameters
-
| [in] | context | Type of power management context. |
| [in] | index | Index of the device. |
◆ pm_runtime_get()
Retrieves power management resource (async).
- Parameters
-
| [in] | context | Type of power management context. |
| [in] | index | Index of the device. |
◆ pm_runtime_get_sync()
Retrieves power management resource.
- Parameters
-
| [in] | context | Type of power management context. |
| [in] | index | Index of the device. |
◆ pm_runtime_init()
| void pm_runtime_init |
( |
struct sof * | sof | ) |
|
|
inlinestatic |
Initializes runtime power management.
◆ pm_runtime_is_active()
Reports state of the power managed resource.
- Parameters
-
| context | Type of power management context. |
| index | Index of the resource. |
- Returns
- true if the resource is active or pm disabled, false otherwise.
◆ pm_runtime_put()
Releases power management resource (async).
- Parameters
-
| [in] | context | Type of power management context. |
| [in] | index | Index of the device. |
◆ pm_runtime_put_sync()
Releases power management resource.
- Parameters
-
| [in] | context | Type of power management context. |
| [in] | index | Index of the device. |