diff options
Diffstat (limited to 'Documentation/power/pm_qos_interface.rst')
-rw-r--r-- | Documentation/power/pm_qos_interface.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/power/pm_qos_interface.rst b/Documentation/power/pm_qos_interface.rst index 945fc6d760c9..69921f072ce1 100644 --- a/Documentation/power/pm_qos_interface.rst +++ b/Documentation/power/pm_qos_interface.rst @@ -129,7 +129,7 @@ int dev_pm_qos_remove_request(handle): and call the notification trees if the target was changed as a result of removing the request. -s32 dev_pm_qos_read_value(device): +s32 dev_pm_qos_read_value(device, type): Returns the aggregated value for a given device's constraints list. enum pm_qos_flags_status dev_pm_qos_flags(device, mask) @@ -176,12 +176,14 @@ Notification mechanisms: The per-device PM QoS framework has a per-device notification tree. -int dev_pm_qos_add_notifier(device, notifier): - Adds a notification callback function for the device. +int dev_pm_qos_add_notifier(device, notifier, type): + Adds a notification callback function for the device for a particular request + type. + The callback is called when the aggregated value of the device constraints list - is changed (for resume latency device PM QoS only). + is changed. -int dev_pm_qos_remove_notifier(device, notifier): +int dev_pm_qos_remove_notifier(device, notifier, type): Removes the notification callback function for the device. |