Searched refs:prer (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/rtc/ |
D | rtc-stm32.c | 99 u16 prer; member 556 .prer = 0x10, 578 .prer = 0x10, 609 .prer = 0x10, 634 unsigned int prer, pred_a, pred_s, pred_a_max, pred_s_max, cr; in stm32_rtc_init() local 673 prer = (pred_s << STM32_RTC_PRER_PRED_S_SHIFT) & STM32_RTC_PRER_PRED_S; in stm32_rtc_init() 674 writel_relaxed(prer, rtc->base + regs->prer); in stm32_rtc_init() 675 prer |= (pred_a << STM32_RTC_PRER_PRED_A_SHIFT) & STM32_RTC_PRER_PRED_A; in stm32_rtc_init() 676 writel_relaxed(prer, rtc->base + regs->prer); in stm32_rtc_init()
|