Lines Matching refs:prog_flag
774 int prog_flag = 0; in otp_strap_bit_confirm() local
788 prog_flag = 1; in otp_strap_bit_confirm()
790 if (otpstrap->protected == 1 && prog_flag) { in otp_strap_bit_confirm()
794 if (otpstrap->remain_times == 0 && prog_flag) { in otp_strap_bit_confirm()
800 if (prog_flag) in otp_strap_bit_confirm()
1571 int prog_flag = 0; in otp_prog_strap() local
1599 prog_flag = 0; in otp_prog_strap()
1601 prog_flag = 1; in otp_prog_strap()
1603 if (otpstrap[i].protected == 1 && prog_flag) { in otp_prog_strap()
1607 if (otpstrap[i].remain_times == 0 && prog_flag) { in otp_prog_strap()
1612 if (prog_flag) { in otp_prog_strap()