blob: 8c98dbd154cf125af67a43e6cf46633ba1a97e6e [file] [log] [blame]
developer550bf5e2016-07-11 16:05:23 +08001/*
2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
developer550bf5e2016-07-11 16:05:23 +08005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef POWER_TRACER_H
8#define POWER_TRACER_H
developer550bf5e2016-07-11 16:05:23 +08009
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000019#endif /* POWER_TRACER_H */