/linux-4.19.296/virt/kvm/arm/ |
D | pmu.c | 36 struct kvm_pmc *pmc = &pmu->pmc[select_idx]; in kvm_pmu_get_counter_value() local 45 if (pmc->perf_event) in kvm_pmu_get_counter_value() 46 counter += perf_event_read_value(pmc->perf_event, &enabled, in kvm_pmu_get_counter_value() 49 return counter & pmc->bitmask; in kvm_pmu_get_counter_value() 73 static void kvm_pmu_stop_counter(struct kvm_vcpu *vcpu, struct kvm_pmc *pmc) in kvm_pmu_stop_counter() argument 77 if (pmc->perf_event) { in kvm_pmu_stop_counter() 78 counter = kvm_pmu_get_counter_value(vcpu, pmc->idx); in kvm_pmu_stop_counter() 79 reg = (pmc->idx == ARMV8_PMU_CYCLE_IDX) in kvm_pmu_stop_counter() 80 ? PMCCNTR_EL0 : PMEVCNTR0_EL0 + pmc->idx; in kvm_pmu_stop_counter() 82 perf_event_disable(pmc->perf_event); in kvm_pmu_stop_counter() [all …]
|
/linux-4.19.296/drivers/clk/tegra/ |
D | clk.h | 326 void __iomem *pmc; member 351 void __iomem *clk_base, void __iomem *pmc, 356 void __iomem *clk_base, void __iomem *pmc, 361 void __iomem *clk_base, void __iomem *pmc, 367 void __iomem *clk_base, void __iomem *pmc, 373 void __iomem *clk_base, void __iomem *pmc, 379 void __iomem *clk_base, void __iomem *pmc, 386 void __iomem *pmc, unsigned long flags, 404 void __iomem *pmc, unsigned long flags, 420 void __iomem *clk_base, void __iomem *pmc,
|
D | clk-pll.c | 244 #define pll_override_readl(offset, p) readl_relaxed(p->pmc + offset) 251 #define pll_override_writel(val, offset, p) writel(val, p->pmc + offset) 347 val = readl_relaxed(pll->pmc + PMC_PLLP_WB0_OVERRIDE); in clk_pll_is_enabled() 384 val = readl_relaxed(pll->pmc + PMC_PLLP_WB0_OVERRIDE); in _clk_pll_enable() 386 writel_relaxed(val, pll->pmc + PMC_PLLP_WB0_OVERRIDE); in _clk_pll_enable() 402 val = readl_relaxed(pll->pmc + PMC_PLLP_WB0_OVERRIDE); in _clk_pll_disable() 404 writel_relaxed(val, pll->pmc + PMC_PLLP_WB0_OVERRIDE); in _clk_pll_disable() 903 if (!pll->pmc) in clk_plle_training() 910 val = readl(pll->pmc + PMC_SATA_PWRGT); in clk_plle_training() 912 writel(val, pll->pmc + PMC_SATA_PWRGT); in clk_plle_training() [all …]
|
D | clk-tegra114.c | 928 void __iomem *pmc) in tegra114_pll_init() argument 934 pmc, 0, &pll_c_params, NULL); in tegra114_pll_init() 947 clk = tegra_clk_register_pllc("pll_c2", "pll_ref", clk_base, pmc, 0, in tegra114_pll_init() 952 clk = tegra_clk_register_pllc("pll_c3", "pll_ref", clk_base, pmc, 0, in tegra114_pll_init() 957 clk = tegra_clk_register_pllm("pll_m", "pll_ref", clk_base, pmc, in tegra114_pll_init() 1001 clk = tegra_clk_register_pll("pll_d", "pll_ref", clk_base, pmc, 0, in tegra114_pll_init() 1011 clk = tegra_clk_register_pll("pll_d2", "pll_ref", clk_base, pmc, 0, in tegra114_pll_init() 1021 clk = tegra_clk_register_pllre("pll_re_vco", "pll_ref", clk_base, pmc, in tegra114_pll_init()
|
D | Makefile | 15 obj-y += clk-tegra-pmc.o
|
D | clk-tegra124.c | 1052 void __iomem *pmc) in tegra124_pll_init() argument 1058 pmc, 0, &pll_c_params, NULL); in tegra124_pll_init() 1079 clk = tegra_clk_register_pllc("pll_c2", "pll_ref", clk_base, pmc, 0, in tegra124_pll_init() 1085 clk = tegra_clk_register_pllc("pll_c3", "pll_ref", clk_base, pmc, 0, in tegra124_pll_init() 1091 clk = tegra_clk_register_pllm("pll_m", "pll_ref", clk_base, pmc, in tegra124_pll_init() 1144 clk = tegra_clk_register_pll("pll_d", "pll_ref", clk_base, pmc, 0, in tegra124_pll_init() 1156 clk = tegra_clk_register_pllre("pll_re_vco", "pll_ref", clk_base, pmc, in tegra124_pll_init()
|
D | clk-tegra210.c | 3061 void __iomem *pmc) in tegra210_pll_init() argument 3067 pmc, 0, &pll_c_params, NULL); in tegra210_pll_init() 3090 pmc, 0, &pll_c2_params, NULL); in tegra210_pll_init() 3096 pmc, 0, &pll_c3_params, NULL); in tegra210_pll_init() 3101 clk = tegra_clk_register_pllm("pll_m", "osc", clk_base, pmc, in tegra210_pll_init() 3107 clk = tegra_clk_register_pllmb("pll_mb", "osc", clk_base, pmc, in tegra210_pll_init() 3177 clk = tegra_clk_register_pll("pll_d", "pll_ref", clk_base, pmc, 0, in tegra210_pll_init() 3190 clk_base, pmc, 0, in tegra210_pll_init() 3218 clk = tegra_clk_register_pllre("pll_c4_vco", "pll_ref", clk_base, pmc, in tegra210_pll_init()
|
/linux-4.19.296/drivers/memory/samsung/ |
D | exynos-srom.c | 70 u32 bank, width, pmc = 0; in exynos_srom_configure_bank() local 79 pmc = 1 << EXYNOS_SROM_BCX__PMC__SHIFT; in exynos_srom_configure_bank() 94 writel_relaxed(pmc | (timing[0] << EXYNOS_SROM_BCX__TACP__SHIFT) | in exynos_srom_configure_bank()
|
/linux-4.19.296/drivers/clk/x86/ |
D | Makefile | 1 obj-$(CONFIG_PMC_ATOM) += clk-pmc-atom.o
|
/linux-4.19.296/drivers/clk/at91/ |
D | Makefile | 6 obj-y += pmc.o sckc.o
|
/linux-4.19.296/include/kvm/ |
D | arm_pmu.h | 36 struct kvm_pmc pmc[ARMV8_PMU_MAX_COUNTERS]; member
|
/linux-4.19.296/drivers/pci/ |
D | pci.c | 2706 u16 pmc; in pci_pm_init() local 2722 pci_read_config_word(dev, pm + PCI_PM_PMC, &pmc); in pci_pm_init() 2724 if ((pmc & PCI_PM_CAP_VER_MASK) > 3) { in pci_pm_init() 2726 pmc & PCI_PM_CAP_VER_MASK); in pci_pm_init() 2739 if (pmc & PCI_PM_CAP_D1) in pci_pm_init() 2741 if (pmc & PCI_PM_CAP_D2) in pci_pm_init() 2750 pmc &= PCI_PM_CAP_PME_MASK; in pci_pm_init() 2751 if (pmc) { in pci_pm_init() 2753 (pmc & PCI_PM_CAP_PME_D0) ? " D0" : "", in pci_pm_init() 2754 (pmc & PCI_PM_CAP_PME_D1) ? " D1" : "", in pci_pm_init() [all …]
|
/linux-4.19.296/ |
D | MAINTAINERS | 11605 W: http://www.pmc-sierra.com/
|