xref: /rk3399_ARM-atf/drivers/marvell/secure_dfx_access/dfx.h (revision 0cedca636fe07a62cf39548470baf3aaae9f008f)
1 /*
2  * Copyright (C) 2019 Marvell International Ltd.
3  *
4  * SPDX-License-Identifier:     BSD-3-Clause
5  * https://spdx.org/licenses
6  */
7 
8 /* DFX sub-FID */
9 #define MV_SIP_DFX_THERMAL_INIT		1
10 #define MV_SIP_DFX_THERMAL_READ		2
11 #define MV_SIP_DFX_THERMAL_IS_VALID	3
12 #define MV_SIP_DFX_THERMAL_IRQ		4
13 #define MV_SIP_DFX_THERMAL_THRESH	5
14 #define MV_SIP_DFX_THERMAL_SEL_CHANNEL	6
15 
16 int mvebu_dfx_thermal_handle(u_register_t func, u_register_t *read,
17 			     u_register_t x2, u_register_t x3);
18