Home
last modified time | relevance | path

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

/drivers/iommu/intel/
Dirq_remapping.c56 struct irte irte_entry;
159 struct irte *irte_modified) in modify_irte()
163 struct irte *irte; in modify_irte() local
174 irte = &iommu->ir_table->base[index]; in modify_irte()
177 if ((irte->pst == 1) || (irte_modified->pst == 1)) { in modify_irte()
180 ret = cmpxchg_double(&irte->low, &irte->high, in modify_irte()
181 irte->low, irte->high, in modify_irte()
193 set_64bit(&irte->low, irte_modified->low); in modify_irte()
194 set_64bit(&irte->high, irte_modified->high); in modify_irte()
196 __iommu_flush_cache(iommu, irte, sizeof(*irte)); in modify_irte()
[all …]
Ddebugfs.c439 struct irte *ri_entry; in ir_tbl_remap_entry_show()
463 struct irte *pi_entry; in ir_tbl_posted_entry_show()
/drivers/parisc/
Diosapic.c158 #define COMPARE_IRTE_ADDR(irte, hpa) ((irte)->dest_iosapic_addr == (hpa)) argument
160 #define COMPARE_IRTE_ADDR(irte, hpa) \ argument
161 ((irte)->dest_iosapic_addr == ((hpa) | 0xffffffff00000000ULL))
563 struct irt_entry *p = vi->irte; in iosapic_set_irt_data()
709 struct irt_entry *irte = NULL; /* only used if PAT PDC */ in iosapic_fixup_irq() local
739 irte = iosapic_xlate_pin(isi, pcidev); in iosapic_fixup_irq()
740 if (!irte) { in iosapic_fixup_irq()
746 irte, in iosapic_fixup_irq()
747 irte->entry_type, in iosapic_fixup_irq()
748 irte->entry_length, in iosapic_fixup_irq()
[all …]
Diosapic_private.h120 struct irt_entry *irte; /* IRT entry */ member
/drivers/iommu/amd/
Diommu.c3387 static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, in modify_irte_ga() argument
3411 irte->lo.val, irte->hi.val); in modify_irte_ga()
3431 static int modify_irte(u16 devid, int index, union irte *irte) in modify_irte() argument
3446 table->table[index] = irte->val; in modify_irte()
3481 union irte *irte = (union irte *) entry; in irte_prepare() local
3483 irte->val = 0; in irte_prepare()
3484 irte->fields.vector = vector; in irte_prepare()
3485 irte->fields.int_type = delivery_mode; in irte_prepare()
3486 irte->fields.destination = dest_apicid; in irte_prepare()
3487 irte->fields.dm = dest_mode; in irte_prepare()
[all …]
Damd_iommu_types.h816 union irte { union