/linux-6.6.21/drivers/iommu/intel/ |
D | cap_audit.c | 23 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 …]
|
D | pasid.c | 131 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()
|
D | irq_remapping.c | 122 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 …]
|
D | dmar.c | 884 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 …]
|
D | debugfs.c | 403 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()
|
D | iommu.h | 474 #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()
|
D | iommu.c | 412 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 …]
|
D | Kconfig | 93 /sys/devices/virtual/iommu/dmar*/intel-iommu/ecap. If this option
|
D | perfmon.c | 588 if (!ecap_pms(iommu->ecap)) in alloc_iommu_pmu()
|
/linux-6.6.21/Documentation/devicetree/bindings/pwm/ |
D | pwm-tiecap.yaml | 18 - 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/ |
D | ti,am62-ecap-capture.yaml | 4 $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/ |
D | vfio_pci_config.c | 1379 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/ |
D | Makefile | 19 obj-$(CONFIG_TI_ECAP_CAPTURE) += ti-ecap-capture.o
|
D | Kconfig | 137 will be called ti-ecap-capture.
|
/linux-6.6.21/arch/arm/boot/dts/ti/davinci/ |
D | da850.dtsi | 594 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/ |
D | sysfs-class-iommu-intel-iommu | 18 What: /sys/class/iommu/<iommu>/intel-iommu/ecap
|
/linux-6.6.21/arch/arm/boot/dts/ti/keystone/ |
D | keystone-k2g.dtsi | 551 compatible = "ti,k2g-ecap", "ti,am3352-ecap"; 561 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
|
/linux-6.6.21/drivers/clk/davinci/ |
D | psc-da830.c | 98 LPSC(20, 0, ecap, pll0_sysclk2, ecap_clkdev, 0),
|
D | psc-da850.c | 124 LPSC(20, 0, ecap, async3, ecap_clkdev, 0),
|
/linux-6.6.21/arch/arm64/boot/dts/ti/ |
D | k3-am64-main.dtsi | 1131 compatible = "ti,am64-ecap", "ti,am3352-ecap"; 1141 compatible = "ti,am64-ecap", "ti,am3352-ecap"; 1151 compatible = "ti,am64-ecap", "ti,am3352-ecap";
|
D | k3-am62a-main.dtsi | 791 compatible = "ti,am3352-ecap"; 801 compatible = "ti,am3352-ecap"; 811 compatible = "ti,am3352-ecap";
|
D | k3-am62-main.dtsi | 780 compatible = "ti,am3352-ecap"; 790 compatible = "ti,am3352-ecap"; 800 compatible = "ti,am3352-ecap";
|
/linux-6.6.21/arch/arm/boot/dts/ti/omap/ |
D | am437x-l4.dtsi | 1751 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";
|
D | dra7-l4.dtsi | 2565 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";
|
D | am33xx-l4.dtsi | 2082 compatible = "ti,am3352-ecap"; 2139 compatible = "ti,am3352-ecap"; 2196 compatible = "ti,am3352-ecap";
|