Lines Matching refs:adev_to_drm
117 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
119 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
125 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
132 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
133 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
182 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
183 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_process_reg_op()
241 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
243 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
249 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
258 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
259 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
313 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
314 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs2_op()
408 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gprwave_read()
410 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gprwave_read()
416 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gprwave_read()
422 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gprwave_read()
449 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gprwave_read()
450 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gprwave_read()
528 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_read()
530 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_read()
536 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_read()
560 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_read()
561 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_read()
588 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_write()
590 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_write()
596 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_write()
620 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_write()
621 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_pcie_write()
651 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_read()
653 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_read()
659 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_read()
679 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_read()
680 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_read()
710 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_write()
712 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_write()
718 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_write()
739 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_write()
740 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_didt_write()
770 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_read()
772 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_read()
778 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_read()
798 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_read()
799 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_read()
829 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_write()
831 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_write()
837 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_write()
858 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_write()
859 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_regs_smc_write()
992 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_sensor_read()
994 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_sensor_read()
1000 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_sensor_read()
1006 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_sensor_read()
1007 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_sensor_read()
1074 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_wave_read()
1076 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_wave_read()
1082 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_wave_read()
1097 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_wave_read()
1098 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_wave_read()
1172 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gpr_read()
1195 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gpr_read()
1196 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gpr_read()
1218 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gpr_read()
1244 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_read()
1246 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_read()
1269 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_read()
1270 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_read()
1295 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_write()
1297 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_write()
1318 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_write()
1319 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_residency_write()
1343 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_count_read()
1345 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_count_read()
1368 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_count_read()
1369 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_count_read()
1394 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_write()
1396 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_write()
1417 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_write()
1418 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_write()
1442 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_read()
1444 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_read()
1463 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_read()
1464 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_read()
1479 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_status_read()
1481 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_status_read()
1504 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_status_read()
1505 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_gfxoff_status_read()
1645 struct drm_minor *minor = adev_to_drm(adev)->primary; in amdgpu_debugfs_regs_init()
1663 struct drm_device *dev = adev_to_drm(adev); in amdgpu_debugfs_test_ib_show()
1713 struct drm_device *dev = adev_to_drm(adev); in amdgpu_debugfs_evict_vram()
1734 struct drm_device *dev = adev_to_drm(adev); in amdgpu_debugfs_evict_gtt()
1754 struct drm_device *dev = adev_to_drm(adev); in amdgpu_debugfs_benchmark()
1774 struct drm_device *dev = adev_to_drm(adev); in amdgpu_debugfs_vm_info_show()
1996 ret = pm_runtime_get_sync(adev_to_drm(adev)->dev); in amdgpu_debugfs_sclk_set()
1998 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_sclk_set()
2017 pm_runtime_mark_last_busy(adev_to_drm(adev)->dev); in amdgpu_debugfs_sclk_set()
2018 pm_runtime_put_autosuspend(adev_to_drm(adev)->dev); in amdgpu_debugfs_sclk_set()
2031 struct dentry *root = adev_to_drm(adev)->primary->debugfs_root; in amdgpu_debugfs_init()