Lines Matching refs:clk_hw

35 struct clk_hw;
166 int (*prepare)(struct clk_hw *hw);
167 void (*unprepare)(struct clk_hw *hw);
168 int (*is_prepared)(struct clk_hw *hw);
169 void (*unprepare_unused)(struct clk_hw *hw);
170 int (*enable)(struct clk_hw *hw);
171 void (*disable)(struct clk_hw *hw);
172 int (*is_enabled)(struct clk_hw *hw);
173 void (*disable_unused)(struct clk_hw *hw);
174 unsigned long (*recalc_rate)(struct clk_hw *hw,
176 long (*round_rate)(struct clk_hw *hw, unsigned long rate,
178 long (*determine_rate)(struct clk_hw *hw,
183 struct clk_hw **best_parent_hw);
184 int (*set_parent)(struct clk_hw *hw, u8 index);
185 u8 (*get_parent)(struct clk_hw *hw);
186 int (*set_rate)(struct clk_hw *hw, unsigned long rate,
188 int (*set_rate_and_parent)(struct clk_hw *hw,
191 unsigned long (*recalc_accuracy)(struct clk_hw *hw,
193 int (*get_phase)(struct clk_hw *hw);
194 int (*set_phase)(struct clk_hw *hw, int degrees);
195 void (*init)(struct clk_hw *hw);
196 int (*debug_init)(struct clk_hw *hw, struct dentry *dentry);
232 struct clk_hw { struct
253 struct clk_hw hw; argument
290 struct clk_hw hw;
347 struct clk_hw hw;
365 unsigned long divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate,
368 long divider_round_rate(struct clk_hw *hw, unsigned long rate,
410 struct clk_hw hw;
455 struct clk_hw hw;
480 struct clk_hw hw;
508 struct clk_hw hw;
511 struct clk_hw *mux_hw;
512 struct clk_hw *rate_hw;
513 struct clk_hw *gate_hw;
522 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,
523 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
524 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
538 struct clk_hw hw;
560 struct clk *clk_register(struct device *dev, struct clk_hw *hw);
561 struct clk *devm_clk_register(struct device *dev, struct clk_hw *hw);
568 struct clk_hw *__clk_get_hw(struct clk *clk);
578 long __clk_mux_determine_rate(struct clk_hw *hw, unsigned long rate,
582 struct clk_hw **best_parent_p);
583 unsigned long __clk_determine_rate(struct clk_hw *core,
587 long __clk_mux_determine_rate_closest(struct clk_hw *hw, unsigned long rate,
591 struct clk_hw **best_parent_p);
593 static inline void __clk_hw_set_clk(struct clk_hw *dst, struct clk_hw *src) in __clk_hw_set_clk()
693 struct dentry *clk_debugfs_add_file(struct clk_hw *hw, char *name, umode_t mode,