Lines Matching refs:era
114 u8 era; in caam_get_era() member
138 u8 era = (ccbvid & SEC_CCBVID_ERA_MASK) >> SEC_CCBVID_ERA_SHIFT; in caam_get_era() local
142 if (era) /* This is '0' prior to CAAM ERA-6 */ in caam_get_era()
143 return era; in caam_get_era()
148 return caam_eras[i].era; in caam_get_era()
153 static void fdt_fixup_crypto_era(void *blob, u32 era) in fdt_fixup_crypto_era() argument
164 err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era); in fdt_fixup_crypto_era()
173 u8 era; in fdt_fixup_crypto_node() local
181 era = caam_get_era(); in fdt_fixup_crypto_node()
182 if (era) { in fdt_fixup_crypto_node()
183 fdt_fixup_crypto_era(blob, era); in fdt_fixup_crypto_node()