Home
last modified time | relevance | path

Searched refs:pmu_context (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/soc/samsung/
H A Dexynos-pmu.c27 static struct exynos_pmu_context *pmu_context; variable
44 if (!pmu_context || !pmu_context->pmu_data) in exynos_sys_powerdown_conf()
47 pmu_data = pmu_context->pmu_data; in exynos_sys_powerdown_conf()
135 pmu_context = devm_kzalloc(&pdev->dev, in exynos_pmu_probe()
138 if (!pmu_context) in exynos_pmu_probe()
140 pmu_context->dev = dev; in exynos_pmu_probe()
141 pmu_context->pmu_data = of_device_get_match_data(dev); in exynos_pmu_probe()
143 if (pmu_context->pmu_data && pmu_context->pmu_data->pmu_init) in exynos_pmu_probe()
144 pmu_context->pmu_data->pmu_init(); in exynos_pmu_probe()
146 platform_set_drvdata(pdev, pmu_context); in exynos_pmu_probe()
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_pmu.h56 #define vcpu_to_pmu(vcpu) (&(vcpu)->arch.pmu_context)
57 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu_context))
H A Dkvm_host.h246 struct kvm_pmu pmu_context; member