Home
last modified time | relevance | path

Searched refs:iommu (Results 1 – 9 of 9) sorted by relevance

/include/trace/events/
Dintel_iommu.h21 TP_PROTO(struct intel_iommu *iommu, u64 qw0, u64 qw1, u64 qw2, u64 qw3),
23 TP_ARGS(iommu, qw0, qw1, qw2, qw3),
30 __string(iommu, iommu->name)
34 __assign_str(iommu, iommu->name);
52 __get_str(iommu),
58 TP_PROTO(struct intel_iommu *iommu, struct device *dev,
62 TP_ARGS(iommu, dev, dw0, dw1, dw2, dw3, seq),
70 __string(iommu, iommu->name)
81 __assign_str(iommu, iommu->name);
86 __get_str(iommu), __get_str(dev), __entry->seq,
Diommu.h9 #define TRACE_SYSTEM iommu
/include/linux/
Dintel-iommu.h309 #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ argument
313 sts = op(iommu->reg + offset); \
420 #define qi_shift(iommu) (DMAR_IQ_SHIFT + !!ecap_smts((iommu)->ecap)) argument
462 void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid,
464 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr,
483 #define sm_supported(iommu) (intel_iommu_sm && ecap_smts((iommu)->ecap)) argument
484 #define pasid_supported(iommu) (sm_supported(iommu) && \ argument
485 ecap_pasid((iommu)->ecap))
614 struct iommu_device iommu; /* IOMMU core code handle */ member
650 struct intel_iommu *iommu; /* IOMMU used by this device */ member
[all …]
Diommu.h397 int iommu_device_register(struct iommu_device *iommu,
400 void iommu_device_unregister(struct iommu_device *iommu);
401 int iommu_device_sysfs_add(struct iommu_device *iommu,
405 void iommu_device_sysfs_remove(struct iommu_device *iommu);
406 int iommu_device_link(struct iommu_device *iommu, struct device *link);
407 void iommu_device_unlink(struct iommu_device *iommu, struct device *link);
660 if (dev->iommu) in dev_iommu_fwspec_get()
661 return dev->iommu->fwspec; in dev_iommu_fwspec_get()
669 dev->iommu->fwspec = fwspec; in dev_iommu_fwspec_set()
674 if (dev->iommu) in dev_iommu_priv_get()
[all …]
Damd-iommu.h203 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
205 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
Ddmar.h52 struct intel_iommu *iommu; member
85 if (i=drhd->iommu, drhd->ignored) {} else
90 if (i=drhd->iommu, 0) {} else
283 extern int dmar_set_interrupt(struct intel_iommu *iommu);
Ddma-map-ops.h369 const struct iommu_ops *iommu, bool coherent);
372 u64 size, const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops() argument
Ddevice.h562 struct dev_iommu *iommu; member
/include/trace/hooks/
Diommu.h3 #define TRACE_SYSTEM iommu