Lines Matching refs:usage
68 if (pm->base.usage == 0U) { in runtime_suspend()
74 pm->base.usage--; in runtime_suspend()
75 if (pm->base.usage > 0U) { in runtime_suspend()
87 pm->base.usage++; in runtime_suspend()
112 pm->base.usage++; in runtime_suspend_work()
138 if (pm->base.usage == 0) { in get_sync_locked()
161 pm->base.usage++; in get_sync_locked()
226 pm->base.usage++; in pm_device_runtime_get()
254 if (pm->base.usage > 1U) { in pm_device_runtime_get()
260 pm->base.usage--; in pm_device_runtime_get()
288 if (pm->base.usage == 0U) { in put_sync_locked()
292 pm->base.usage--; in put_sync_locked()
293 if (pm->base.usage == 0U) { in put_sync_locked()
403 pm->base.usage = 0U; in runtime_enable_sync()
453 pm->base.usage = 0U; in pm_device_runtime_enable()
570 return dev->pm_base->usage; in pm_device_runtime_usage()