Lines Matching refs:hsdk_pll_clk
87 struct hsdk_pll_clk { struct
97 int (*update_rate)(struct hsdk_pll_clk *clk, unsigned long rate, argument
101 static int hsdk_pll_core_update_rate(struct hsdk_pll_clk *, unsigned long,
103 static int hsdk_pll_comm_update_rate(struct hsdk_pll_clk *, unsigned long,
121 static inline void hsdk_pll_write(struct hsdk_pll_clk *clk, u32 reg, u32 val) in hsdk_pll_write()
126 static inline u32 hsdk_pll_read(struct hsdk_pll_clk *clk, u32 reg) in hsdk_pll_read()
131 static inline void hsdk_pll_set_cfg(struct hsdk_pll_clk *clk, in hsdk_pll_set_cfg()
152 static inline bool hsdk_pll_is_locked(struct hsdk_pll_clk *clk) in hsdk_pll_is_locked()
157 static inline bool hsdk_pll_is_err(struct hsdk_pll_clk *clk) in hsdk_pll_is_err()
162 static inline struct hsdk_pll_clk *to_hsdk_pll_clk(struct clk_hw *hw) in to_hsdk_pll_clk()
164 return container_of(hw, struct hsdk_pll_clk, hw); in to_hsdk_pll_clk()
173 struct hsdk_pll_clk *clk = to_hsdk_pll_clk(hw); in hsdk_pll_recalc_rate()
205 struct hsdk_pll_clk *clk = to_hsdk_pll_clk(hw); in hsdk_pll_round_rate()
223 static int hsdk_pll_comm_update_rate(struct hsdk_pll_clk *clk, in hsdk_pll_comm_update_rate()
243 static int hsdk_pll_core_update_rate(struct hsdk_pll_clk *clk, in hsdk_pll_core_update_rate()
281 struct hsdk_pll_clk *clk = to_hsdk_pll_clk(hw); in hsdk_pll_set_rate()
308 struct hsdk_pll_clk *pll_clk; in hsdk_pll_clk_probe()
355 struct hsdk_pll_clk *pll_clk; in of_hsdk_pll_clk_setup()