power_tracer.h 396 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef POWER_TRACER_H
  7. #define POWER_TRACER_H
  8. #define CPU_UP 0
  9. #define CPU_DOWN 1
  10. #define CPU_SUSPEND 2
  11. #define CLUSTER_UP 3
  12. #define CLUSTER_DOWN 4
  13. #define CLUSTER_SUSPEND 5
  14. void trace_power_flow(unsigned long mpidr, unsigned char mode);
  15. #endif /* POWER_TRACER_H */