Home
last modified time | relevance | path

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

/xen/xen/drivers/passthrough/amd/
A Diommu_intr.c38 } flds; member
237 .flds = { in update_intremap_entry()
310 entry.ptr32->flds.remap_en = false; in update_intremap_entry_from_ioapic()
332 vector = entry.ptr32->flds.vector; in update_intremap_entry_from_ioapic()
334 delivery_mode = entry.ptr32->flds.int_type; in update_intremap_entry_from_ioapic()
492 val |= MASK_INSR(entry.ptr32->flds.int_type, in amd_iommu_read_ioapic_from_ire()
496 : entry.ptr32->flds.vector, in amd_iommu_read_ioapic_from_ire()
567 entry.ptr32->flds.remap_en = false; in update_intremap_entry_from_msi_msg()
688 msg->data |= MASK_INSR(entry.ptr32->flds.int_type, in amd_iommu_read_msi_from_ire()
698 msg->data |= MASK_INSR(entry.ptr32->flds.vector, in amd_iommu_read_msi_from_ire()
[all …]
A Diommu_detect.c80 if ( --((union amd_iommu_ext_features){}).flds.fld > 1 ) \ in get_iommu_features()
81 printk( "- " str ": %#x\n", iommu->features.flds.fld); \ in get_iommu_features()
82 else if ( iommu->features.flds.fld ) \ in get_iommu_features()
97 if ( iommu->features.flds.gt_sup ) in get_iommu_features()
A Diommu_guest.c772 .flds.pref_sup = 1, in guest_iommu_reg_init()
774 .flds.ppr_sup = 1, in guest_iommu_reg_init()
776 .flds.gt_sup = 1, in guest_iommu_reg_init()
778 .flds.ia_sup = 1, in guest_iommu_reg_init()
780 .flds.hats = HOST_ADDRESS_SIZE_6_LEVEL, in guest_iommu_reg_init()
782 .flds.gats = GUEST_ADDRESS_SIZE_6_LEVEL, in guest_iommu_reg_init()
784 .flds.glx_sup = GUEST_CR3_1_LEVEL, in guest_iommu_reg_init()
786 .flds.pas_max = PASMAX_9_bit, in guest_iommu_reg_init()
A Diommu_init.c887 if ( iommu->features.flds.ppr_sup ) in enable_iommu()
919 if ( iommu->features.flds.ppr_sup ) in enable_iommu()
923 if ( iommu->features.flds.gt_sup ) in enable_iommu()
928 if ( iommu->features.flds.ia_sup ) in enable_iommu()
952 if ( iommu->features.flds.ppr_sup ) in disable_iommu()
955 if ( iommu->features.flds.gt_sup ) in disable_iommu()
1076 if ( iommu->features.flds.ppr_sup && !allocate_ppr_log(iommu) ) in amd_iommu_init_one()
1404 if ( !iommu->features.flds.ga_sup || !iommu->features.flds.xt_sup ) in amd_iommu_prepare()
1507 if ( iommu->features.flds.ppr_sup ) in amd_iommu_init_late()
1583 if ( !iommu->features.flds.ia_sup ) in amd_iommu_resume()
A Diommu-defs.h412 } flds; member

Completed in 12 milliseconds