Lines Matching refs:crypto_node
37 int crypto_node, sec_idx, err; in fdt_fixup_crypto_node() local
42 crypto_node = fdt_node_offset_by_compatible(blob, -1, "fsl,sec2.0"); in fdt_fixup_crypto_node()
43 if (crypto_node == -FDT_ERR_NOTFOUND) in fdt_fixup_crypto_node()
47 if (crypto_node > 0 && !sec_rev) { in fdt_fixup_crypto_node()
48 fdt_del_node(blob, crypto_node); in fdt_fixup_crypto_node()
62 err = fdt_setprop_u32(blob, crypto_node, "fsl,num-channels", in fdt_fixup_crypto_node()
68 err = fdt_setprop_u32(blob, crypto_node, "fsl,descriptor-types-mask", in fdt_fixup_crypto_node()
74 err = fdt_setprop_u32(blob, crypto_node, "fsl,exec-units-mask", in fdt_fixup_crypto_node()
80 err = fdt_setprop_u32(blob, crypto_node, "fsl,channel-fifo-len", in fdt_fixup_crypto_node()
94 err = fdt_setprop(blob, crypto_node, "compatible", &compat_strlist, in fdt_fixup_crypto_node()
148 int crypto_node; in fdt_fixup_crypto_era() local
150 crypto_node = fdt_path_offset(blob, "crypto"); in fdt_fixup_crypto_era()
151 if (crypto_node < 0) { in fdt_fixup_crypto_era()
156 err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era); in fdt_fixup_crypto_era()