| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
| D | pwm-tiecap.txt | 1 TI SOC ECAP based APWM controller 4 - compatible: Must be "ti,<soc>-ecap". 5 for am33xx - compatible = "ti,am3352-ecap", "ti,am33xx-ecap"; 6 for am4372 - compatible = "ti,am4372-ecap", "ti,am3352-ecap", "ti,am33xx-ecap"; 7 for da850 - compatible = "ti,da850-ecap", "ti,am3352-ecap", "ti,am33xx-ecap"; 8 for dra746 - compatible = "ti,dra746-ecap", "ti,am3352-ecap"; 9 for 66ak2g - compatible = "ti,k2g-ecap", "ti,am3352-ecap"; 10 for am654 - compatible = "ti,am654-ecap", "ti,am3352-ecap"; 17 - clocks: Handle to the ECAP's functional clock. 22 ecap0: ecap@48300100 { /* ECAP on am33xx */ [all …]
|
| D | pwm-tipwmss.txt | 17 3 set of child register maps present, ECAP register space, EQEP 29 ranges = <0x48300100 0x48300100 0x80 /* ECAP */ 42 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
|
| /kernel/linux/linux-6.6/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() 468 if (!ecap_coherent(iommu->ecap)) in intel_pasid_tear_down_entry() 491 if (!ecap_coherent(iommu->ecap)) in pasid_flush_caches() 512 if (!ecap_flts(iommu->ecap)) { in intel_pasid_setup_first_level() 549 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_first_level() 598 if (!ecap_slts(iommu->ecap)) { in intel_pasid_setup_second_level() 632 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_second_level() 669 pasid_set_page_snoop(pte, !!ecap_smpwc(iommu->ecap)); in intel_pasid_setup_pass_through() 698 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() 1102 pr_info("%s: reg_base_addr %llx ver %d:%d cap %llx ecap %llx\n", in alloc_iommu() 1107 (unsigned long long)iommu->ecap); in alloc_iommu() 1124 * A value of N in PSS field of eCap register indicates hardware in alloc_iommu() [all …]
|
| D | debugfs.c | 63 IOMMU_REGSET_ENTRY(ECAP), 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()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pwm/ |
| D | pwm-tiecap.yaml | 7 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 …]
|
| D | pwm-tipwmss.txt | 17 3 set of child register maps present, ECAP register space, EQEP 29 ranges = <0x48300100 0x48300100 0x80 /* ECAP */ 42 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/counter/ |
| D | ti,am62-ecap-capture.yaml | 4 $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";
|
| /kernel/linux/linux-5.10/drivers/iommu/intel/ |
| D | pasid.c | 189 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 …]
|
| D | irq_remapping.c | 121 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 …]
|
| D | debugfs.c | 59 IOMMU_REGSET_ENTRY(ECAP), 382 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()
|
| D | dmar.c | 878 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() 1107 pr_info("%s: reg_base_addr %llx ver %d:%d cap %llx ecap %llx\n", in alloc_iommu() 1112 (unsigned long long)iommu->ecap); in alloc_iommu() 1500 * ECAP. in qi_flush_dev_iotlb_pasid() [all …]
|
| /kernel/linux/linux-5.10/drivers/pwm/ |
| D | pwm-tiecap.c | 3 * ECAP PWM driver 17 /* ECAP registers and bits definitions */ 189 { .compatible = "ti,am3352-ecap" }, 190 { .compatible = "ti,am33xx-ecap" }, 209 if (of_device_is_compatible(np, "ti,am33xx-ecap")) { in ecap_pwm_probe() 308 .name = "ecap", 317 MODULE_DESCRIPTION("ECAP PWM driver");
|
| /kernel/linux/linux-6.6/drivers/pwm/ |
| D | pwm-tiecap.c | 3 * ECAP PWM driver 17 /* ECAP registers and bits definitions */ 212 { .compatible = "ti,am3352-ecap" }, 213 { .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");
|
| /kernel/linux/linux-6.6/drivers/counter/ |
| D | Kconfig | 125 tristate "TI eCAP capture driver" 131 (eCAP) driver in input mode. 134 on ECAP input signal. 137 will be called ti-ecap-capture.
|
| D | ti-ecap-capture.c | 3 * ECAP Capture driver 21 #define ECAP_DRV_NAME "ecap" 23 /* ECAP event IDs */ 66 /* ECAP signals */ 556 /* If eCAP is running, stop capture then save timestamp counter */ in ecap_cnt_suspend() 589 /* If eCAP was running, restore timestamp counter then run capture */ in ecap_cnt_resume() 601 { .compatible = "ti,am62-ecap-capture" }, 610 .name = "ecap-capture", 617 MODULE_DESCRIPTION("ECAP Capture driver");
|
| /kernel/linux/linux-5.10/drivers/clk/davinci/ |
| D | psc-da830.c | 77 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),
|
| D | psc-da850.c | 65 LPSC_CLKDEV3(ecap_clkdev, "fck", "ecap.0", 66 "fck", "ecap.1", 67 "fck", "ecap.2"); 124 LPSC(20, 0, ecap, async3, ecap_clkdev, 0),
|
| /kernel/linux/linux-6.6/drivers/clk/davinci/ |
| D | psc-da830.c | 77 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),
|
| D | psc-da850.c | 65 LPSC_CLKDEV3(ecap_clkdev, "fck", "ecap.0", 66 "fck", "ecap.1", 67 "fck", "ecap.2"); 124 LPSC(20, 0, ecap, async3, ecap_clkdev, 0),
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | da850.dtsi | 596 ecap0: ecap@306000 { 597 compatible = "ti,da850-ecap", "ti,am3352-ecap", 598 "ti,am33xx-ecap"; 606 ecap1: ecap@307000 { 607 compatible = "ti,da850-ecap", "ti,am3352-ecap", 608 "ti,am33xx-ecap"; 616 ecap2: ecap@308000 { 617 compatible = "ti,da850-ecap", "ti,am3352-ecap", 618 "ti,am33xx-ecap";
|
| /kernel/linux/linux-5.10/drivers/vfio/pci/ |
| D | vfio_pci_config.c | 1341 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() 1408 pci_warn(pdev, "%s: unknown length for PCI ecap %#x@%#x\n", 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() 1589 pci_info(pdev, "%s: hiding ecap %#x@%#x\n", in vfio_ecap_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/vfio/pci/ |
| D | vfio_pci_config.c | 1383 static int vfio_ext_cap_len(struct vfio_pci_core_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument 1390 switch (ecap) { in vfio_ext_cap_len() 1455 pci_warn(pdev, "%s: unknown length for PCI ecap %#x@%#x\n", in vfio_ext_cap_len() 1456 __func__, ecap, epos); in vfio_ext_cap_len() 1630 u16 ecap; in vfio_ecap_init() local 1638 ecap = PCI_EXT_CAP_ID(header); in vfio_ecap_init() 1640 if (ecap <= PCI_EXT_CAP_ID_MAX) { in vfio_ecap_init() 1641 len = pci_ext_cap_length[ecap]; in vfio_ecap_init() 1643 len = vfio_ext_cap_len(vdev, ecap, epos); in vfio_ecap_init() 1650 pci_dbg(pdev, "%s: hiding ecap %#x@%#x\n", in vfio_ecap_init() [all …]
|