Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/
H A Dclk-stm32h7.c434 struct timer_ker *clk_elem = to_timer_ker(hw); in timer_ker_recalc_rate() local
436 u32 dppre_shift = clk_elem->dppre_shift; in timer_ker_recalc_rate()
697 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_is_enabled() local
698 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_is_enabled()
707 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_enable() local
708 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_enable()
717 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_disable() local
718 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_disable()
727 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_frac_is_enabled() local
735 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_read_frac() local
[all …]
H A Dclk-stm32mp1.c767 struct stm32_pll_obj *clk_elem = to_pll(hw); in __pll_is_enabled() local
776 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_enable() local
782 spin_lock_irqsave(clk_elem->lock, flags); in pll_enable()
787 reg = readl_relaxed(clk_elem->reg); in pll_enable()
789 writel_relaxed(reg, clk_elem->reg); in pll_enable()
816 spin_lock_irqsave(clk_elem->lock, flags); in pll_disable()
818 reg = readl_relaxed(clk_elem->reg); in pll_disable()
820 writel_relaxed(reg, clk_elem->reg); in pll_disable()
845 reg = readl_relaxed(clk_elem->reg + 4); in pll_recalc_rate()
868 spin_lock_irqsave(clk_elem->lock, flags); in pll_is_enabled()
[all …]