Searched refs:clk_elem (Results 1 – 2 of 2) sorted by relevance
434 struct timer_ker *clk_elem = to_timer_ker(hw); in timer_ker_recalc_rate() local436 u32 dppre_shift = clk_elem->dppre_shift; in timer_ker_recalc_rate()698 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_is_enabled() local699 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_is_enabled()708 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_enable() local709 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_enable()718 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_disable() local719 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_disable()728 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_frac_is_enabled() local729 struct stm32_fractional_divider *fd = &clk_elem->div; in pll_frac_is_enabled()[all …]
767 struct stm32_pll_obj *clk_elem = to_pll(hw); in __pll_is_enabled() local769 return readl_relaxed(clk_elem->reg) & PLL_ON; in __pll_is_enabled()776 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_enable() local782 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()797 bit_status = !(readl_relaxed(clk_elem->reg) & PLL_RDY); in pll_enable()805 spin_unlock_irqrestore(clk_elem->lock, flags); in pll_enable()812 struct stm32_pll_obj *clk_elem = to_pll(hw); in pll_disable() local816 spin_lock_irqsave(clk_elem->lock, flags); in pll_disable()[all …]