Lines Matching defs:value
78 * that cases it should be safe to leave the default value.
80 * autosuspend_delay_ms - Report/change a device's autosuspend_delay value
85 * value (expressed in milliseconds) and it can be controlled by the user.
86 * If the value is negative then the device will never be runtime
90 * value are used only if the driver calls pm_runtime_use_autosuspend().
215 s32 value = dev_pm_qos_requested_resume_latency(dev);
217 if (value == 0)
219 if (value == PM_QOS_RESUME_LATENCY_NO_CONSTRAINT)
220 value = 0;
222 return sysfs_emit(buf, "%d\n", value);
229 s32 value;
232 if (!kstrtos32(buf, 0, &value)) {
237 if (value < 0 || value == PM_QOS_RESUME_LATENCY_NO_CONSTRAINT)
240 if (value == 0)
241 value = PM_QOS_RESUME_LATENCY_NO_CONSTRAINT;
243 value = 0;
249 value);
259 s32 value = dev_pm_qos_get_user_latency_tolerance(dev);
261 if (value < 0)
263 if (value == PM_QOS_LATENCY_ANY)
266 return sysfs_emit(buf, "%d\n", value);
273 s32 value;
276 if (kstrtos32(buf, 0, &value) == 0) {
278 if (value < 0)
282 value = PM_QOS_LATENCY_TOLERANCE_NO_CONSTRAINT;
284 value = PM_QOS_LATENCY_ANY;
288 ret = dev_pm_qos_update_user_latency_tolerance(dev, value);