summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach/smc_api.h
blob: bbefdd8dd980b5ccd75e3d6cbd7550e013704dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (C) 2020 Intel Corporation
 */

#ifndef _SMC_API_H_
#define _SMC_API_H_

int invoke_smc(u32 func_id, u64 *args, int arg_len, u64 *ret_arg, int ret_len);
int smc_send_mailbox(u32 cmd, u32 len, u32 *arg, u8 urgent, u32 *resp_buf_len,
		     u32 *resp_buf);

#endif /* _SMC_API_H_ */