xref: /rk3399_ARM-atf/drivers/marvell/secure_dfx_access/dfx.h (revision ad416958d946c66fdc116a5982eb8eb7e747e520)
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_handle(u_register_t func, u_register_t *read, u_register_t x2,
17 		     u_register_t x3);
18