Searched refs:try_cnt (Results 1 – 1 of 1) sorted by relevance
428 uint32_t try_cnt; in stm32_get_and_dec_fwu_trial_boot_cnt() local431 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()433 assert(try_cnt <= FWU_MAX_TRIAL_REBOOT); in stm32_get_and_dec_fwu_trial_boot_cnt()435 if (try_cnt != 0U) { in stm32_get_and_dec_fwu_trial_boot_cnt()437 (try_cnt - 1U) << FWU_INFO_CNT_OFF); in stm32_get_and_dec_fwu_trial_boot_cnt()441 return try_cnt; in stm32_get_and_dec_fwu_trial_boot_cnt()