Home
last modified time | relevance | path

Searched full:ecap (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.12.1/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.c74 if (!ecap_coherent(info->iommu->ecap)) in intel_pasid_alloc_table()
167 if (!ecap_coherent(info->iommu->ecap)) { in intel_pasid_get_entry()
257 if (!ecap_coherent(iommu->ecap)) in intel_pasid_tear_down_entry()
278 if (!ecap_coherent(iommu->ecap)) in pasid_flush_caches()
299 if (!ecap_flts(iommu->ecap)) { in intel_pasid_setup_first_level()
336 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_first_level()
384 if (!ecap_slts(iommu->ecap)) { in intel_pasid_setup_second_level()
418 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_second_level()
473 if (!ecap_coherent(iommu->ecap)) in intel_pasid_setup_dirty_tracking()
525 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_pass_through()
[all …]
Dirq_remapping.c125 if (mask > ecap_max_handle_mask(iommu->ecap)) { in alloc_irte()
128 ecap_max_handle_mask(iommu->ecap)); in alloc_irte()
660 if (!ecap_ir_support(iommu->ecap)) in iommu_disable_irq_remapping()
701 if (ecap_ir_support(iommu->ecap)) { in intel_cleanup_irq_remapping()
743 if (!ecap_ir_support(iommu->ecap)) in intel_prepare_irq_remapping()
756 if (eim && !ecap_eim_support(iommu->ecap)) { in intel_prepare_irq_remapping()
983 if (!ecap_ir_support(iommu->ecap)) in parse_ioapics_under_ir()
1033 if (!ecap_ir_support(iommu->ecap)) in disable_irq_remapping()
1060 if (!ecap_ir_support(iommu->ecap)) in reenable_irq_remapping()
1541 if (eim && !ecap_eim_support(iommu->ecap)) { in dmar_ir_add()
[all …]
Ddmar.c885 u64 cap, ecap; in dmar_validate_one_drhd() local
903 ecap = dmar_readq(addr + DMAR_ECAP_REG); in dmar_validate_one_drhd()
910 if (cap == (uint64_t)-1 && ecap == (uint64_t)-1) { in dmar_validate_one_drhd()
989 iommu->ecap = dmar_readq(iommu->reg + DMAR_ECAP_REG); in map_iommu()
991 if (iommu->cap == (uint64_t)-1 && iommu->ecap == (uint64_t)-1) { in map_iommu()
998 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()
1104 pr_info("%s: reg_base_addr %llx ver %d:%d cap %llx ecap %llx\n", in alloc_iommu()
1109 (unsigned long long)iommu->ecap); in alloc_iommu()
1126 * A value of N in PSS field of eCap register indicates hardware in alloc_iommu()
[all …]
Ddebugfs.c63 IOMMU_REGSET_ENTRY(ECAP),
489 if (ecap_smts(iommu->ecap)) in invalidation_queue_entry_show()
497 if (ecap_smts(iommu->ecap)) in invalidation_queue_entry_show()
522 if (!qi || !ecap_qis(iommu->ecap)) in invalidation_queue_show()
606 if (!ecap_ir_support(iommu->ecap)) in ir_translation_struct_show()
Diommu.c307 if (!sm_supported(iommu) || !ecap_flts(iommu->ecap)) in __iommu_calculate_sagaw()
311 if (!ecap_slts(iommu->ecap)) in __iommu_calculate_sagaw()
352 ecap_smpwc(iommu->ecap) : ecap_coherent(iommu->ecap); in iommu_paging_structure_coherency()
1190 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb()
1433 if (ecap_prs(iommu->ecap)) in free_dmar_iommu()
1685 if (!ecap_coherent(iommu->ecap)) in domain_context_mapping_one()
2029 if (!ecap_pass_through(iommu->ecap)) in device_def_domain_type()
2268 u32 temp = 2 << ecap_pss(iommu->ecap); in init_dmars()
2358 if (pasid_supported(iommu) && ecap_prs(iommu->ecap)) { in init_dmars()
2790 if (pasid_supported(iommu) && ecap_prs(iommu->ecap)) { in intel_iommu_add()
[all …]
Diommu.h475 #define qi_shift(iommu) (DMAR_IQ_SHIFT + !!ecap_smts((iommu)->ecap))
540 #define sm_supported(iommu) (intel_iommu_sm && ecap_smts((iommu)->ecap))
542 ecap_pasid((iommu)->ecap))
544 ecap_slads((iommu)->ecap))
546 ecap_nest((iommu)->ecap))
713 u64 ecap; member
803 if (!ecap_coherent(iommu->ecap)) in __iommu_flush_cache()
1166 * ECAP. in qi_desc_dev_iotlb_pasid()
DKconfig83 /sys/devices/virtual/iommu/dmar*/intel-iommu/ecap. If this option
/linux-6.12.1/Documentation/devicetree/bindings/pwm/
Dpwm-tiecap.yaml7 title: TI SOC ECAP based APWM controller
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
57 ecap0: pwm@48300100 { /* ECAP on am33xx */
[all …]
Dpwm-tipwmss.txt17 3 set of child register maps present, ECAP register space, EQEP
29 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
42 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
/linux-6.12.1/Documentation/devicetree/bindings/counter/
Dti,am62-ecap-capture.yaml4 $id: http://devicetree.org/schemas/counter/ti,am62-ecap-capture.yaml#
7 title: Texas Instruments Enhanced Capture (eCAP) Module
13 The eCAP module resources can be used to capture timestamps
18 const: ti,am62-ecap-capture
53 capture@23100000 { /* eCAP in capture mode on am62x */
54 compatible = "ti,am62-ecap-capture";
/linux-6.12.1/drivers/pwm/
Dpwm-tiecap.c3 * ECAP PWM driver
17 /* ECAP registers and bits definitions */
210 { .compatible = "ti,am3352-ecap" },
211 { .compatible = "ti,am33xx-ecap" },
231 if (of_device_is_compatible(np, "ti,am33xx-ecap")) { in ecap_pwm_probe()
322 .name = "ecap",
331 MODULE_DESCRIPTION("ECAP PWM driver");
DKconfig678 tristate "ECAP PWM support"
682 PWM driver support for the ECAP APWM controller found on TI SOCs
/linux-6.12.1/drivers/counter/
Dti-ecap-capture.c3 * ECAP Capture driver
21 #define ECAP_DRV_NAME "ecap"
23 /* ECAP event IDs */
66 /* ECAP signals */
554 /* If eCAP is running, stop capture then save timestamp counter */ in ecap_cnt_suspend()
582 /* If eCAP was running, restore timestamp counter then run capture */ in ecap_cnt_resume()
594 { .compatible = "ti,am62-ecap-capture" },
603 .name = "ecap-capture",
610 MODULE_DESCRIPTION("ECAP Capture driver");
DKconfig125 tristate "TI eCAP capture driver"
131 (eCAP) driver in input mode.
134 on ECAP input signal.
137 will be called ti-ecap-capture.
DMakefile19 obj-$(CONFIG_TI_ECAP_CAPTURE) += ti-ecap-capture.o
/linux-6.12.1/drivers/clk/davinci/
Dpsc-da830.c77 LPSC_CLKDEV3(ecap_clkdev, "fck", "ecap.0",
78 "fck", "ecap.1",
79 "fck", "ecap.2");
98 LPSC(20, 0, ecap, pll0_sysclk2, ecap_clkdev, 0),
Dpsc-da850.c65 LPSC_CLKDEV3(ecap_clkdev, "fck", "ecap.0",
66 "fck", "ecap.1",
67 "fck", "ecap.2");
124 LPSC(20, 0, ecap, async3, ecap_clkdev, 0),
/linux-6.12.1/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()
1451 pci_warn(pdev, "%s: unknown length for PCI ecap %#x@%#x\n", 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()
1646 pci_dbg(pdev, "%s: hiding ecap %#x@%#x\n", in vfio_ecap_init()
[all …]
/linux-6.12.1/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.12.1/Documentation/ABI/testing/
Dsysfs-class-iommu-intel-iommu18 What: /sys/class/iommu/<iommu>/intel-iommu/ecap
/linux-6.12.1/arch/arm/boot/dts/ti/keystone/
Dkeystone-k2g.dtsi546 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
556 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
/linux-6.12.1/include/linux/mfd/
Dda8xx-cfgchip.h29 /* CFGCHIP1 (eCAP/HPI/EDMA3_1/eHRPWM TBCLK/McASP0 AMUTEIN) register bits */
/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-am64-main.dtsi1149 compatible = "ti,am64-ecap", "ti,am3352-ecap";
1159 compatible = "ti,am64-ecap", "ti,am3352-ecap";
1169 compatible = "ti,am64-ecap", "ti,am3352-ecap";
Dk3-am62p-j722s-common-main.dtsi801 compatible = "ti,am3352-ecap";
811 compatible = "ti,am3352-ecap";
821 compatible = "ti,am3352-ecap";

12