• Home
  • Raw
  • Download

Lines Matching refs:hsdk_cgu_clk

222 struct hsdk_cgu_clk {  struct
241 int (*update_rate)(struct hsdk_cgu_clk *clk, unsigned long rate, argument
245 static int hsdk_pll_core_update_rate(struct hsdk_cgu_clk *, unsigned long,
247 static int hsdk_pll_comm_update_rate(struct hsdk_cgu_clk *, unsigned long,
313 static inline void hsdk_idiv_write(struct hsdk_cgu_clk *clk, u32 val) in hsdk_idiv_write()
318 static inline u32 hsdk_idiv_read(struct hsdk_cgu_clk *clk) in hsdk_idiv_read()
323 static inline void hsdk_pll_write(struct hsdk_cgu_clk *clk, u32 reg, u32 val) in hsdk_pll_write()
328 static inline u32 hsdk_pll_read(struct hsdk_cgu_clk *clk, u32 reg) in hsdk_pll_read()
333 static inline void hsdk_pll_spcwrite(struct hsdk_cgu_clk *clk, u32 reg, u32 val) in hsdk_pll_spcwrite()
338 static inline u32 hsdk_pll_spcread(struct hsdk_cgu_clk *clk, u32 reg) in hsdk_pll_spcread()
343 static inline void hsdk_pll_set_cfg(struct hsdk_cgu_clk *clk, in hsdk_pll_set_cfg()
359 static inline bool hsdk_pll_is_locked(struct hsdk_cgu_clk *clk) in hsdk_pll_is_locked()
364 static inline bool hsdk_pll_is_err(struct hsdk_cgu_clk *clk) in hsdk_pll_is_err()
374 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in pll_get()
405 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in hsdk_pll_round_rate()
423 static int hsdk_pll_comm_update_rate(struct hsdk_cgu_clk *clk, in hsdk_pll_comm_update_rate()
443 static int hsdk_pll_core_update_rate(struct hsdk_cgu_clk *clk, in hsdk_pll_core_update_rate()
481 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in pll_set()
500 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in idiv_off()
509 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in idiv_get()
537 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in axi_clk_set()
575 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in tun_clk_set()
613 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in idiv_set()
644 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in hsdk_prepare_clock_tree_branch()
692 struct hsdk_cgu_clk *pll_clk = dev_get_priv(dev); in hsdk_cgu_clk_probe()
712 U_BOOT_DRIVER(hsdk_cgu_clk) = {
717 .priv_auto_alloc_size = sizeof(struct hsdk_cgu_clk),