Lines Matching refs:era
106 u8 era; in caam_get_era() member
130 u8 era = (ccbvid & SEC_CCBVID_ERA_MASK) >> SEC_CCBVID_ERA_SHIFT; in caam_get_era() local
134 if (era) /* This is '0' prior to CAAM ERA-6 */ in caam_get_era()
135 return era; in caam_get_era()
140 return caam_eras[i].era; in caam_get_era()
145 static void fdt_fixup_crypto_era(void *blob, u32 era) in fdt_fixup_crypto_era() argument
156 err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era); in fdt_fixup_crypto_era()
165 u8 era; in fdt_fixup_crypto_node() local
173 era = caam_get_era(); in fdt_fixup_crypto_node()
174 if (era) { in fdt_fixup_crypto_node()
175 fdt_fixup_crypto_era(blob, era); in fdt_fixup_crypto_node()