blob: c93be64fe91d80683988be1847980aab682f1e45 [file] [log] [blame]
developer1033ea12019-04-10 21:09:26 +08001/*
2 * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef POWER_TRACER_H
8#define POWER_TRACER_H
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
17void trace_power_flow(u_register_t mpidr, unsigned char mode);
18
19#endif /* POWER_TRACER_H */
20