power_tracer.h 383 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
 */

Leon Chen's avatar
Leon Chen committed
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

Leon Chen's avatar
Leon Chen committed
19
#endif