Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iommu/
Dintel_irq_remapping.c55 struct irte irte_entry;
158 struct irte *irte_modified) in modify_irte()
162 struct irte *irte; in modify_irte() local
173 irte = &iommu->ir_table->base[index]; in modify_irte()
176 if ((irte->pst == 1) || (irte_modified->pst == 1)) { in modify_irte()
179 ret = cmpxchg_double(&irte->low, &irte->high, in modify_irte()
180 irte->low, irte->high, in modify_irte()
192 set_64bit(&irte->low, irte_modified->low); in modify_irte()
193 set_64bit(&irte->high, irte_modified->high); in modify_irte()
195 __iommu_flush_cache(iommu, irte, sizeof(*irte)); in modify_irte()
[all …]
Damd_iommu.c3867 static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, in modify_irte_ga() argument
3888 entry->hi.val = irte->hi.val; in modify_irte_ga()
3889 entry->lo.val = irte->lo.val; in modify_irte_ga()
3902 static int modify_irte(u16 devid, int index, union irte *irte) in modify_irte() argument
3917 table->table[index] = irte->val; in modify_irte()
3952 union irte *irte = (union irte *) entry; in irte_prepare() local
3954 irte->val = 0; in irte_prepare()
3955 irte->fields.vector = vector; in irte_prepare()
3956 irte->fields.int_type = delivery_mode; in irte_prepare()
3957 irte->fields.destination = dest_apicid; in irte_prepare()
[all …]
Dintel-iommu-debugfs.c290 struct irte *ri_entry; in ir_tbl_remap_entry_show()
314 struct irte *pi_entry; in ir_tbl_posted_entry_show()
Damd_iommu_types.h801 union irte { union
/Linux-v5.4/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
/Linux-v5.4/include/linux/
Ddmar.h185 struct irte { struct
251 static inline void dmar_copy_shared_irte(struct irte *dst, struct irte *src) in dmar_copy_shared_irte() argument
Dintel-iommu.h416 struct irte *base;