Lines Matching refs:handle

52 static int vcn_v1_0_set_powergating_state(void *handle, enum amd_powergating_state state);
67 static int vcn_v1_0_early_init(void *handle) in vcn_v1_0_early_init() argument
69 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_early_init()
77 jpeg_v1_0_early_init(handle); in vcn_v1_0_early_init()
89 static int vcn_v1_0_sw_init(void *handle) in vcn_v1_0_sw_init() argument
93 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_sw_init()
162 r = jpeg_v1_0_sw_init(handle); in vcn_v1_0_sw_init()
174 static int vcn_v1_0_sw_fini(void *handle) in vcn_v1_0_sw_fini() argument
177 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_sw_fini()
183 jpeg_v1_0_sw_fini(handle); in vcn_v1_0_sw_fini()
197 static int vcn_v1_0_hw_init(void *handle) in vcn_v1_0_hw_init() argument
199 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_hw_init()
234 static int vcn_v1_0_hw_fini(void *handle) in vcn_v1_0_hw_fini() argument
236 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_hw_fini()
256 static int vcn_v1_0_suspend(void *handle) in vcn_v1_0_suspend() argument
259 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_suspend()
284 static int vcn_v1_0_resume(void *handle) in vcn_v1_0_resume() argument
287 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_resume()
1339 static bool vcn_v1_0_is_idle(void *handle) in vcn_v1_0_is_idle() argument
1341 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_is_idle()
1346 static int vcn_v1_0_wait_for_idle(void *handle) in vcn_v1_0_wait_for_idle() argument
1348 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_wait_for_idle()
1357 static int vcn_v1_0_set_clockgating_state(void *handle, in vcn_v1_0_set_clockgating_state() argument
1360 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_set_clockgating_state()
1365 if (!vcn_v1_0_is_idle(handle)) in vcn_v1_0_set_clockgating_state()
1762 static int vcn_v1_0_set_powergating_state(void *handle, in vcn_v1_0_set_powergating_state() argument
1773 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_set_powergating_state()