162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * AMCC SoC PPC4xx Crypto Driver
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2008 Applied Micro Circuits Corporation.
662306a36Sopenharmony_ci * All rights reserved. James Hsiao <jhsiao@amcc.com>
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci * This file defines the security context
962306a36Sopenharmony_ci * associate format.
1062306a36Sopenharmony_ci */
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#ifndef __CRYPTO4XX_TRNG_H__
1362306a36Sopenharmony_ci#define __CRYPTO4XX_TRNG_H__
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#ifdef CONFIG_HW_RANDOM_PPC4XX
1662306a36Sopenharmony_civoid ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev);
1762306a36Sopenharmony_civoid ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev);
1862306a36Sopenharmony_ci#else
1962306a36Sopenharmony_cistatic inline void ppc4xx_trng_probe(
2062306a36Sopenharmony_ci	struct crypto4xx_core_device *dev __maybe_unused) { }
2162306a36Sopenharmony_cistatic inline void ppc4xx_trng_remove(
2262306a36Sopenharmony_ci	struct crypto4xx_core_device *dev __maybe_unused) { }
2362306a36Sopenharmony_ci#endif
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#endif
26