Lines Matching defs:clk_hw
71 struct clk_hw hw;
86 static inline struct max9485_clk_hw *to_max9485_clk(struct clk_hw *hw)
110 static int max9485_clk_prepare(struct clk_hw *hw)
112 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw);
114 return max9485_update_bits(clk_hw->drvdata,
115 clk_hw->enable_bit,
116 clk_hw->enable_bit);
119 static void max9485_clk_unprepare(struct clk_hw *hw)
121 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw);
123 max9485_update_bits(clk_hw->drvdata, clk_hw->enable_bit, 0);
129 static int max9485_clkout_set_rate(struct clk_hw *hw, unsigned long rate,
132 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw);
142 return max9485_update_bits(clk_hw->drvdata,
147 static unsigned long max9485_clkout_recalc_rate(struct clk_hw *hw,
150 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw);
151 struct max9485_driver_data *drvdata = clk_hw->drvdata;
162 static long max9485_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
248 static struct clk_hw *