Home
last modified time | relevance | path

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

/openbmc/linux/arch/csky/kernel/
H A Dperf_event.c46 } csky_pmu; variable
900 left = csky_pmu.max_period; in csky_pmu_event_set_period()
910 csky_pmu.max_period); in csky_pmu_event_set_period()
998 csky_pmu.hpcr = BIT(2); in csky_pmu_event_init()
1000 csky_pmu.hpcr = BIT(3); in csky_pmu_event_init()
1012 cpwcr(HPCR, csky_pmu.hpcr); in csky_pmu_enable()
1202 if (!csky_pmu.hw_events) { in init_hw_perf_events()
1207 csky_pmu.pmu = (struct pmu) { in init_hw_perf_events()
1306 &csky_pmu.count_width)) { in csky_pmu_device_probe()
1309 csky_pmu.max_period = BIT_ULL(csky_pmu.count_width) - 1; in csky_pmu_device_probe()
[all …]