Lines Matching refs:ddev

119 	struct drm_device *ddev = dev_get_drvdata(dev);  in amdgpu_get_power_dpm_state()  local
120 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_state()
127 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
129 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
144 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state()
145 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
157 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_power_dpm_state() local
158 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_state()
174 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_state()
176 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state()
193 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_state()
194 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state()
263 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_power_dpm_force_performance_level() local
264 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_force_performance_level()
271 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
273 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
284 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
285 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
304 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_power_dpm_force_performance_level() local
305 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_force_performance_level()
335 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
337 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
347 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
348 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
368 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
369 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
376 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
377 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
384 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
385 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
391 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
392 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
399 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
400 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
409 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_num_states() local
410 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_num_states()
417 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_num_states()
419 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_num_states()
433 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_num_states()
434 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_num_states()
451 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_cur_state() local
452 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_cur_state()
461 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_cur_state()
463 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_cur_state()
478 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_cur_state()
479 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_cur_state()
496 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_force_state() local
497 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_force_state()
513 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_force_state() local
514 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_force_state()
539 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_force_state()
541 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_force_state()
552 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_force_state()
553 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_force_state()
574 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_table() local
575 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_table()
582 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_table()
584 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
590 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_table()
591 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
596 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_table()
597 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
601 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_table()
602 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
619 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_table() local
620 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_table()
626 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_table()
628 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_table()
635 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_table()
636 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_table()
642 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_table()
643 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_table()
765 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_od_clk_voltage() local
766 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_od_clk_voltage()
814 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
816 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
825 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
826 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
836 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
837 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
846 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
847 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
857 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
858 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
861 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
862 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
867 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
868 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
877 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_od_clk_voltage() local
878 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_od_clk_voltage()
885 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
887 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
904 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
905 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
931 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_features() local
932 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_features()
945 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_features()
947 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
954 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_features()
955 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
961 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_features()
962 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
966 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_features()
967 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
976 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_features() local
977 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_features()
984 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_features()
986 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_features()
997 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_features()
998 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_features()
1037 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_sclk() local
1038 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_sclk()
1045 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_sclk()
1047 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_sclk()
1058 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_sclk()
1059 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_sclk()
1105 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_sclk() local
1106 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_sclk()
1117 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_sclk()
1119 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_sclk()
1128 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_sclk()
1129 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_sclk()
1141 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_mclk() local
1142 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_mclk()
1149 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_mclk()
1151 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_mclk()
1162 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_mclk()
1163 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_mclk()
1173 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_mclk() local
1174 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_mclk()
1185 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_mclk()
1187 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_mclk()
1196 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_mclk()
1197 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_mclk()
1209 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_socclk() local
1210 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_socclk()
1217 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_socclk()
1219 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_socclk()
1230 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_socclk()
1231 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_socclk()
1241 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_socclk() local
1242 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_socclk()
1253 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_socclk()
1255 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_socclk()
1266 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_socclk()
1267 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_socclk()
1279 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_fclk() local
1280 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_fclk()
1287 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_fclk()
1289 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_fclk()
1300 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_fclk()
1301 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_fclk()
1311 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_fclk() local
1312 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_fclk()
1323 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_fclk()
1325 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_fclk()
1336 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_fclk()
1337 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_fclk()
1349 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_dcefclk() local
1350 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_dcefclk()
1357 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_dcefclk()
1359 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_dcefclk()
1370 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_dcefclk()
1371 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_dcefclk()
1381 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_dcefclk() local
1382 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_dcefclk()
1393 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_dcefclk()
1395 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_dcefclk()
1406 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_dcefclk()
1407 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_dcefclk()
1419 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_pcie() local
1420 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_pcie()
1427 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_pcie()
1429 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_pcie()
1440 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_pcie()
1441 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_pcie()
1451 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_pcie() local
1452 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_pcie()
1463 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_pcie()
1465 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_pcie()
1476 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_pcie()
1477 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_pcie()
1489 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_sclk_od() local
1490 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_sclk_od()
1497 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_sclk_od()
1499 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_sclk_od()
1508 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_sclk_od()
1509 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_sclk_od()
1519 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_sclk_od() local
1520 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_sclk_od()
1532 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_sclk_od()
1534 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_sclk_od()
1552 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_sclk_od()
1553 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_sclk_od()
1562 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_mclk_od() local
1563 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_mclk_od()
1570 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_mclk_od()
1572 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_mclk_od()
1581 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_mclk_od()
1582 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_mclk_od()
1592 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_mclk_od() local
1593 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_mclk_od()
1605 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_mclk_od()
1607 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_mclk_od()
1625 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_mclk_od()
1626 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_mclk_od()
1655 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_power_profile_mode() local
1656 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_power_profile_mode()
1663 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1665 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1676 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1677 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1689 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_power_profile_mode() local
1690 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_power_profile_mode()
1728 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1730 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1739 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1740 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1760 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_gpu_busy_percent() local
1761 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_gpu_busy_percent()
1767 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_gpu_busy_percent()
1769 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_busy_percent()
1777 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_gpu_busy_percent()
1778 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_busy_percent()
1798 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_mem_busy_percent() local
1799 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_mem_busy_percent()
1805 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_mem_busy_percent()
1807 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_mem_busy_percent()
1815 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_mem_busy_percent()
1816 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_mem_busy_percent()
1840 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pcie_bw() local
1841 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pcie_bw()
1854 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pcie_bw()
1856 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pcie_bw()
1862 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pcie_bw()
1863 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pcie_bw()
1883 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_unique_id() local
1884 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_unique_id()
1914 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_thermal_throttling_logging() local
1915 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_thermal_throttling_logging()
1928 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_thermal_throttling_logging() local
1929 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_thermal_throttling_logging()
1978 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_gpu_metrics() local
1979 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_gpu_metrics()
1987 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_gpu_metrics()
1989 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_metrics()
2007 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_gpu_metrics()
2008 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_metrics()