cvp_power.h 552 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only
  2. *
  3. * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef _CVP_POWER_H_
  6. #define _CVP_POWER_H_
  7. #include "msm_cvp_internal.h"
  8. #include "msm_cvp_common.h"
  9. #include "msm_cvp_clocks.h"
  10. #include "msm_cvp_debug.h"
  11. #include "msm_cvp_dsp.h"
  12. struct cvp_power_level {
  13. unsigned long core_sum;
  14. unsigned long op_core_sum;
  15. unsigned long bw_sum;
  16. };
  17. int msm_cvp_update_power(struct msm_cvp_inst *inst);
  18. unsigned int msm_cvp_get_hw_aggregate_cycles(enum hfi_hw_thread hwblk);
  19. #endif