aboutsummaryrefslogtreecommitdiff
path: root/drivers/marvell/secure_dfx_access/dfx.h
blob: 52efbf9410dd319aeb362f7f41d3ae13065413d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2019 Marvell International Ltd.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 * https://spdx.org/licenses
 */

/* DFX sub-FID */
#define MV_SIP_DFX_THERMAL_INIT		1
#define MV_SIP_DFX_THERMAL_READ		2
#define MV_SIP_DFX_THERMAL_IS_VALID	3
#define MV_SIP_DFX_THERMAL_IRQ		4
#define MV_SIP_DFX_THERMAL_THRESH	5
#define MV_SIP_DFX_THERMAL_SEL_CHANNEL	6

int mvebu_dfx_thermal_handle(u_register_t func, u_register_t *read,
			     u_register_t x2, u_register_t x3);