blob: e8c055280e208ce0c0f7e3f5b98e250abd6abc8a [file] [log] [blame]
developer65014b82015-04-13 14:47:57 +08001/*
2 * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
developer65014b82015-04-13 14:47:57 +08005 */
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(unsigned long mpidr, unsigned char mode);
18
19#endif