Lines Matching full:strap
176 u8 *strap; member
1234 OTPSTRAP = (u32 *)image_layout->strap; in otp_print_strap_image()
1563 u32 *strap; in otp_prog_strap() local
1573 strap = (u32 *)image_layout->strap; in otp_prog_strap()
1581 bit = (strap[0] >> offset) & 0x1; in otp_prog_strap()
1589 bit = (strap[1] >> offset) & 0x1; in otp_prog_strap()
1801 u32 *strap; in otp_check_strap_image() local
1808 strap = (u32 *)image_layout->strap; in otp_check_strap_image()
1814 bit = (strap[0] >> i) & 0x1; in otp_check_strap_image()
1818 bit = (strap[1] >> (i - 32)) & 0x1; in otp_check_strap_image()
1968 image_layout.strap = buf + OTP_REGION_OFFSET(otp_header->strap_info); in otp_prog_image()
1970 image_layout.strap_pro = image_layout.strap + image_layout.strap_length; in otp_prog_image()
1971 image_layout.strap_ignore = image_layout.strap + 2 * image_layout.strap_length; in otp_prog_image()
2051 printf("OTP strap region is protected\n"); in otp_prog_image()
2054 printf("Read OTP Strap Region:\n"); in otp_prog_image()
2063 printf("OTP strap region is protected\n"); in otp_prog_image()
2093 printf("\nOTP strap region :\n"); in otp_prog_image()
2095 printf("OTP strap error, please check.\n"); in otp_prog_image()
2124 printf("programing strap region ...\n"); in otp_prog_image()
2785 else if (!strcmp(argv[1], "strap")) in do_otpread()
2839 else if (!strcmp(argv[0], "strap")) in do_otppb()
2952 printf("OTP strap region is protected\n"); in do_otppb()
2969 printf("OTP strap region is protected\n"); in do_otppb()
3022 } else if (!strcmp(argv[1], "strap")) { in do_otpinfo()
3071 printf("OTP strap region is protected\n"); in do_otpprotect()
3134 printf("OTP strap region is protected\n"); in do_otp_scuprotect()
3422 "otp read strap <strap_bit_offset> <bit_count>\n"
3423 "otp info strap [v]\n"
3429 "otp pb strap [o] <bit_offset> <value>\n"