Lines Matching refs:kdev
356 ret = pm_runtime_get_sync(rpm->kdev); in __intel_runtime_pm_get()
436 if (pm_runtime_get_if_active(rpm->kdev, ignore_usecount) <= 0) in __intel_runtime_pm_get_if_active()
477 pm_runtime_get_noresume(rpm->kdev); in intel_runtime_pm_get_noresume()
488 struct device *kdev = rpm->kdev; in __intel_runtime_pm_put() local
494 pm_runtime_mark_last_busy(kdev); in __intel_runtime_pm_put()
495 pm_runtime_put_autosuspend(kdev); in __intel_runtime_pm_put()
561 struct device *kdev = rpm->kdev; in intel_runtime_pm_enable() local
571 dev_pm_set_driver_flags(kdev, DPM_FLAG_NO_DIRECT_COMPLETE); in intel_runtime_pm_enable()
573 pm_runtime_set_autosuspend_delay(kdev, 10000); /* 10s */ in intel_runtime_pm_enable()
574 pm_runtime_mark_last_busy(kdev); in intel_runtime_pm_enable()
585 pm_runtime_dont_use_autosuspend(kdev); in intel_runtime_pm_enable()
586 ret = pm_runtime_get_sync(kdev); in intel_runtime_pm_enable()
590 pm_runtime_use_autosuspend(kdev); in intel_runtime_pm_enable()
598 pm_runtime_put_autosuspend(kdev); in intel_runtime_pm_enable()
606 struct device *kdev = rpm->kdev; in intel_runtime_pm_disable() local
609 drm_WARN(&i915->drm, pm_runtime_get_sync(kdev) < 0, in intel_runtime_pm_disable()
612 pm_runtime_dont_use_autosuspend(kdev); in intel_runtime_pm_disable()
615 pm_runtime_put(kdev); in intel_runtime_pm_disable()
638 struct device *kdev = &pdev->dev; in intel_runtime_pm_init_early() local
640 rpm->kdev = kdev; in intel_runtime_pm_init_early()