Lines Matching refs:update_num
2252 static int otp_update_rid(u32 update_num, int force) in otp_update_rid() argument
2277 if (update_num > sw_rid_num) { in otp_update_rid()
2292 printf("input update number: 0x%x\n", update_num); in otp_update_rid()
2294 if (rid_num > update_num) { in otp_update_rid()
2295 printf("OTP rev_id is bigger than 0x%X\n", update_num); in otp_update_rid()
2298 } else if (rid_num == update_num) { in otp_update_rid()
2304 for (i = rid_num; i < update_num; i++) { in otp_update_rid()
2313 if (i + 1 != update_num) in otp_update_rid()
2327 for (i = rid_num; i < update_num; i++) { in otp_update_rid()
3175 u32 update_num; in do_otpupdate() local
3183 update_num = simple_strtoul(argv[2], NULL, 16); in do_otpupdate()
3185 update_num = simple_strtoul(argv[1], NULL, 16); in do_otpupdate()
3190 if (update_num > 64) in do_otpupdate()
3192 ret = otp_update_rid(update_num, force); in do_otpupdate()