Searched refs:try_cnt (Results 1 – 1 of 1) sorted by relevance
424 uint32_t try_cnt; in stm32_get_and_dec_fwu_trial_boot_cnt() local427 try_cnt = (mmio_read_32(bkpr_fwu_cnt) & FWU_INFO_CNT_MSK) >> FWU_INFO_CNT_OFF; in stm32_get_and_dec_fwu_trial_boot_cnt()429 assert(try_cnt <= FWU_MAX_TRIAL_REBOOT); in stm32_get_and_dec_fwu_trial_boot_cnt()431 if (try_cnt != 0U) { in stm32_get_and_dec_fwu_trial_boot_cnt()433 (try_cnt - 1U) << FWU_INFO_CNT_OFF); in stm32_get_and_dec_fwu_trial_boot_cnt()437 return try_cnt; in stm32_get_and_dec_fwu_trial_boot_cnt()