Lines Matching defs:xcp
103 if (adev->xcp_mgr->xcp[xcp_id].ip[ip_blk].inst_mask & inst_mask) {
117 num_gpu_sched = &adev->xcp_mgr->xcp[sel_xcp_id]
119 adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[ring->funcs->type][ring->hw_prio]
133 atomic_set(&adev->xcp_mgr->xcp[i].ref_cnt, 0);
134 memset(adev->xcp_mgr->xcp[i].gpu_sched, 0, sizeof(adev->xcp_mgr->xcp->gpu_sched));
194 total_ref_cnt = atomic_read(&adev->xcp_mgr->xcp[i].ref_cnt);
203 if (adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds) {
204 *num_scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds;
205 *scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched;
206 atomic_inc(&adev->xcp_mgr->xcp[sel_xcp_id].ref_cnt);
551 struct amdgpu_xcp *xcp, uint8_t *mem_id)
572 r = amdgpu_xcp_get_inst_details(xcp, AMDGPU_XCP_GFX, &xcc_mask);