Lines Matching refs:handle
33 static int tonga_dpm_early_init(void *handle) in tonga_dpm_early_init() argument
35 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_early_init()
60 static int tonga_dpm_sw_init(void *handle) in tonga_dpm_sw_init() argument
63 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_sw_init()
72 static int tonga_dpm_sw_fini(void *handle) in tonga_dpm_sw_fini() argument
77 static int tonga_dpm_hw_init(void *handle) in tonga_dpm_hw_init() argument
80 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_hw_init()
109 static int tonga_dpm_hw_fini(void *handle) in tonga_dpm_hw_fini() argument
111 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_hw_fini()
123 static int tonga_dpm_suspend(void *handle) in tonga_dpm_suspend() argument
125 return tonga_dpm_hw_fini(handle); in tonga_dpm_suspend()
128 static int tonga_dpm_resume(void *handle) in tonga_dpm_resume() argument
130 return tonga_dpm_hw_init(handle); in tonga_dpm_resume()
133 static int tonga_dpm_set_clockgating_state(void *handle, in tonga_dpm_set_clockgating_state() argument
139 static int tonga_dpm_set_powergating_state(void *handle, in tonga_dpm_set_powergating_state() argument