Home
last modified time | relevance | path

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

/drivers/iommu/intel/
Dpasid.c189 if (!ecap_coherent(info->iommu->ecap)) in intel_pasid_alloc_table()
282 if (!ecap_coherent(info->iommu->ecap)) { in intel_pasid_get_entry()
523 if (!ecap_coherent(iommu->ecap)) in intel_pasid_tear_down_entry()
542 if (!ecap_coherent(iommu->ecap)) in pasid_flush_caches()
563 if (!ecap_flts(iommu->ecap)) { in intel_pasid_setup_first_level()
578 if (!ecap_srs(iommu->ecap)) { in intel_pasid_setup_first_level()
601 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_first_level()
647 if (!ecap_slts(iommu->ecap)) { in intel_pasid_setup_second_level()
675 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_second_level()
684 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()
683 if (!ecap_ir_support(iommu->ecap)) in iommu_disable_irq_remapping()
723 if (ecap_ir_support(iommu->ecap)) { in intel_cleanup_irq_remapping()
762 if (!ecap_ir_support(iommu->ecap)) in intel_prepare_irq_remapping()
775 if (eim && !ecap_eim_support(iommu->ecap)) { in intel_prepare_irq_remapping()
1002 if (!ecap_ir_support(iommu->ecap)) in parse_ioapics_under_ir()
1052 if (!ecap_ir_support(iommu->ecap)) in disable_irq_remapping()
1079 if (!ecap_ir_support(iommu->ecap)) in reenable_irq_remapping()
1471 if (eim && !ecap_eim_support(iommu->ecap)) { in dmar_ir_add()
[all …]
Ddmar.c878 u64 cap, ecap; in dmar_validate_one_drhd() local
896 ecap = dmar_readq(addr + DMAR_ECAP_REG); in dmar_validate_one_drhd()
903 if (cap == (uint64_t)-1 && ecap == (uint64_t)-1) { in dmar_validate_one_drhd()
983 iommu->ecap = dmar_readq(iommu->reg + DMAR_ECAP_REG); in map_iommu()
985 if (iommu->cap == (uint64_t)-1 && iommu->ecap == (uint64_t)-1) { in map_iommu()
990 if (ecap_vcs(iommu->ecap)) in map_iommu()
994 map_size = max_t(int, ecap_max_iotlb_offset(iommu->ecap), in map_iommu()
1112 (unsigned long long)iommu->ecap); in alloc_iommu()
1545 if (!ecap_qis(iommu->ecap)) in dmar_disable_qi()
1588 if (ecap_smts(iommu->ecap)) in __dmar_enable_qi()
[all …]
Ddebugfs.c382 if (ecap_smts(iommu->ecap)) in invalidation_queue_entry_show()
390 if (ecap_smts(iommu->ecap)) in invalidation_queue_entry_show()
415 if (!qi || !ecap_qis(iommu->ecap)) in invalidation_queue_show()
499 if (!ecap_ir_support(iommu->ecap)) in ir_translation_struct_show()
Diommu.c576 if (!sm_supported(iommu) || !ecap_flts(iommu->ecap)) in __iommu_calculate_sagaw()
580 if (!ecap_slts(iommu->ecap)) in __iommu_calculate_sagaw()
639 ecap_smpwc(iommu->ecap) : ecap_coherent(iommu->ecap); in iommu_paging_structure_coherency()
688 !ecap_sc_support(iommu->ecap)) { in domain_update_iommu_snooping()
1436 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb()
1549 if (!ecap_dit(info->iommu->ecap)) in iommu_enable_dev_iotlb()
1903 if (ecap_prs(iommu->ecap)) in free_dmar_iommu()
1929 if (!sm_supported(iommu) || !ecap_flts(iommu->ecap)) { in first_level_by_default()
2260 if (!ecap_coherent(iommu->ecap)) in domain_context_mapping_one()
2728 if (ecap_dev_iotlb_support(iommu->ecap) && in dmar_insert_one_dev_info()
[all …]
DKconfig84 /sys/devices/virtual/iommu/dmar*/intel-iommu/ecap. If this option
Dsvm.c491 if (!ecap_srs(iommu->ecap) || mm) { in intel_svm_bind_mm()
/drivers/vfio/pci/
Dvfio_pci_config.c1341 static int vfio_ext_cap_len(struct vfio_pci_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument
1348 switch (ecap) { in vfio_ext_cap_len()
1409 __func__, ecap, epos); in vfio_ext_cap_len()
1569 u16 ecap; in vfio_ecap_init() local
1577 ecap = PCI_EXT_CAP_ID(header); in vfio_ecap_init()
1579 if (ecap <= PCI_EXT_CAP_ID_MAX) { in vfio_ecap_init()
1580 len = pci_ext_cap_length[ecap]; in vfio_ecap_init()
1582 len = vfio_ext_cap_len(vdev, ecap, epos); in vfio_ecap_init()
1590 __func__, ecap, epos); in vfio_ecap_init()
1613 __func__, epos + i, map[epos + i], ecap); in vfio_ecap_init()
[all …]
/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),