power_tracer.h 396 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2019, 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(u_register_t mpidr, unsigned char mode);
  15. #endif /* POWER_TRACER_H */