Lines Matching +full:sec +full:- +full:era
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * CAAM/SEC 4.x driver backend
6 * Copyright 2008-2011 Freescale Semiconductor, Inc.
16 /* Currently comes from Kconfig param as a ^2 (driver-required) */
20 * Maximum size for crypto-engine software queue based on Job Ring
21 * size (JOBR_DEPTH) and a THRESHOLD (reserved for the non-crypto-API
22 * requests that are not passed through crypto-engine)
25 #define CRYPTO_ENGINE_MAX_QLEN (JOBR_DEPTH - THRESHOLD)
39 * Storage for tracking each in-process entry moving across a ring
60 /* Private sub-storage for a single JobR */
80 * DMA-safe */
83 void *outring; /* Base of output ring, DMA-safe */
97 * Driver-private storage for a single CAAM block instance
100 /* Physical-presence section */
111 * or from register-based version detection code
117 u8 optee_en; /* Nonzero if OP-TEE f/w is active */
121 int era; /* CAAM Era (internal HW revision) */ member
249 struct device_node *nprop = dev->of_node; in caam_get_dma_mask()
257 if (of_device_is_compatible(nprop, "fsl,sec-v5.0-job-ring") || in caam_get_dma_mask()
258 of_device_is_compatible(nprop, "fsl,sec-v5.0")) in caam_get_dma_mask()