• Home
  • Raw
  • Download

Lines Matching +full:per +full:- +full:device

10 2. the per-device PM QoS framework provides the API to manage the per-device latency
22 The infrastructure exposes multiple misc device nodes one per implemented
79 As long as the device node is held open that process has a registered
83 the open device node. Alternatively the user mode program could write a hex
87 To remove the user mode request for a target value simply close the device
91 2. PM QoS per-device latency and flags framework
93 For each device, there are three lists of PM QoS requests. Two of them are
101 values. One device PM QoS flag is defined currently: PM_QOS_FLAG_NO_POWER_OFF.
109 int dev_pm_qos_add_request(device, handle, type, value):
110 Will insert an element into the list for that identified device with the
126 s32 dev_pm_qos_read_value(device):
127 Returns the aggregated value for a given device's constraints list.
129 enum pm_qos_flags_status dev_pm_qos_flags(device, mask)
130 Check PM QoS flags of the given device against the given mask of flags.
135 PM_QOS_FLAGS_UNDEFINED: The device's PM QoS structure has not been
139 Add a PM QoS request for the first direct ancestor of the given device whose
144 int dev_pm_qos_expose_latency_limit(device, value)
145 Add a request to the device's PM QoS list of resume latency constraints and
146 create a sysfs attribute pm_qos_resume_latency_us under the device's power
149 void dev_pm_qos_hide_latency_limit(device)
150 Drop the request added by dev_pm_qos_expose_latency_limit() from the device's
152 pm_qos_resume_latency_us from the device's power directory.
154 int dev_pm_qos_expose_flags(device, value)
155 Add a request to the device's PM QoS list of flags and create sysfs attribute
156 pm_qos_no_power_off under the device's power directory allowing user space to
159 void dev_pm_qos_hide_flags(device)
160 Drop the request added by dev_pm_qos_expose_flags() from the device's PM QoS list
161 of flags and remove sysfs attribute pm_qos_no_power_off from the device's power
165 The per-device PM QoS framework has a per-device notification tree.
167 int dev_pm_qos_add_notifier(device, notifier):
168 Adds a notification callback function for the device.
169 The callback is called when the aggregated value of the device constraints list
170 is changed (for resume latency device PM QoS only).
172 int dev_pm_qos_remove_notifier(device, notifier):
173 Removes the notification callback function for the device.
178 This device PM QoS type is used to support systems in which hardware may switch
179 to energy-saving operation modes on the fly. In those systems, if the operation
184 If there is a latency tolerance control mechanism for a given device available
185 to software, the .set_latency_tolerance callback in that device's dev_pm_info
190 Whenever the effective latency tolerance changes for the device, its
193 latency tolerance requirements for the device is empty, the callback is expected
198 automatically updating the device's latency tolerance in response to its power
202 If .set_latency_tolerance() is present for the device, sysfs attribute
205 requirement for the device, if any. Writing "any" to it means "no requirement,
208 requirements from the kernel side in the device's list.
211 DEV_PM_QOS_LATENCY_TOLERANCE device PM QoS type to add, remove and update