Lines Matching refs:clk_hw

36 struct clk_hw;
59 struct clk_hw *best_parent_hw;
189 int (*prepare)(struct clk_hw *hw);
190 void (*unprepare)(struct clk_hw *hw);
191 int (*is_prepared)(struct clk_hw *hw);
192 void (*unprepare_unused)(struct clk_hw *hw);
193 int (*enable)(struct clk_hw *hw);
194 void (*disable)(struct clk_hw *hw);
195 int (*is_enabled)(struct clk_hw *hw);
196 void (*disable_unused)(struct clk_hw *hw);
197 unsigned long (*recalc_rate)(struct clk_hw *hw,
199 long (*round_rate)(struct clk_hw *hw, unsigned long rate,
201 int (*determine_rate)(struct clk_hw *hw,
203 int (*set_parent)(struct clk_hw *hw, u8 index);
204 u8 (*get_parent)(struct clk_hw *hw);
205 int (*set_rate)(struct clk_hw *hw, unsigned long rate,
207 int (*set_rate_and_parent)(struct clk_hw *hw,
210 unsigned long (*recalc_accuracy)(struct clk_hw *hw,
212 int (*get_phase)(struct clk_hw *hw);
213 int (*set_phase)(struct clk_hw *hw, int degrees);
214 void (*init)(struct clk_hw *hw);
215 int (*debug_init)(struct clk_hw *hw, struct dentry *dentry);
251 struct clk_hw { struct
272 struct clk_hw hw; argument
309 struct clk_hw hw;
369 struct clk_hw hw;
389 unsigned long divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate,
392 long divider_round_rate(struct clk_hw *hw, unsigned long rate,
434 struct clk_hw hw;
481 struct clk_hw hw;
505 struct clk_hw hw;
545 struct clk_hw hw;
570 struct clk_hw hw;
573 struct clk_hw *mux_hw;
574 struct clk_hw *rate_hw;
575 struct clk_hw *gate_hw;
584 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,
585 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
586 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
600 struct clk_hw hw;
639 struct clk *clk_register(struct device *dev, struct clk_hw *hw);
640 struct clk *devm_clk_register(struct device *dev, struct clk_hw *hw);
647 const char *clk_hw_get_name(const struct clk_hw *hw);
648 struct clk_hw *__clk_get_hw(struct clk *clk);
649 unsigned int clk_hw_get_num_parents(const struct clk_hw *hw);
650 struct clk_hw *clk_hw_get_parent(const struct clk_hw *hw);
651 struct clk_hw *clk_hw_get_parent_by_index(const struct clk_hw *hw,
654 unsigned long clk_hw_get_rate(const struct clk_hw *hw);
656 unsigned long clk_hw_get_flags(const struct clk_hw *hw);
657 bool clk_hw_is_prepared(const struct clk_hw *hw);
658 bool clk_hw_is_enabled(const struct clk_hw *hw);
661 int __clk_mux_determine_rate(struct clk_hw *hw,
663 int __clk_determine_rate(struct clk_hw *core, struct clk_rate_request *req);
664 int __clk_mux_determine_rate_closest(struct clk_hw *hw,
666 void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent);
667 void clk_hw_set_rate_range(struct clk_hw *hw, unsigned long min_rate,
670 static inline void __clk_hw_set_clk(struct clk_hw *dst, struct clk_hw *src) in __clk_hw_set_clk()
679 unsigned long clk_hw_round_rate(struct clk_hw *hw, unsigned long rate);
781 struct dentry *clk_debugfs_add_file(struct clk_hw *hw, char *name, umode_t mode,