Lines Matching refs:virt
225 ((amdgim_vf2pf_info *)adev->virt.fw_reserve.p_vf2pf)->field = (val); \
230 (*val) = ((amdgim_vf2pf_info *)adev->virt.fw_reserve.p_vf2pf)->field; \
235 if (!adev->virt.fw_reserve.p_pf2vf) \
238 if (adev->virt.fw_reserve.p_pf2vf->version == 1) \
239 *(val) = ((struct amdgim_pf2vf_info_v1 *)adev->virt.fw_reserve.p_pf2vf)->field; \
240 if (adev->virt.fw_reserve.p_pf2vf->version == 2) \
241 *(val) = ((struct amdgim_pf2vf_info_v2 *)adev->virt.fw_reserve.p_pf2vf)->field; \
266 ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_ENABLE_IOV)
269 ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_IS_VF)
272 ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_SRIOV_VBIOS)
275 ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_RUNTIME)
278 ((adev)->virt.caps & AMDGPU_PASSTHROUGH_MODE)
290 ((adev)->virt.gim_feature & AMDGIM_FEATURE_HW_PERF_SIMULATION)