Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c131 if (!ecap_coherent(info->iommu->ecap)) in intel_pasid_alloc_table()
221 if (!ecap_coherent(info->iommu->ecap)) { in intel_pasid_get_entry()
465 if (!ecap_coherent(iommu->ecap)) in intel_pasid_tear_down_entry()
488 if (!ecap_coherent(iommu->ecap)) in pasid_flush_caches()
509 if (!ecap_flts(iommu->ecap)) { in intel_pasid_setup_first_level()
546 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_first_level()
595 if (!ecap_slts(iommu->ecap)) { in intel_pasid_setup_second_level()
629 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_second_level()
666 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_pass_through()
695 if (!ecap_coherent(iommu->ecap)) in intel_pasid_setup_page_snoop_control()
Dirq_remapping.c122 if (mask > ecap_max_handle_mask(iommu->ecap)) { in alloc_irte()
125 ecap_max_handle_mask(iommu->ecap)); in alloc_irte()
662 if (!ecap_ir_support(iommu->ecap)) in iommu_disable_irq_remapping()
703 if (ecap_ir_support(iommu->ecap)) { in intel_cleanup_irq_remapping()
745 if (!ecap_ir_support(iommu->ecap)) in intel_prepare_irq_remapping()
758 if (eim && !ecap_eim_support(iommu->ecap)) { in intel_prepare_irq_remapping()
985 if (!ecap_ir_support(iommu->ecap)) in parse_ioapics_under_ir()
1035 if (!ecap_ir_support(iommu->ecap)) in disable_irq_remapping()
1062 if (!ecap_ir_support(iommu->ecap)) in reenable_irq_remapping()
1450 if (eim && !ecap_eim_support(iommu->ecap)) { in dmar_ir_add()
[all …]
Ddmar.c884 u64 cap, ecap; in dmar_validate_one_drhd() local
902 ecap = dmar_readq(addr + DMAR_ECAP_REG); in dmar_validate_one_drhd()
909 if (cap == (uint64_t)-1 && ecap == (uint64_t)-1) { in dmar_validate_one_drhd()
988 iommu->ecap = dmar_readq(iommu->reg + DMAR_ECAP_REG); in map_iommu()
990 if (iommu->cap == (uint64_t)-1 && iommu->ecap == (uint64_t)-1) { in map_iommu()
997 map_size = max_t(int, ecap_max_iotlb_offset(iommu->ecap), in map_iommu()
1072 (!ecap_smts(iommu->ecap) || ecap_slts(iommu->ecap))) { in alloc_iommu()
1107 (unsigned long long)iommu->ecap); in alloc_iommu()
1128 iommu->iommu.max_pasids = 2UL << ecap_pss(iommu->ecap); in alloc_iommu()
1664 if (!ecap_qis(iommu->ecap)) in dmar_disable_qi()
[all …]
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.h474 #define qi_shift(iommu) (DMAR_IQ_SHIFT + !!ecap_smts((iommu)->ecap))
539 #define sm_supported(iommu) (intel_iommu_sm && ecap_smts((iommu)->ecap))
541 ecap_pasid((iommu)->ecap))
658 u64 ecap; member
733 if (!ecap_coherent(iommu->ecap)) in __iommu_flush_cache()
Diommu.c412 if (!sm_supported(iommu) || !ecap_flts(iommu->ecap)) in __iommu_calculate_sagaw()
416 if (!ecap_slts(iommu->ecap)) in __iommu_calculate_sagaw()
457 ecap_smpwc(iommu->ecap) : ecap_coherent(iommu->ecap); in iommu_paging_structure_coherency()
1298 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb()
1737 if (ecap_prs(iommu->ecap)) in free_dmar_iommu()
2040 if (!ecap_coherent(iommu->ecap)) in domain_context_mapping_one()
2779 u32 temp = 2 << ecap_pss(iommu->ecap); in init_dmars()
2833 if (!ecap_pass_through(iommu->ecap)) in init_dmars()
2882 if (pasid_supported(iommu) && ecap_prs(iommu->ecap)) { in init_dmars()
3284 if (hw_pass_through && !ecap_pass_through(iommu->ecap)) { in intel_iommu_add()
[all …]
DKconfig93 /sys/devices/virtual/iommu/dmar*/intel-iommu/ecap. If this option
Dperfmon.c588 if (!ecap_pms(iommu->ecap)) in alloc_iommu_pmu()
/linux-6.6.21/Documentation/devicetree/bindings/pwm/
Dpwm-tiecap.yaml18 - const: ti,am3352-ecap
21 - ti,da850-ecap
22 - ti,am4372-ecap
23 - ti,dra746-ecap
24 - ti,k2g-ecap
25 - ti,am654-ecap
26 - ti,am64-ecap
27 - const: ti,am3352-ecap
58 compatible = "ti,am3352-ecap";
/linux-6.6.21/Documentation/devicetree/bindings/counter/
Dti,am62-ecap-capture.yaml4 $id: http://devicetree.org/schemas/counter/ti,am62-ecap-capture.yaml#
18 const: ti,am62-ecap-capture
54 compatible = "ti,am62-ecap-capture";
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_config.c1379 static int vfio_ext_cap_len(struct vfio_pci_core_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument
1386 switch (ecap) { in vfio_ext_cap_len()
1452 __func__, ecap, epos); in vfio_ext_cap_len()
1626 u16 ecap; in vfio_ecap_init() local
1634 ecap = PCI_EXT_CAP_ID(header); in vfio_ecap_init()
1636 if (ecap <= PCI_EXT_CAP_ID_MAX) { in vfio_ecap_init()
1637 len = pci_ext_cap_length[ecap]; in vfio_ecap_init()
1639 len = vfio_ext_cap_len(vdev, ecap, epos); in vfio_ecap_init()
1647 __func__, ecap, epos); in vfio_ecap_init()
1670 __func__, epos + i, map[epos + i], ecap); in vfio_ecap_init()
[all …]
/linux-6.6.21/drivers/counter/
DMakefile19 obj-$(CONFIG_TI_ECAP_CAPTURE) += ti-ecap-capture.o
DKconfig137 will be called ti-ecap-capture.
/linux-6.6.21/arch/arm/boot/dts/ti/davinci/
Dda850.dtsi594 compatible = "ti,da850-ecap", "ti,am3352-ecap";
603 compatible = "ti,da850-ecap", "ti,am3352-ecap";
612 compatible = "ti,da850-ecap", "ti,am3352-ecap";
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-iommu-intel-iommu18 What: /sys/class/iommu/<iommu>/intel-iommu/ecap
/linux-6.6.21/arch/arm/boot/dts/ti/keystone/
Dkeystone-k2g.dtsi551 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
561 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
/linux-6.6.21/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),
/linux-6.6.21/arch/arm64/boot/dts/ti/
Dk3-am64-main.dtsi1131 compatible = "ti,am64-ecap", "ti,am3352-ecap";
1141 compatible = "ti,am64-ecap", "ti,am3352-ecap";
1151 compatible = "ti,am64-ecap", "ti,am3352-ecap";
Dk3-am62a-main.dtsi791 compatible = "ti,am3352-ecap";
801 compatible = "ti,am3352-ecap";
811 compatible = "ti,am3352-ecap";
Dk3-am62-main.dtsi780 compatible = "ti,am3352-ecap";
790 compatible = "ti,am3352-ecap";
800 compatible = "ti,am3352-ecap";
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Dam437x-l4.dtsi1751 compatible = "ti,am4372-ecap",
1752 "ti,am3352-ecap";
1801 compatible = "ti,am4372-ecap",
1802 "ti,am3352-ecap";
1851 compatible = "ti,am4372-ecap",
1852 "ti,am3352-ecap";
Ddra7-l4.dtsi2565 compatible = "ti,dra746-ecap",
2566 "ti,am3352-ecap";
2611 compatible = "ti,dra746-ecap",
2612 "ti,am3352-ecap";
2657 compatible = "ti,dra746-ecap",
2658 "ti,am3352-ecap";
Dam33xx-l4.dtsi2082 compatible = "ti,am3352-ecap";
2139 compatible = "ti,am3352-ecap";
2196 compatible = "ti,am3352-ecap";

12