Home
last modified time | relevance | path

Searched refs:disable_depth (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/include/trace/events/
Drpm.h28 __field( int , disable_depth )
40 __entry->disable_depth = dev->power.disable_depth;
52 __entry->disable_depth,
/linux-6.1.9/drivers/base/power/
Druntime.c69 if (dev->power.disable_depth > 0) in update_pm_runtime_accounting()
264 else if (dev->power.disable_depth > 0) in rpm_check_suspend_allowed()
775 } else if (dev->power.disable_depth > 0) { in rpm_resume()
849 if (dev->parent->power.disable_depth > 0 in rpm_resume()
889 if (!parent->power.disable_depth in rpm_resume()
1205 if (dev->power.disable_depth > 0) { in pm_runtime_get_if_active()
1262 if (dev->power.runtime_error || dev->power.disable_depth) in __pm_runtime_set_status()
1263 dev->power.disable_depth++; in __pm_runtime_set_status()
1304 if (!parent->power.disable_depth in __pm_runtime_set_status()
1448 if (dev->power.disable_depth > 0) { in __pm_runtime_disable()
[all …]
Dsysfs.c157 } else if (dev->power.disable_depth) { in runtime_status_show()
574 if (dev->power.disable_depth && !dev->power.runtime_auto) in runtime_enabled_show()
576 else if (dev->power.disable_depth) in runtime_enabled_show()
Dpower.h17 dev->power.disable_depth = 1; in pm_runtime_early_init()
Ddomain.c3079 else if (dev->power.disable_depth) in rtpm_status_str()
/linux-6.1.9/include/linux/
Dpm_runtime.h160 && !dev->power.disable_depth; in pm_runtime_suspended()
178 || dev->power.disable_depth; in pm_runtime_active()
209 return !dev->power.disable_depth; in pm_runtime_enabled()
Dpm.h669 unsigned int disable_depth:3; member
/linux-6.1.9/Documentation/power/
Druntime_pm.rst238 `unsigned int disable_depth;`
270 PM for it (invalid initially and when disable_depth is 0)
330 'power.disable_depth' is different from 0
341 'power.disable_depth' is nonzero, but the status was 'active' when it was
345 that the callback could not be run, because 'power.disable_depth' was
394 - return -EINVAL if 'power.disable_depth' is nonzero; otherwise, if the
400 - return -EINVAL if 'power.disable_depth' is nonzero; otherwise, if the
429 - decrement the device's 'power.disable_depth' field; if that field is equal
434 - increment the device's 'power.disable_depth' field (if the value of that
457 'power.runtime_error' is set or 'power.disable_depth' is greater than
[all …]
/linux-6.1.9/arch/sh/drivers/
Dplatform_early.c53 dev->power.disable_depth = 1; in pm_runtime_early_init()
/linux-6.1.9/drivers/usb/core/
Ddriver.c1900 if (intf->dev.power.disable_depth) in autosuspend_check()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c4240 dev->dev->power.disable_depth++; in amdgpu_device_resume()
4247 dev->dev->power.disable_depth--; in amdgpu_device_resume()