Home
last modified time | relevance | path

Searched refs:run_func (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c33 int (*run_func)(void *handle, uint32_t inst_mask); in __amdgpu_xcp_run() local
39 run_func = NULL; in __amdgpu_xcp_run()
43 run_func = xcp_ip->ip_funcs->prepare_suspend; in __amdgpu_xcp_run()
46 run_func = xcp_ip->ip_funcs->suspend; in __amdgpu_xcp_run()
49 run_func = xcp_ip->ip_funcs->prepare_resume; in __amdgpu_xcp_run()
52 run_func = xcp_ip->ip_funcs->resume; in __amdgpu_xcp_run()
56 if (run_func) in __amdgpu_xcp_run()
57 ret = run_func(xcp_mgr->adev, xcp_ip->inst_mask); in __amdgpu_xcp_run()