18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/** 38c2ecf20Sopenharmony_ci * AMCC SoC PPC4xx Crypto Driver 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2008 Applied Micro Circuits Corporation. 68c2ecf20Sopenharmony_ci * All rights reserved. James Hsiao <jhsiao@amcc.com> 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * This file defines the security context 98c2ecf20Sopenharmony_ci * associate format. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifndef __CRYPTO4XX_TRNG_H__ 138c2ecf20Sopenharmony_ci#define __CRYPTO4XX_TRNG_H__ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifdef CONFIG_HW_RANDOM_PPC4XX 168c2ecf20Sopenharmony_civoid ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev); 178c2ecf20Sopenharmony_civoid ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev); 188c2ecf20Sopenharmony_ci#else 198c2ecf20Sopenharmony_cistatic inline void ppc4xx_trng_probe( 208c2ecf20Sopenharmony_ci struct crypto4xx_core_device *dev __maybe_unused) { } 218c2ecf20Sopenharmony_cistatic inline void ppc4xx_trng_remove( 228c2ecf20Sopenharmony_ci struct crypto4xx_core_device *dev __maybe_unused) { } 238c2ecf20Sopenharmony_ci#endif 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif 26