Lines Matching refs:ip
74 xcp_ip = &xcp->ip[i]; in amdgpu_xcp_run_transition()
106 struct amdgpu_xcp_ip *ip) in __amdgpu_xcp_add_block() argument
110 if (!ip) in __amdgpu_xcp_add_block()
114 xcp->ip[ip->ip_id] = *ip; in __amdgpu_xcp_add_block()
115 xcp->ip[ip->ip_id].valid = true; in __amdgpu_xcp_add_block()
123 struct amdgpu_xcp_ip ip; in amdgpu_xcp_init() local
141 &ip); in amdgpu_xcp_init()
145 __amdgpu_xcp_add_block(xcp_mgr, i, &ip); in amdgpu_xcp_init()
294 enum AMDGPU_XCP_IP_BLOCK ip, int instance) in amdgpu_xcp_get_partition() argument
299 if (ip >= AMDGPU_XCP_MAX_BLOCKS) in amdgpu_xcp_get_partition()
304 if ((xcp->valid) && (xcp->ip[ip].valid) && in amdgpu_xcp_get_partition()
305 (xcp->ip[ip].inst_mask & BIT(instance))) in amdgpu_xcp_get_partition()
316 enum AMDGPU_XCP_IP_BLOCK ip, in amdgpu_xcp_get_inst_details() argument
319 if (!xcp->valid || !inst_mask || !(xcp->ip[ip].valid)) in amdgpu_xcp_get_inst_details()
322 *inst_mask = xcp->ip[ip].inst_mask; in amdgpu_xcp_get_inst_details()