summaryrefslogtreecommitdiffstats
path: root/plat/mediatek/mt8173/include/power_tracer.h
blob: 195366d4d2d30441cb202d378f93b0aa7d95d2c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef POWER_TRACER_H
#define POWER_TRACER_H

#define CPU_UP		0
#define CPU_DOWN	1
#define CPU_SUSPEND	2
#define CLUSTER_UP	3
#define CLUSTER_DOWN	4
#define CLUSTER_SUSPEND	5

void trace_power_flow(unsigned long mpidr, unsigned char mode);

#endif /* POWER_TRACER_H */