1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  *
7  * Description:
8  *      Thermal Management unit test support.
9  */
10 #include <mod_sensor.h>
11 #include <mod_thermal_mgmt.h>
12 
13 /*! Thermal protection warning alarm callback. */
14 void mod_thermal_mgmt_protection_api_warning(
15     fwk_id_t driver_id,
16     fwk_id_t thermal_id);
17 
18 /*! Thermal protection critical alarm callback. */
19 void mod_thermal_mgmt_protection_api_critical(
20     fwk_id_t driver_id,
21     fwk_id_t thermal_id);
22 
23 /*! Read sensor data. */
24 int mod_sensor_get_data(fwk_id_t id, struct mod_sensor_data *data);
25 
26 /* Power allocation */
27 void distribute_power(
28     fwk_id_t id,
29     uint32_t *perf_request,
30     uint32_t *perf_limit);
31