pred_a            634 drivers/rtc/rtc-stm32.c 	unsigned int prer, pred_a, pred_s, pred_a_max, pred_s_max, cr;
pred_a            644 drivers/rtc/rtc-stm32.c 	for (pred_a = pred_a_max; pred_a + 1 > 0; pred_a--) {
pred_a            645 drivers/rtc/rtc-stm32.c 		pred_s = (rate / (pred_a + 1)) - 1;
pred_a            647 drivers/rtc/rtc-stm32.c 		if (((pred_s + 1) * (pred_a + 1)) == rate)
pred_a            655 drivers/rtc/rtc-stm32.c 	if ((pred_s > pred_s_max) || (pred_a > pred_a_max)) {
pred_a            656 drivers/rtc/rtc-stm32.c 		pred_a = pred_a_max;
pred_a            657 drivers/rtc/rtc-stm32.c 		pred_s = (rate / (pred_a + 1)) - 1;
pred_a            660 drivers/rtc/rtc-stm32.c 			 (rate < ((pred_a + 1) * (pred_s + 1))) ?
pred_a            675 drivers/rtc/rtc-stm32.c 	prer |= (pred_a << STM32_RTC_PRER_PRED_A_SHIFT) & STM32_RTC_PRER_PRED_A;