Lines Matching refs:ret
42 int32_t ret = 0, index = 0; in auth_mod_verify_img() local
84 return ret; in auth_mod_verify_img()
105 ret = rcar_get_certificate(image[index].cert, &cert_addr); in auth_mod_verify_img()
109 if (ret || (index == RCAR_IMAGE_ID_MAX)) { in auth_mod_verify_img()
111 return ret; in auth_mod_verify_img()
118 ret = (mmio_read_32(RCAR_BOOT_KEY_CERT_NEW) == RCAR_CERT_MAGIC_NUM) ? in auth_mod_verify_img()
121 if (ret) in auth_mod_verify_img()
122 ERROR("Verification Failed 0x%x, %s\n", ret, image[index].name); in auth_mod_verify_img()
130 return ret; in auth_mod_verify_img()
143 uint32_t lcs, ret; in auth_mod_init() local
147 ret = rcar_rom_get_lcs(&lcs); in auth_mod_init()
148 if (ret) { in auth_mod_init()
149 ERROR("BL2: Failed to get the LCS. (%d)\n", ret); in auth_mod_init()