Lines Matching defs:clk_hw
70 struct clk_hw clk_hw;
84 #define to_pll_10nm(x) container_of(x, struct dsi_pll_10nm, clk_hw)
256 static int dsi_pll_10nm_vco_set_rate(struct clk_hw *hw, unsigned long rate,
344 static int dsi_pll_10nm_vco_prepare(struct clk_hw *hw)
399 static void dsi_pll_10nm_vco_unprepare(struct clk_hw *hw)
420 static unsigned long dsi_pll_10nm_vco_recalc_rate(struct clk_hw *hw,
459 static long dsi_pll_10nm_clk_round_rate(struct clk_hw *hw,
575 static int pll_10nm_register(struct dsi_pll_10nm *pll_10nm, struct clk_hw **provided_clocks)
588 struct clk_hw *hw, *pll_out_div, *pll_bit, *pll_by_2_bit;
589 struct clk_hw *pll_post_out_div, *pclk_mux;
595 pll_10nm->clk_hw.init = &vco_init;
597 ret = devm_clk_hw_register(dev, &pll_10nm->clk_hw);
604 &pll_10nm->clk_hw, CLK_SET_RATE_PARENT,
658 ((const struct clk_hw *[]){
714 phy->vco_hw = &pll_10nm->clk_hw;