Home
last modified time | relevance | path

Searched refs:ddr_pmu (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/perf/
Dfsl_imx8_ddr_perf.c40 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu)
73 struct ddr_pmu { struct
93 static u32 ddr_perf_filter_cap_get(struct ddr_pmu *pmu, int cap) in ddr_perf_filter_cap_get() argument
114 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_filter_cap_show()
145 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_cpumask_show()
266 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_is_enhanced_filtered()
273 static u32 ddr_perf_alloc_counter(struct ddr_pmu *pmu, int event) in ddr_perf_alloc_counter()
297 static void ddr_perf_free_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_free_counter()
302 static u32 ddr_perf_read_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_read_counter()
319 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_event_init()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0031_linux_drivers_perf_phy_pinctrl_ptp_pwm.patch57 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu)
114 @@ -82,11 +119,15 @@ struct ddr_pmu {
130 @@ -100,6 +141,8 @@ static u32 ddr_perf_filter_cap_get(struct ddr_pmu *pmu, int cap)
200 +static int ddr_perf_clks_enable(struct ddr_pmu *pmu)
215 +static void ddr_perf_clks_disable(struct ddr_pmu *pmu)
248 static void ddr_perf_counter_enable(struct ddr_pmu *pmu, int config,
249 @@ -396,6 +489,20 @@ static void ddr_perf_counter_enable(struct ddr_pmu *pmu, int config,
270 @@ -404,13 +511,29 @@ static void ddr_perf_counter_enable(struct ddr_pmu *pmu, int config,
274 +static bool ddr_perf_counter_overflow(struct ddr_pmu *pmu, int counter)
285 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu);
[all …]