1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2024, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 * 7 * Description: 8 * Performance controller unit test stub for internal functions. 9 */ 10 #include <perf_controller.h> 11 12 #include <stdint.h> 13 14 uint32_t get_cores_min_power_limit_stub( 15 struct mod_perf_controller_cluster_ctx *cluster_ctx); 16 17 int power_to_performance( 18 fwk_id_t model_id, 19 uint32_t power, 20 uint32_t *performance_level); 21 22 int driver_set_performance_level( 23 fwk_id_t domain_id, 24 uintptr_t cookie, 25 uint32_t performance_level); 26 27 int cluster_apply_performance_granted_stub( 28 struct mod_perf_controller_cluster_ctx *cluster_ctx); 29