Searched refs:try_cnt (Results 1 – 1 of 1) sorted by relevance
685 uint32_t try_cnt; in stm32_get_and_dec_fwu_trial_boot_cnt() local688 try_cnt = (mmio_read_32(bkpr_fwu_cnt) & TAMP_BOOT_FWU_INFO_CNT_MSK) >> in stm32_get_and_dec_fwu_trial_boot_cnt()691 assert(try_cnt <= FWU_MAX_TRIAL_REBOOT); in stm32_get_and_dec_fwu_trial_boot_cnt()693 if (try_cnt != 0U) { in stm32_get_and_dec_fwu_trial_boot_cnt()695 (try_cnt - 1U) << TAMP_BOOT_FWU_INFO_CNT_OFF); in stm32_get_and_dec_fwu_trial_boot_cnt()699 return try_cnt; in stm32_get_and_dec_fwu_trial_boot_cnt()