Home
last modified time | relevance | path

Searched refs:ppmu (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.10/Documentation/devicetree/bindings/devfreq/event/
Dexynos-ppmu.txt14 - compatible: Should be "samsung,exynos-ppmu" or "samsung,exynos-ppmu-v2.
18 - clock-names : the name of clock used by the PPMU, "ppmu"
33 compatible = "samsung,exynos-ppmu";
39 compatible = "samsung,exynos-ppmu";
45 compatible = "samsung,exynos-ppmu";
51 compatible = "samsung,exynos-ppmu";
54 clock-names = "ppmu";
59 compatible = "samsung,exynos-ppmu";
62 clock-names = "ppmu";
72 ppmu_dmc0_3: ppmu-event3-dmc0 {
[all …]
/Linux-v5.10/arch/powerpc/perf/
Dcore-book3s.c61 static struct power_pmu *ppmu; variable
140 if (ppmu->flags & PPMU_HAS_SIER) in is_sier_available()
169 if ((ppmu->flags & PPMU_HAS_SSLOT) && (mmcra & MMCRA_SAMPLE_ENABLE)) { in perf_ip_adjust()
191 if (ppmu->flags & PPMU_HAS_SIER) in perf_get_data_addr()
196 if (ppmu->flags & PPMU_SIAR_VALID) in perf_get_data_addr()
198 else if (ppmu->flags & PPMU_ALT_SIPR) in perf_get_data_addr()
200 else if (ppmu->flags & PPMU_NO_SIAR) in perf_get_data_addr()
219 if (ppmu->flags & PPMU_HAS_SIER) in regs_sihv()
222 if (ppmu->flags & PPMU_ALT_SIPR) in regs_sihv()
232 if (ppmu->flags & PPMU_HAS_SIER) in regs_sipr()
[all …]
Dcore-fsl-emb.c27 static struct fsl_emb_pmu *ppmu; variable
293 int num_counters = ppmu->n_counter; in fsl_emb_pmu_add()
301 num_counters = ppmu->n_restricted; in fsl_emb_pmu_add()
460 if (!ppmu->cache_events) in hw_perf_cache_event()
473 ev = (*ppmu->cache_events)[type][op][result]; in hw_perf_cache_event()
491 if (ppmu->n_counter > MAX_HWEVENTS) { in fsl_emb_pmu_event_init()
493 ppmu->n_counter, MAX_HWEVENTS); in fsl_emb_pmu_event_init()
494 ppmu->n_counter = MAX_HWEVENTS; in fsl_emb_pmu_event_init()
500 if (ev >= ppmu->n_generic || ppmu->generic_events[ev] == 0) in fsl_emb_pmu_event_init()
502 ev = ppmu->generic_events[ev]; in fsl_emb_pmu_event_init()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dexynos4412-ppmu-common.dtsi13 ppmu_dmc0_3: ppmu-event3-dmc0 {
14 event-name = "ppmu-event3-dmc0";
23 ppmu_dmc1_3: ppmu-event3-dmc1 {
24 event-name = "ppmu-event3-dmc1";
33 ppmu_leftbus_3: ppmu-event3-leftbus {
34 event-name = "ppmu-event3-leftbus";
43 ppmu_rightbus_3: ppmu-event3-rightbus {
44 event-name = "ppmu-event3-rightbus";
Dexynos4.dtsi786 compatible = "samsung,exynos-ppmu";
789 clock-names = "ppmu";
794 compatible = "samsung,exynos-ppmu";
797 clock-names = "ppmu";
802 compatible = "samsung,exynos-ppmu";
805 clock-names = "ppmu";
810 compatible = "samsung,exynos-ppmu";
813 clock-names = "ppmu";
818 compatible = "samsung,exynos-ppmu";
821 clock-names = "ppmu";
[all …]
Dexynos3250.dtsi695 compatible = "samsung,exynos-ppmu";
701 compatible = "samsung,exynos-ppmu";
707 compatible = "samsung,exynos-ppmu";
713 compatible = "samsung,exynos-ppmu";
716 clock-names = "ppmu";
721 compatible = "samsung,exynos-ppmu";
724 clock-names = "ppmu";
729 compatible = "samsung,exynos-ppmu";
732 clock-names = "ppmu";
737 compatible = "samsung,exynos-ppmu";
[all …]
Dexynos5420.dtsi302 ppmu_dmc0_0: ppmu@10d00000 {
303 compatible = "samsung,exynos-ppmu";
306 clock-names = "ppmu";
308 ppmu_event3_dmc0_0: ppmu-event3-dmc0_0 {
309 event-name = "ppmu-event3-dmc0_0";
314 ppmu_dmc0_1: ppmu@10d10000 {
315 compatible = "samsung,exynos-ppmu";
318 clock-names = "ppmu";
320 ppmu_event3_dmc0_1: ppmu-event3-dmc0_1 {
321 event-name = "ppmu-event3-dmc0_1";
[all …]
Dexynos4210.dtsi172 compatible = "samsung,exynos-ppmu";
178 compatible = "samsung,exynos-ppmu";
181 clock-names = "ppmu";
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgm200.c48 gm200_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gm200_pmu_new() argument
50 return nvkm_pmu_new_(gm200_pmu_fwif, device, index, ppmu); in gm200_pmu_new()
Dgp102.c54 gp102_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gp102_pmu_new() argument
56 return nvkm_pmu_new_(gp102_pmu_fwif, device, index, ppmu); in gp102_pmu_new()
Dgf119.c50 gf119_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gf119_pmu_new() argument
52 return nvkm_pmu_new_(gf119_pmu_fwif, device, index, ppmu); in gf119_pmu_new()
Dgk208.c51 gk208_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gk208_pmu_new() argument
53 return nvkm_pmu_new_(gk208_pmu_fwif, device, index, ppmu); in gk208_pmu_new()
Dgm107.c52 gm107_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gm107_pmu_new() argument
54 return nvkm_pmu_new_(gm107_pmu_fwif, device, index, ppmu); in gm107_pmu_new()
Dgf100.c72 gf100_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gf100_pmu_new() argument
74 return nvkm_pmu_new_(gf100_pmu_fwif, device, index, ppmu); in gf100_pmu_new()
Dgk110.c109 gk110_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gk110_pmu_new() argument
111 return nvkm_pmu_new_(gk110_pmu_fwif, device, index, ppmu); in gk110_pmu_new()
Dbase.c198 int index, struct nvkm_pmu **ppmu) in nvkm_pmu_new_() argument
201 if (!(pmu = *ppmu = kzalloc(sizeof(*pmu), GFP_KERNEL))) in nvkm_pmu_new_()
203 return nvkm_pmu_ctor(fwif, device, index, *ppmu); in nvkm_pmu_new_()
Dgp10b.c102 gp10b_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gp10b_pmu_new() argument
104 return nvkm_pmu_new_(gp10b_pmu_fwif, device, index, ppmu); in gp10b_pmu_new()
Dgk104.c130 gk104_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gk104_pmu_new() argument
132 return nvkm_pmu_new_(gk104_pmu_fwif, device, index, ppmu); in gk104_pmu_new()
Dgk20a.c213 gk20a_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gk20a_pmu_new() argument
220 *ppmu = &pmu->base; in gk20a_pmu_new()
Dgm20b.c243 gm20b_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gm20b_pmu_new() argument
245 return nvkm_pmu_new_(gm20b_pmu_fwif, device, index, ppmu); in gm20b_pmu_new()
Dgt215.c285 gt215_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gt215_pmu_new() argument
287 return nvkm_pmu_new_(gt215_pmu_fwif, device, index, ppmu); in gt215_pmu_new()
/Linux-v5.10/Documentation/devicetree/bindings/memory-controllers/
Dexynos5422-dmc.txt44 ppmu_dmc0_0: ppmu@10d00000 {
45 compatible = "samsung,exynos-ppmu";
48 clock-names = "ppmu";
50 ppmu_event_dmc0_0: ppmu-event3-dmc0_0 {
51 event-name = "ppmu-event3-dmc0_0";
/Linux-v5.10/drivers/devfreq/event/
Dexynos-ppmu.c41 struct exynos_ppmu_data ppmu; member
631 info->ppmu.clk = devm_clk_get(dev, "ppmu"); in exynos_ppmu_parse_dt()
632 if (IS_ERR(info->ppmu.clk)) { in exynos_ppmu_parse_dt()
633 info->ppmu.clk = NULL; in exynos_ppmu_parse_dt()
688 ret = clk_prepare_enable(info->ppmu.clk); in exynos_ppmu_probe()
701 clk_disable_unprepare(info->ppmu.clk); in exynos_ppmu_remove()
DMakefile5 obj-$(CONFIG_DEVFREQ_EVENT_EXYNOS_PPMU) += exynos-ppmu.o
/Linux-v5.10/tools/perf/pmu-events/
Djevents.c608 const char *ppmu; in json_events() local
610 ppmu = field_to_perf(unit_to_pmu, map, val); in json_events()
611 if (ppmu) { in json_events()
612 je.pmu = strdup(ppmu); in json_events()

12