Lines Matching defs:clk_hw
132 struct clk_hw clk_hw;
142 static inline struct max96717_priv *clk_hw_to_max96717(struct clk_hw *hw)
144 return container_of(hw, struct max96717_priv, clk_hw);
761 max96717_clk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
785 static int max96717_clk_determine_rate(struct clk_hw *hw,
804 static int max96717_clk_set_rate(struct clk_hw *hw, unsigned long rate,
832 static int max96717_clk_prepare(struct clk_hw *hw)
840 static void max96717_clk_unprepare(struct clk_hw *hw)
873 priv->clk_hw.init = &init;
876 ret = max96717_clk_set_rate(&priv->clk_hw,
881 ret = devm_clk_hw_register(dev, &priv->clk_hw);
887 &priv->clk_hw);