Home
last modified time | relevance | path

Searched refs:ecap (Results 1 – 13 of 13) sorted by relevance

/drivers/iommu/intel/
Dcap_audit.c23 CHECK_FEATURE_MISMATCH(a, b, ecap, eim_support, ECAP_EIM_MASK); in check_irq_capabilities()
36 MINIMAL_FEATURE_IOMMU(b, ecap, ECAP_PSS_MASK); in check_dmar_capabilities()
37 MINIMAL_FEATURE_IOMMU(b, ecap, ECAP_MHMV_MASK); in check_dmar_capabilities()
38 MINIMAL_FEATURE_IOMMU(b, ecap, ECAP_IRO_MASK); in check_dmar_capabilities()
51 CHECK_FEATURE_MISMATCH(a, b, ecap, rps, ECAP_RPS_MASK); in check_dmar_capabilities()
52 CHECK_FEATURE_MISMATCH(a, b, ecap, smpwc, ECAP_SMPWC_MASK); in check_dmar_capabilities()
53 CHECK_FEATURE_MISMATCH(a, b, ecap, flts, ECAP_FLTS_MASK); in check_dmar_capabilities()
54 CHECK_FEATURE_MISMATCH(a, b, ecap, slts, ECAP_SLTS_MASK); in check_dmar_capabilities()
55 CHECK_FEATURE_MISMATCH(a, b, ecap, nwfs, ECAP_NWFS_MASK); in check_dmar_capabilities()
56 CHECK_FEATURE_MISMATCH(a, b, ecap, slads, ECAP_SLADS_MASK); in check_dmar_capabilities()
[all …]
Dpasid.c129 if (!ecap_coherent(info->iommu->ecap)) in intel_pasid_alloc_table()
219 if (!ecap_coherent(info->iommu->ecap)) { in intel_pasid_get_entry()
472 if (!ecap_coherent(iommu->ecap)) in intel_pasid_tear_down_entry()
495 if (!ecap_coherent(iommu->ecap)) in pasid_flush_caches()
516 if (!ecap_flts(iommu->ecap)) { in intel_pasid_setup_first_level()
532 if (!ecap_srs(iommu->ecap)) { in intel_pasid_setup_first_level()
574 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_first_level()
623 if (!ecap_slts(iommu->ecap)) { in intel_pasid_setup_second_level()
657 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_second_level()
663 if (pasid != PASID_RID2PASID && ecap_srs(iommu->ecap)) in intel_pasid_setup_second_level()
[all …]
Dirq_remapping.c121 if (mask > ecap_max_handle_mask(iommu->ecap)) { in alloc_irte()
124 ecap_max_handle_mask(iommu->ecap)); in alloc_irte()
677 if (!ecap_ir_support(iommu->ecap)) in iommu_disable_irq_remapping()
718 if (ecap_ir_support(iommu->ecap)) { in intel_cleanup_irq_remapping()
760 if (!ecap_ir_support(iommu->ecap)) in intel_prepare_irq_remapping()
773 if (eim && !ecap_eim_support(iommu->ecap)) { in intel_prepare_irq_remapping()
1000 if (!ecap_ir_support(iommu->ecap)) in parse_ioapics_under_ir()
1050 if (!ecap_ir_support(iommu->ecap)) in disable_irq_remapping()
1077 if (!ecap_ir_support(iommu->ecap)) in reenable_irq_remapping()
1460 if (eim && !ecap_eim_support(iommu->ecap)) { in dmar_ir_add()
[all …]
Ddmar.c882 u64 cap, ecap; in dmar_validate_one_drhd() local
900 ecap = dmar_readq(addr + DMAR_ECAP_REG); in dmar_validate_one_drhd()
907 if (cap == (uint64_t)-1 && ecap == (uint64_t)-1) { in dmar_validate_one_drhd()
985 iommu->ecap = dmar_readq(iommu->reg + DMAR_ECAP_REG); in map_iommu()
987 if (iommu->cap == (uint64_t)-1 && iommu->ecap == (uint64_t)-1) { in map_iommu()
992 if (ecap_vcs(iommu->ecap)) in map_iommu()
996 map_size = max_t(int, ecap_max_iotlb_offset(iommu->ecap), in map_iommu()
1061 (!ecap_smts(iommu->ecap) || ecap_slts(iommu->ecap))) { in alloc_iommu()
1096 (unsigned long long)iommu->ecap); in alloc_iommu()
1114 iommu->iommu.max_pasids = 2UL << ecap_pss(iommu->ecap); in alloc_iommu()
[all …]
Diommu.h423 #define qi_shift(iommu) (DMAR_IQ_SHIFT + !!ecap_smts((iommu)->ecap))
483 #define sm_supported(iommu) (intel_iommu_sm && ecap_smts((iommu)->ecap))
485 ecap_pasid((iommu)->ecap))
567 u64 ecap; member
635 if (!ecap_coherent(iommu->ecap)) in __iommu_flush_cache()
Ddebugfs.c403 if (ecap_smts(iommu->ecap)) in invalidation_queue_entry_show()
411 if (ecap_smts(iommu->ecap)) in invalidation_queue_entry_show()
436 if (!qi || !ecap_qis(iommu->ecap)) in invalidation_queue_show()
520 if (!ecap_ir_support(iommu->ecap)) in ir_translation_struct_show()
Diommu.c411 if (!sm_supported(iommu) || !ecap_flts(iommu->ecap)) in __iommu_calculate_sagaw()
415 if (!ecap_slts(iommu->ecap)) in __iommu_calculate_sagaw()
456 ecap_smpwc(iommu->ecap) : ecap_coherent(iommu->ecap); in iommu_paging_structure_coherency()
1309 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb()
1430 if (!ecap_dit(info->iommu->ecap)) in iommu_enable_pci_caps()
1738 if (ecap_prs(iommu->ecap)) in free_dmar_iommu()
2049 if (!ecap_coherent(iommu->ecap)) in domain_context_mapping_one()
2938 u32 temp = 2 << ecap_pss(iommu->ecap); in init_dmars()
2992 if (!ecap_pass_through(iommu->ecap)) in init_dmars()
3044 if (pasid_supported(iommu) && ecap_prs(iommu->ecap)) { in init_dmars()
[all …]
DKconfig94 /sys/devices/virtual/iommu/dmar*/intel-iommu/ecap. If this option
/drivers/vfio/pci/
Dvfio_pci_config.c1377 static int vfio_ext_cap_len(struct vfio_pci_core_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument
1384 switch (ecap) { in vfio_ext_cap_len()
1445 __func__, ecap, epos); in vfio_ext_cap_len()
1619 u16 ecap; in vfio_ecap_init() local
1627 ecap = PCI_EXT_CAP_ID(header); in vfio_ecap_init()
1629 if (ecap <= PCI_EXT_CAP_ID_MAX) { in vfio_ecap_init()
1630 len = pci_ext_cap_length[ecap]; in vfio_ecap_init()
1632 len = vfio_ext_cap_len(vdev, ecap, epos); in vfio_ecap_init()
1640 __func__, ecap, epos); in vfio_ecap_init()
1663 __func__, epos + i, map[epos + i], ecap); in vfio_ecap_init()
[all …]
/drivers/counter/
DMakefile17 obj-$(CONFIG_TI_ECAP_CAPTURE) += ti-ecap-capture.o
DKconfig117 will be called ti-ecap-capture.
/drivers/clk/davinci/
Dpsc-da830.c98 LPSC(20, 0, ecap, pll0_sysclk2, ecap_clkdev, 0),
Dpsc-da850.c124 LPSC(20, 0, ecap, async3, ecap_clkdev, 0),