power_tracer.h 396 Bytes
Newer Older
1
/*
Leon Chen's avatar
Leon Chen committed
2
 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
 */

7
8
#ifndef POWER_TRACER_H
#define POWER_TRACER_H
9

Leon Chen's avatar
Leon Chen committed
10
11
12
13
14
15
#define CPU_UP		0
#define CPU_DOWN	1
#define CPU_SUSPEND	2
#define CLUSTER_UP	3
#define CLUSTER_DOWN	4
#define CLUSTER_SUSPEND	5
16

Leon Chen's avatar
Leon Chen committed
17
void trace_power_flow(unsigned long mpidr, unsigned char mode);
18

19
#endif /* POWER_TRACER_H */