Lines Matching refs:OTP_FAILURE
37 #define OTP_FAILURE -2 macro
299 ret = OTP_FAILURE; in get_rid_num()
346 return OTP_FAILURE; in chip_version()
461 return OTP_FAILURE; in otp_compare()
482 return OTP_FAILURE; in verify_bit()
487 return OTP_FAILURE; in verify_bit()
513 return OTP_FAILURE; in verify_dw()
522 return OTP_FAILURE; in verify_dw()
537 return OTP_FAILURE; in verify_dw()
539 return OTP_FAILURE; in verify_dw()
582 return OTP_FAILURE; in otp_prog_dc_b()
590 return OTP_FAILURE; in otp_prog_dc_b()
605 return OTP_FAILURE; in otp_prog_dc_b()
657 return OTP_FAILURE; in otp_prog_verify_2dw()
659 return OTP_FAILURE; in otp_prog_verify_2dw()
666 return OTP_FAILURE; in otp_prog_verify_2dw()
672 return OTP_FAILURE; in otp_prog_verify_2dw()
682 return OTP_FAILURE; in otp_prog_verify_2dw()
687 return OTP_FAILURE; in otp_prog_verify_2dw()
703 return OTP_FAILURE; in otp_prog_verify_2dw()
792 return OTP_FAILURE; in otp_strap_bit_confirm()
796 return OTP_FAILURE; in otp_strap_bit_confirm()
969 return OTP_FAILURE; in otp_print_scu_image()
972 return OTP_FAILURE; in otp_print_scu_image()
1145 return OTP_FAILURE; in otp_print_conf_image()
1286 return OTP_FAILURE; in otp_print_strap_image()
1362 return OTP_FAILURE; in otp_print_strap_info()
1615 return OTP_FAILURE; in otp_prog_strap()
1627 return OTP_FAILURE; in otp_prog_strap()
1632 return OTP_FAILURE; in otp_prog_strap()
1664 return OTP_FAILURE; in otp_prog_conf()
1672 return OTP_FAILURE; in otp_prog_conf()
1693 return OTP_FAILURE; in otp_prog_conf()
1724 return OTP_FAILURE; in otp_prog_scu_protect()
1731 return OTP_FAILURE; in otp_prog_scu_protect()
1752 return OTP_FAILURE; in otp_prog_scu_protect()
1781 return OTP_FAILURE; in otp_check_data_image()
1791 return OTP_FAILURE; in otp_check_data_image()
1825 if (ret == OTP_FAILURE) in otp_check_strap_image()
1830 return OTP_FAILURE; in otp_check_strap_image()
1855 return OTP_FAILURE; in otp_check_conf_image()
1881 return OTP_FAILURE; in otp_check_scu_image()
1914 return OTP_FAILURE; in otp_verify_image()
1919 return OTP_FAILURE; in otp_verify_image()
1940 return OTP_FAILURE; in otp_prog_image()
1950 return OTP_FAILURE; in otp_prog_image()
1957 return OTP_FAILURE; in otp_prog_image()
1987 return OTP_FAILURE; in otp_prog_image()
1992 return OTP_FAILURE; in otp_prog_image()
2006 return OTP_FAILURE; in otp_prog_image()
2011 return OTP_FAILURE; in otp_prog_image()
2016 return OTP_FAILURE; in otp_prog_image()
2033 if (otp_check_data_image(&image_layout, data) == OTP_FAILURE) in otp_prog_image()
2046 if (otp_check_conf_image(&image_layout, conf) == OTP_FAILURE) in otp_prog_image()
2058 if (otp_check_strap_image(&image_layout, otpstrap) == OTP_FAILURE) in otp_prog_image()
2071 if (otp_check_scu_image(&image_layout, scu_pro) == OTP_FAILURE) in otp_prog_image()
2075 return OTP_FAILURE; in otp_prog_image()
2082 return OTP_FAILURE; in otp_prog_image()
2089 return OTP_FAILURE; in otp_prog_image()
2096 return OTP_FAILURE; in otp_prog_image()
2103 return OTP_FAILURE; in otp_prog_image()
2110 return OTP_FAILURE; in otp_prog_image()
2178 return OTP_FAILURE; in otp_prog_bit()
2192 return OTP_FAILURE; in otp_prog_bit()
2201 return OTP_FAILURE; in otp_prog_bit()
2216 if (ret == OTP_FAILURE) in otp_prog_bit()
2217 return OTP_FAILURE; in otp_prog_bit()
2228 return OTP_FAILURE; in otp_prog_bit()
2245 return OTP_FAILURE; in otp_prog_bit()
2274 return OTP_FAILURE; in otp_update_rid()
2280 return OTP_FAILURE; in otp_update_rid()
2287 return OTP_FAILURE; in otp_update_rid()
2297 return OTP_FAILURE; in otp_update_rid()
2301 return OTP_FAILURE; in otp_update_rid()
2322 return OTP_FAILURE; in otp_update_rid()
2337 ret = OTP_FAILURE; in otp_update_rid()
2377 return OTP_FAILURE; in otp_retire_key()
2382 return OTP_FAILURE; in otp_retire_key()
2395 return OTP_FAILURE; in otp_retire_key()
2399 if (otp_prog_dc_b(1, 0x808, retire_id) == OTP_FAILURE) { in otp_retire_key()
2402 if (otp_prog_dc_b(1, 0x808, retire_id + 16) == OTP_FAILURE) in otp_retire_key()
2416 return OTP_FAILURE; in otp_retire_key()
2454 return OTP_FAILURE; in parse_config()
2534 return OTP_FAILURE; in sb_sha()
2546 return OTP_FAILURE; in sb_sha()
2590 return OTP_FAILURE; in mode2_verify()
2605 return OTP_FAILURE; in mode2_verify()
2632 return OTP_FAILURE; in otp_verify_boot_image()
2638 return OTP_FAILURE; in otp_verify_boot_image()
2652 return OTP_FAILURE; in otp_verify_boot_image()
2666 return OTP_FAILURE; in otp_verify_boot_image()
2683 return OTP_FAILURE; in otp_verify_boot_image()
2689 return OTP_FAILURE; in otp_verify_boot_image()
2719 return OTP_FAILURE; in otp_verify_boot_image()
2746 return OTP_FAILURE; in otp_invalid_key()
2758 return OTP_FAILURE; in otp_invalid_key()
2814 else if (ret == OTP_FAILURE) in do_otpprog()
2981 else if (ret == OTP_FAILURE) in do_otppb()
3280 else if (ret == OTP_FAILURE) in do_otpverify()