Home
last modified time | relevance | path

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

/Linux-v6.6/include/trace/events/
Drpm.h28 __field( int , disable_depth )
40 __entry->disable_depth = dev->power.disable_depth;
52 __entry->disable_depth,
/Linux-v6.6/drivers/base/power/
Druntime.c69 if (dev->power.disable_depth > 0) in update_pm_runtime_accounting()
263 else if (dev->power.disable_depth > 0) in rpm_check_suspend_allowed()
773 } else if (dev->power.disable_depth > 0) { in rpm_resume()
847 if (dev->parent->power.disable_depth > 0 || in rpm_resume()
888 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.c3095 else if (dev->power.disable_depth) in rtpm_status_str()
/Linux-v6.6/include/linux/
Dpm_runtime.h158 && !dev->power.disable_depth; in pm_runtime_suspended()
176 || dev->power.disable_depth; in pm_runtime_active()
207 return !dev->power.disable_depth; in pm_runtime_enabled()
Dpm.h682 unsigned int disable_depth:3; member
/Linux-v6.6/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-v6.6/arch/sh/drivers/
Dplatform_early.c53 dev->power.disable_depth = 1; in pm_runtime_early_init()
/Linux-v6.6/drivers/usb/core/
Ddriver.c1900 if (intf->dev.power.disable_depth) in autosuspend_check()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c4250 dev->dev->power.disable_depth++; in amdgpu_device_resume()
4257 dev->dev->power.disable_depth--; in amdgpu_device_resume()