Searched refs:ddr_pmu (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/perf/ |
D | fsl_imx9_ddr_perf.c | 59 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu) 70 struct ddr_pmu { struct 92 static inline bool is_imx93(struct ddr_pmu *pmu) in is_imx93() argument 97 static inline bool is_imx95(struct ddr_pmu *pmu) in is_imx95() 113 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_identifier_show() 133 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_cpumask_show() 297 struct ddr_pmu *ddr_pmu = to_ddr_pmu(pmu); in ddr_perf_events_attrs_is_visible() local 305 if (eattr->devtype_data != ddr_pmu->devtype_data) in ddr_perf_events_attrs_is_visible() 343 static void ddr_perf_clear_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_clear_counter() 353 static u64 ddr_perf_read_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_read_counter() [all …]
|
D | fsl_imx8_ddr_perf.c | 52 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu) 112 struct ddr_pmu { struct 130 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_identifier_show() argument 140 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_identifier_attr_visible() 167 static u32 ddr_perf_filter_cap_get(struct ddr_pmu *pmu, int cap) in ddr_perf_filter_cap_get() 190 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_filter_cap_show() 221 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_cpumask_show() 344 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_is_enhanced_filtered() 351 static u32 ddr_perf_alloc_counter(struct ddr_pmu *pmu, int event) in ddr_perf_alloc_counter() 375 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 …]
|
/linux-6.12.1/drivers/perf/amlogic/ |
D | meson_ddr_pmu_core.c | 20 struct ddr_pmu { struct 35 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu) argument 36 #define dmc_info_to_pmu(p) container_of(p, struct ddr_pmu, info) 38 static void dmc_pmu_enable(struct ddr_pmu *pmu) in dmc_pmu_enable() 46 static void dmc_pmu_disable(struct ddr_pmu *pmu) in dmc_pmu_disable() 56 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_set_axi_filter() 87 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_update() 120 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_init() 145 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_start() 175 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_stop() [all …]
|