developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef POWER_TRACER_H |
| 8 | #define POWER_TRACER_H |
developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 9 | |
| 10 | #define CPU_UP 0 |
| 11 | #define CPU_DOWN 1 |
| 12 | #define CPU_SUSPEND 2 |
| 13 | #define CLUSTER_UP 3 |
| 14 | #define CLUSTER_DOWN 4 |
| 15 | #define CLUSTER_SUSPEND 5 |
| 16 | |
| 17 | void trace_power_flow(unsigned long mpidr, unsigned char mode); |
| 18 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 19 | #endif /* POWER_TRACER_H */ |