Home
last modified time | relevance | path

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

/linux-6.1.9/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.c460 struct irte *ri_entry; in ir_tbl_remap_entry_show()
484 struct irte *pi_entry; in ir_tbl_posted_entry_show()
Diommu.h454 struct irte *base;
/linux-6.1.9/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))
554 struct irt_entry *p = vi->irte; in iosapic_set_irt_data()
700 struct irt_entry *irte = NULL; /* only used if PAT PDC */ in iosapic_fixup_irq() local
730 irte = iosapic_xlate_pin(isi, pcidev); in iosapic_fixup_irq()
731 if (!irte) { in iosapic_fixup_irq()
737 irte, in iosapic_fixup_irq()
738 irte->entry_type, in iosapic_fixup_irq()
739 irte->entry_length, in iosapic_fixup_irq()
[all …]
Diosapic_private.h120 struct irt_entry *irte; /* IRT entry */ member
/linux-6.1.9/drivers/iommu/amd/
Diommu.c2993 struct irte_ga *irte, struct amd_ir_data *data) in modify_irte_ga() argument
3011 irte->lo.val, irte->hi.val); in modify_irte_ga()
3032 u16 devid, int index, union irte *irte) in modify_irte() argument
3042 table->table[index] = irte->val; in modify_irte()
3072 union irte *irte = (union irte *) entry; in irte_prepare() local
3074 irte->val = 0; in irte_prepare()
3075 irte->fields.vector = vector; in irte_prepare()
3076 irte->fields.int_type = delivery_mode; in irte_prepare()
3077 irte->fields.destination = dest_apicid; in irte_prepare()
3078 irte->fields.dm = dest_mode; in irte_prepare()
[all …]
Damd_iommu_types.h920 union irte { union
/linux-6.1.9/include/linux/
Ddmar.h202 struct irte { struct
268 static inline void dmar_copy_shared_irte(struct irte *dst, struct irte *src) in dmar_copy_shared_irte() argument