1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Samsung Exynos PPMU event types for countin 3 * Samsung Exynos PPMU event types for counting in regs 4 * 4 * 5 * Copyright (c) 2019, Samsung Electronics 5 * Copyright (c) 2019, Samsung Electronics 6 * Author: Lukasz Luba <l.luba@partner.samsung 6 * Author: Lukasz Luba <l.luba@partner.samsung.com> 7 */ 7 */ 8 8 9 #ifndef __DT_BINDINGS_PMU_EXYNOS_PPMU_H 9 #ifndef __DT_BINDINGS_PMU_EXYNOS_PPMU_H 10 #define __DT_BINDINGS_PMU_EXYNOS_PPMU_H 10 #define __DT_BINDINGS_PMU_EXYNOS_PPMU_H 11 11 12 #define PPMU_RO_BUSY_CYCLE_CNT 0x0 12 #define PPMU_RO_BUSY_CYCLE_CNT 0x0 13 #define PPMU_WO_BUSY_CYCLE_CNT 0x1 13 #define PPMU_WO_BUSY_CYCLE_CNT 0x1 14 #define PPMU_RW_BUSY_CYCLE_CNT 0x2 14 #define PPMU_RW_BUSY_CYCLE_CNT 0x2 15 #define PPMU_RO_REQUEST_CNT 0x3 15 #define PPMU_RO_REQUEST_CNT 0x3 16 #define PPMU_WO_REQUEST_CNT 0x4 16 #define PPMU_WO_REQUEST_CNT 0x4 17 #define PPMU_RO_DATA_CNT 0x5 17 #define PPMU_RO_DATA_CNT 0x5 18 #define PPMU_WO_DATA_CNT 0x6 18 #define PPMU_WO_DATA_CNT 0x6 19 #define PPMU_RO_LATENCY 0x12 19 #define PPMU_RO_LATENCY 0x12 20 #define PPMU_WO_LATENCY 0x16 20 #define PPMU_WO_LATENCY 0x16 21 #define PPMU_V2_RO_DATA_CNT 0x4 21 #define PPMU_V2_RO_DATA_CNT 0x4 22 #define PPMU_V2_WO_DATA_CNT 0x5 22 #define PPMU_V2_WO_DATA_CNT 0x5 23 #define PPMU_V2_EVT3_RW_DATA_CNT 0x22 23 #define PPMU_V2_EVT3_RW_DATA_CNT 0x22 24 24 25 #endif 25 #endif 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.