Home
last modified time | relevance | path

Searched refs:tim_ker (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/
H A Dclk-stm32mp1.c953 struct timer_cker *tim_ker = to_timer_cker(hw); in __bestmult() local
957 prescaler = readl_relaxed(tim_ker->apbdiv) & APB_DIV_MASK; in __bestmult()
980 struct timer_cker *tim_ker = to_timer_cker(hw); in timer_ker_set_rate() local
985 spin_lock_irqsave(tim_ker->lock, flags); in timer_ker_set_rate()
991 writel_relaxed(0, tim_ker->timpre); in timer_ker_set_rate()
994 writel_relaxed(1, tim_ker->timpre); in timer_ker_set_rate()
999 spin_unlock_irqrestore(tim_ker->lock, flags); in timer_ker_set_rate()
1007 struct timer_cker *tim_ker = to_timer_cker(hw); in timer_ker_recalc_rate() local
1011 prescaler = readl_relaxed(tim_ker->apbdiv) & APB_DIV_MASK; in timer_ker_recalc_rate()
1013 timpre = readl_relaxed(tim_ker->timpre) & TIM_PRE_MASK; in timer_ker_recalc_rate()
[all …]