1 /* $NetBSD: exynos_ppmu.h,v 1.1.1.1 2020/01/03 14:33:03 skrll Exp $ */ 2 3 /* SPDX-License-Identifier: GPL-2.0 */ 4 /* 5 * Samsung Exynos PPMU event types for counting in regs 6 * 7 * Copyright (c) 2019, Samsung Electronics 8 * Author: Lukasz Luba <l.luba@partner.samsung.com> 9 */ 10 11 #ifndef __DT_BINDINGS_PMU_EXYNOS_PPMU_H 12 #define __DT_BINDINGS_PMU_EXYNOS_PPMU_H 13 14 #define PPMU_RO_BUSY_CYCLE_CNT 0x0 15 #define PPMU_WO_BUSY_CYCLE_CNT 0x1 16 #define PPMU_RW_BUSY_CYCLE_CNT 0x2 17 #define PPMU_RO_REQUEST_CNT 0x3 18 #define PPMU_WO_REQUEST_CNT 0x4 19 #define PPMU_RO_DATA_CNT 0x5 20 #define PPMU_WO_DATA_CNT 0x6 21 #define PPMU_RO_LATENCY 0x12 22 #define PPMU_WO_LATENCY 0x16 23 #define PPMU_V2_RO_DATA_CNT 0x4 24 #define PPMU_V2_WO_DATA_CNT 0x5 25 #define PPMU_V2_EVT3_RW_DATA_CNT 0x22 26 27 #endif 28