Searched refs:ddr_pmu (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 40 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu) 93 struct ddr_pmu { struct 111 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_identifier_show() argument 121 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_identifier_attr_visible() 147 static u32 ddr_perf_filter_cap_get(struct ddr_pmu *pmu, int cap) in ddr_perf_filter_cap_get() 168 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_filter_cap_show() 198 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_cpumask_show() 317 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_is_enhanced_filtered() 324 static u32 ddr_perf_alloc_counter(struct ddr_pmu *pmu, int event) in ddr_perf_alloc_counter() 348 static void ddr_perf_free_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_free_counter() [all …]
|
D | marvell_cn10k_ddr_pmu.c | 514 struct cn10k_ddr_pmu *ddr_pmu = to_cn10k_ddr_pmu(pmu); in cn10k_ddr_perf_pmu_enable() local 516 writeq_relaxed(START_OP_CTRL_VAL_START, ddr_pmu->base + in cn10k_ddr_perf_pmu_enable() 522 struct cn10k_ddr_pmu *ddr_pmu = to_cn10k_ddr_pmu(pmu); in cn10k_ddr_perf_pmu_disable() local 524 writeq_relaxed(END_OP_CTRL_VAL_END, ddr_pmu->base + in cn10k_ddr_perf_pmu_disable() 634 struct cn10k_ddr_pmu *ddr_pmu; in cn10k_ddr_perf_probe() local 640 ddr_pmu = devm_kzalloc(&pdev->dev, sizeof(*ddr_pmu), GFP_KERNEL); in cn10k_ddr_perf_probe() 641 if (!ddr_pmu) in cn10k_ddr_perf_probe() 644 ddr_pmu->dev = &pdev->dev; in cn10k_ddr_perf_probe() 645 platform_set_drvdata(pdev, ddr_pmu); in cn10k_ddr_perf_probe() 651 ddr_pmu->base = base; in cn10k_ddr_perf_probe() [all …]
|