xref: /kernel/linux/linux-6.6/arch/arm/mach-at91/sam_secure.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/arm/mach-at91/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2022, Microchip
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef SAM_SECURE_H
762306a36Sopenharmony_ci#define SAM_SECURE_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <linux/arm-smccc.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/* Secure Monitor mode APIs */
1262306a36Sopenharmony_ci#define SAMA5_SMC_SIP_SET_SUSPEND_MODE	0x400
1362306a36Sopenharmony_ci#define SAMA5_SMC_SIP_GET_SUSPEND_MODE	0x401
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_civoid __init sam_secure_init(void);
1662306a36Sopenharmony_cistruct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);
1762306a36Sopenharmony_cibool sam_linux_is_optee_available(void);
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#endif /* SAM_SECURE_H */
20

Indexes created Thu Nov 07 10:32:03 CST 2024