Lines Matching refs:ddev

158 	struct drm_device *ddev = dev_get_drvdata(dev);  in amdgpu_get_dpm_state()  local
159 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_dpm_state()
183 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_dpm_state() local
184 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_dpm_state()
211 (ddev->switch_power_state == DRM_SWITCH_POWER_ON)) in amdgpu_set_dpm_state()
282 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_dpm_forced_performance_level() local
283 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_dpm_forced_performance_level()
290 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_get_dpm_forced_performance_level()
317 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_dpm_forced_performance_level() local
318 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_dpm_forced_performance_level()
325 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_set_dpm_forced_performance_level()
409 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_num_states() local
410 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_num_states()
436 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_cur_state() local
437 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_cur_state()
469 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_force_state() local
470 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_force_state()
483 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_force_state() local
484 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_force_state()
533 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_table() local
534 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_table()
561 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_table() local
562 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_table()
646 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_od_clk_voltage() local
647 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_od_clk_voltage()
725 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_od_clk_voltage() local
726 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_od_clk_voltage()
768 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_feature_status() local
769 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_feature_status()
796 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_feature_status() local
797 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_feature_status()
836 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_sclk() local
837 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_dpm_sclk()
892 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_sclk() local
893 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_dpm_sclk()
919 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_mclk() local
920 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_dpm_mclk()
939 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_mclk() local
940 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_dpm_mclk()
966 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_socclk() local
967 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_dpm_socclk()
982 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_socclk() local
983 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_dpm_socclk()
1006 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_fclk() local
1007 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_dpm_fclk()
1022 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_fclk() local
1023 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_dpm_fclk()
1046 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_dcefclk() local
1047 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_dpm_dcefclk()
1062 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_dcefclk() local
1063 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_dpm_dcefclk()
1086 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_pcie() local
1087 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_dpm_pcie()
1102 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_pcie() local
1103 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_dpm_pcie()
1126 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_sclk_od() local
1127 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_sclk_od()
1143 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_sclk_od() local
1144 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_sclk_od()
1177 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_mclk_od() local
1178 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_mclk_od()
1194 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_mclk_od() local
1195 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_mclk_od()
1248 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_power_profile_mode() local
1249 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pp_power_profile_mode()
1266 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_power_profile_mode() local
1267 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_pp_power_profile_mode()
1325 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_busy_percent() local
1326 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_busy_percent()
1351 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_memory_busy_percent() local
1352 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_memory_busy_percent()
1381 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pcie_bw() local
1382 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_pcie_bw()
1404 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_unique_id() local
1405 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_unique_id()
1470 struct drm_device *ddev = adev->ddev; in amdgpu_hwmon_show_temp() local
1476 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_show_temp()
1624 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_set_pwm1_enable()
1668 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_set_pwm1()
1708 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_get_pwm1()
1736 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_get_fan1_input()
1796 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_get_fan1_target()
1831 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_set_fan1_target()
1881 (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_set_fan1_enable()
1912 struct drm_device *ddev = adev->ddev; in amdgpu_hwmon_show_vddgfx() local
1918 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_show_vddgfx()
1942 struct drm_device *ddev = adev->ddev; in amdgpu_hwmon_show_vddnb() local
1952 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_show_vddnb()
1976 struct drm_device *ddev = adev->ddev; in amdgpu_hwmon_show_power_avg() local
1983 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_show_power_avg()
2076 struct drm_device *ddev = adev->ddev; in amdgpu_hwmon_show_sclk() local
2082 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_show_sclk()
2106 struct drm_device *ddev = adev->ddev; in amdgpu_hwmon_show_mclk() local
2112 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_hwmon_show_mclk()
3147 struct drm_device *ddev = adev->ddev; in amdgpu_debugfs_pm_info() local
3160 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) { in amdgpu_debugfs_pm_info()