Searched refs:mtk_clk_pll (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-pll.c | 35 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_is_prepared() 40 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, in __mtk_pll_recalc_rate() 67 static void __mtk_pll_tuner_enable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_enable() 80 static void __mtk_pll_tuner_disable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_disable() 93 static void mtk_pll_set_rate_regs(struct mtk_clk_pll *pll, u32 pcw, in mtk_pll_set_rate_regs() 137 void mtk_pll_calc_values(struct mtk_clk_pll *pll, u32 *pcw, u32 *postdiv, in mtk_pll_calc_values() 177 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_set_rate() 189 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_recalc_rate() 205 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_round_rate() 216 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_prepare() [all …]
|
H A D | clk-pll.h | 60 struct mtk_clk_pll { struct 81 static inline struct mtk_clk_pll *to_mtk_clk_pll(struct clk_hw *hw) in to_mtk_clk_pll() argument 83 return container_of(hw, struct mtk_clk_pll, hw); in to_mtk_clk_pll() 94 void mtk_pll_calc_values(struct mtk_clk_pll *pll, u32 *pcw, u32 *postdiv, 101 struct clk_hw *mtk_clk_register_pll_ops(struct mtk_clk_pll *pll,
|
H A D | clk-fhctl.c | 55 static void dump_hw(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, in dump_hw() 68 static int fhctl_set_ssc_regs(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, in fhctl_set_ssc_regs() 116 static int hopping_hw_flow(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, in hopping_hw_flow() 161 static unsigned int __get_postdiv(struct mtk_clk_pll *pll) in __get_postdiv() 171 static void __set_postdiv(struct mtk_clk_pll *pll, unsigned int postdiv) in __set_postdiv() 187 struct mtk_clk_pll *pll = &fh->clk_pll; in fhctl_hopping() 217 struct mtk_clk_pll *pll = &fh->clk_pll; in fhctl_ssc_enable()
|
H A D | clk-pllfh.h | 58 struct mtk_clk_pll clk_pll;
|
H A D | clk-pllfh.c | 22 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in to_mtk_fh() 30 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_fhctl_set_rate()
|