Home
last modified time | relevance | path

Searched refs:rpm (Results 1 – 25 of 73) sorted by relevance

123

/openbsd/src/sys/dev/pci/drm/i915/
Dintel_runtime_pm.c53 static struct drm_i915_private *rpm_to_i915(struct intel_runtime_pm *rpm) in rpm_to_i915() argument
55 return container_of(rpm, struct drm_i915_private, runtime_pm); in rpm_to_i915()
60 static void init_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) in init_intel_runtime_pm_wakeref() argument
62 ref_tracker_dir_init(&rpm->debug, INTEL_REFTRACK_DEAD_COUNT, dev_name(rpm->kdev)); in init_intel_runtime_pm_wakeref()
66 track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) in track_intel_runtime_pm_wakeref() argument
68 if (!rpm->available || rpm->no_wakeref_tracking) in track_intel_runtime_pm_wakeref()
71 return intel_ref_tracker_alloc(&rpm->debug); in track_intel_runtime_pm_wakeref()
74 static void untrack_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, in untrack_intel_runtime_pm_wakeref() argument
77 if (!rpm->available || rpm->no_wakeref_tracking) in untrack_intel_runtime_pm_wakeref()
80 intel_ref_tracker_free(&rpm->debug, wakeref); in untrack_intel_runtime_pm_wakeref()
[all …]
Dintel_runtime_pm.h101 assert_rpm_device_not_suspended(struct intel_runtime_pm *rpm) in assert_rpm_device_not_suspended() argument
103 WARN_ONCE(pm_runtime_suspended(rpm->kdev), in assert_rpm_device_not_suspended()
108 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument
110 assert_rpm_device_not_suspended(rpm); in __assert_rpm_raw_wakeref_held()
116 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument
118 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held()
124 assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm) in assert_rpm_raw_wakeref_held() argument
126 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held()
130 assert_rpm_wakelock_held(struct intel_runtime_pm *rpm) in assert_rpm_wakelock_held() argument
132 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_held()
[all …]
Di915_hwmon.c83 with_intel_runtime_pm(uncore->rpm, wakeref) { in hwm_locked_with_pm_intel_uncore_rmw()
105 with_intel_runtime_pm(uncore->rpm, wakeref) in hwm_field_read_and_scale()
148 with_intel_runtime_pm(uncore->rpm, wakeref) { in hwm_energy()
175 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_power1_max_interval_show()
335 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_in_read()
381 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_power_max_read()
394 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_power_max_read()
418 wakeref = intel_runtime_pm_get(ddat->uncore->rpm); in hwm_power_max_write()
432 intel_runtime_pm_put(ddat->uncore->rpm, wakeref); in hwm_power_max_write()
459 intel_runtime_pm_put(ddat->uncore->rpm, wakeref); in hwm_power_max_write()
[all …]
Di915_driver.c907 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_driver_release() local
913 wakeref = intel_runtime_pm_get(rpm); in i915_driver_release()
924 intel_runtime_pm_put(rpm, wakeref); in i915_driver_release()
926 intel_runtime_pm_driver_release(rpm); in i915_driver_release()
1091 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_drm_suspend_late() local
1096 disable_rpm_wakeref_asserts(rpm); in i915_drm_suspend_late()
1134 enable_rpm_wakeref_asserts(rpm); in i915_drm_suspend_late()
1136 intel_runtime_pm_driver_release(rpm); in i915_drm_suspend_late()
1485 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in intel_runtime_suspend() local
1496 disable_rpm_wakeref_asserts(rpm); in intel_runtime_suspend()
[all …]
Di915_gem.c117 struct intel_runtime_pm *rpm = &to_i915(obj->base.dev)->runtime_pm; in i915_gem_object_unbind() local
135 wakeref = intel_runtime_pm_get(rpm); in i915_gem_object_unbind()
200 intel_runtime_pm_put(rpm, wakeref); in i915_gem_object_unbind()
547 struct intel_runtime_pm *rpm = &i915->runtime_pm; in i915_gem_gtt_pwrite_fast() local
567 wakeref = intel_runtime_pm_get_if_in_use(rpm); in i915_gem_gtt_pwrite_fast()
572 wakeref = intel_runtime_pm_get(rpm); in i915_gem_gtt_pwrite_fast()
632 intel_runtime_pm_put(rpm, wakeref); in i915_gem_gtt_pwrite_fast()
Dintel_pcode.c255 with_intel_runtime_pm(uncore->rpm, wakeref) in snb_pcode_read_p()
271 with_intel_runtime_pm(uncore->rpm, wakeref) in snb_pcode_write_p()
Dintel_uncore.c437 assert_rpm_device_not_suspended(uncore->rpm); in intel_uncore_fw_release_timer()
464 assert_rpm_device_not_suspended(uncore->rpm); in intel_uncore_fw_release_timer()
726 assert_rpm_wakelock_held(uncore->rpm); in intel_uncore_forcewake_get()
911 assert_rpm_wakelock_held(uncore->rpm); in assert_forcewakes_active()
1854 assert_rpm_wakelock_held(uncore->rpm);
1897 assert_rpm_wakelock_held(uncore->rpm); \
1964 assert_rpm_wakelock_held(uncore->rpm); \
2003 assert_rpm_wakelock_held(uncore->rpm); \
2354 disable_rpm_wakeref_asserts(uncore->rpm); in i915_pmic_bus_access_notifier()
2356 enable_rpm_wakeref_asserts(uncore->rpm); in i915_pmic_bus_access_notifier()
[all …]
/openbsd/src/sys/dev/pci/drm/i915/gvt/
Daperture_gm.c138 assert_rpm_wakelock_held(uncore->rpm); in intel_vgpu_write_fence()
177 wakeref = intel_runtime_pm_get(uncore->rpm); in free_vgpu_fence()
188 intel_runtime_pm_put(uncore->rpm, wakeref); in free_vgpu_fence()
199 wakeref = intel_runtime_pm_get(uncore->rpm); in alloc_vgpu_fence()
215 intel_runtime_pm_put(uncore->rpm, wakeref); in alloc_vgpu_fence()
229 intel_runtime_pm_put_unchecked(uncore->rpm); in alloc_vgpu_fence()
326 with_intel_runtime_pm(gvt->gt->uncore->rpm, wakeref) in intel_vgpu_reset_resource()
/openbsd/src/sys/arch/macppc/dev/
Dsmu.c664 smu_fan_set_rpm(struct smu_softc *sc, struct smu_fan *fan, u_int16_t rpm) in smu_fan_set_rpm() argument
679 cmd->data[2] = cmd->data[2 + fan->reg * 2] = (rpm >> 8) & 0xff; in smu_fan_set_rpm()
680 cmd->data[3] = cmd->data[3 + fan->reg * 2] = (rpm & 0xff); in smu_fan_set_rpm()
686 cmd->data[2] = (rpm >> 8) & 0xff; in smu_fan_set_rpm()
687 cmd->data[3] = rpm & 0xff; in smu_fan_set_rpm()
716 smu_fan_read_rpm(struct smu_softc *sc, struct smu_fan *fan, u_int16_t *rpm) in smu_fan_read_rpm() argument
728 *rpm = (cmd->data[fan->reg * 2 + 1] << 8) | in smu_fan_read_rpm()
738 *rpm = (cmd->data[0] << 8) | cmd->data[1]; in smu_fan_read_rpm()
746 u_int16_t *rpm) in smu_fan_read_pwm() argument
769 *rpm = (cmd->data[fan->reg * 2 + 1] << 8) | in smu_fan_read_pwm()
[all …]
/openbsd/src/usr.bin/file/magdir/
Drpm1 # $OpenBSD: rpm,v 1.7 2015/10/06 08:12:30 nicm Exp $
8 !:mime application/x-rpm
35 !:mime application/x-rpm
/openbsd/src/sys/dev/pci/drm/i915/gt/
Dselftest_reset.c52 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in __igt_reset_stolen()
176 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in __igt_reset_stolen()
219 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_global_reset()
230 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_global_reset()
247 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_wedged_reset()
254 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_wedged_reset()
Dselftest_llc.c17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq()
63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq()
Dintel_gt_pm_debugfs.c326 with_intel_runtime_pm(gt->uncore->rpm, wakeref) { in drpc_show()
348 wakeref = intel_runtime_pm_get(uncore->rpm); in intel_gt_pm_frequency_dump()
400 intel_runtime_pm_put(uncore->rpm, wakeref); in intel_gt_pm_frequency_dump()
438 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in llc_show()
452 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in llc_show()
555 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in perf_limit_reasons_get()
571 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in perf_limit_reasons_clear()
Dintel_gt_pm.c190 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gt_sanitize()
229 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gt_sanitize()
385 with_intel_runtime_pm(gt->uncore->rpm, wakeref) { in intel_gt_suspend_late()
Dselftest_rc6.c55 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in live_rc6_manual()
121 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in live_rc6_manual()
Dintel_ggtt_fencing.c266 wakeref = intel_runtime_pm_get_if_in_use(uncore->rpm); in fence_update()
280 intel_runtime_pm_put(uncore->rpm, wakeref); in fence_update()
320 with_intel_runtime_pm_if_active(fence_to_uncore(fence)->rpm, wakeref) in i915_vma_revoke_fence()
434 assert_rpm_wakelock_held(vma->vm->gt->uncore->rpm); in i915_vma_pin_fence()
/openbsd/src/sys/dev/pci/drm/i915/gt/uc/
Dselftest_guc.c62 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_scrub_ctbs()
126 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_scrub_ctbs()
162 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_steal_guc_ids()
282 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_steal_guc_ids()
324 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_fast_request()
399 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_fast_request()
Dselftest_guc_hangcheck.c53 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_hang_guc()
142 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_hang_guc()
Dintel_gsc_uc.c24 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gsc_work()
95 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gsc_work()
349 with_intel_runtime_pm(uncore->rpm, wakeref) { in intel_gsc_uc_load_status()
/openbsd/src/sys/dev/pci/drm/i915/gem/selftests/
Di915_gem_migrate.c340 wakeref = intel_runtime_pm_get(__gt->uncore->rpm); in igt_lmem_pages_failsafe_migrate()
344 intel_runtime_pm_put(__gt->uncore->rpm, wakeref); in igt_lmem_pages_failsafe_migrate()
495 wakeref = intel_runtime_pm_get(__gt->uncore->rpm); in igt_lmem_async_migrate()
499 intel_runtime_pm_put(__gt->uncore->rpm, wakeref); in igt_lmem_async_migrate()
/openbsd/src/sys/scsi/
Dscsi_disk.h361 u_int8_t rpm[2]; /* media rotation speed */ member
391 u_int8_t rpm[2]; /* media rotation speed */ member
465 u_int8_t rpm[2]; member
/openbsd/src/sys/dev/pci/drm/i915/gem/
Di915_gem_mman.c379 struct intel_runtime_pm *rpm = &i915->runtime_pm; in vm_fault_gtt() local
398 wakeref = intel_runtime_pm_get(rpm); in vm_fault_gtt()
500 assert_rpm_wakelock_held(rpm); in vm_fault_gtt()
536 intel_runtime_pm_put(rpm, wakeref); in vm_fault_gtt()
753 struct intel_runtime_pm *rpm = &i915->runtime_pm; in vm_fault_gtt() local
772 wakeref = intel_runtime_pm_get(rpm); in vm_fault_gtt()
873 assert_rpm_wakelock_held(rpm); in vm_fault_gtt()
909 intel_runtime_pm_put(rpm, wakeref); in vm_fault_gtt()
/openbsd/src/sys/dev/pci/drm/i915/display/
Dintel_display_power.c627 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in release_async_put_domains() local
631 wakeref = intel_runtime_pm_get_noresume(rpm); in release_async_put_domains()
639 intel_runtime_pm_put(rpm, wakeref); in release_async_put_domains()
649 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in intel_display_power_put_async_work() local
650 intel_wakeref_t new_work_wakeref = intel_runtime_pm_get_raw(rpm); in intel_display_power_put_async_work()
691 intel_runtime_pm_put_raw(rpm, old_work_wakeref); in intel_display_power_put_async_work()
693 intel_runtime_pm_put_raw(rpm, new_work_wakeref); in intel_display_power_put_async_work()
715 struct intel_runtime_pm *rpm = &i915->runtime_pm; in __intel_display_power_put_async() local
716 intel_wakeref_t work_wakeref = intel_runtime_pm_get_raw(rpm); in __intel_display_power_put_async()
748 intel_runtime_pm_put_raw(rpm, work_wakeref); in __intel_display_power_put_async()
[all …]
/openbsd/src/sys/dev/pci/drm/i915/selftests/
Dintel_uncore.c200 wakeref = intel_runtime_pm_get(uncore->rpm); in live_forcewake_ops()
271 intel_runtime_pm_put(uncore->rpm, wakeref); in live_forcewake_ops()
/openbsd/src/sys/dev/pci/drm/amd/pm/powerplay/
Damd_powerplay.c577 static int pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm) in pp_dpm_get_fan_speed_rpm() argument
587 if (!rpm) in pp_dpm_get_fan_speed_rpm()
590 return hwmgr->hwmgr_func->get_fan_speed_rpm(hwmgr, rpm); in pp_dpm_get_fan_speed_rpm()
593 static int pp_dpm_set_fan_speed_rpm(void *handle, uint32_t rpm) in pp_dpm_set_fan_speed_rpm() argument
603 if (rpm == U32_MAX) in pp_dpm_set_fan_speed_rpm()
606 return hwmgr->hwmgr_func->set_fan_speed_rpm(hwmgr, rpm); in pp_dpm_set_fan_speed_rpm()

123