Searched refs:pmu_context (Results 1 – 3 of 3) sorted by relevance
27 static struct exynos_pmu_context *pmu_context; variable44 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()
56 #define vcpu_to_pmu(vcpu) (&(vcpu)->arch.pmu_context)57 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu_context))
246 struct kvm_pmu pmu_context; member