Lines Matching defs:clk_ops
228 struct clk_ops { struct
229 int (*prepare)(struct clk_hw *hw);
230 void (*unprepare)(struct clk_hw *hw);
231 int (*is_prepared)(struct clk_hw *hw);
232 void (*unprepare_unused)(struct clk_hw *hw);
233 int (*enable)(struct clk_hw *hw);
234 void (*disable)(struct clk_hw *hw);
235 int (*is_enabled)(struct clk_hw *hw);
236 void (*disable_unused)(struct clk_hw *hw);
237 int (*save_context)(struct clk_hw *hw);
238 void (*restore_context)(struct clk_hw *hw);
239 unsigned long (*recalc_rate)(struct clk_hw *hw,
241 long (*round_rate)(struct clk_hw *hw, unsigned long rate,
243 int (*determine_rate)(struct clk_hw *hw,
245 int (*set_parent)(struct clk_hw *hw, u8 index);
246 u8 (*get_parent)(struct clk_hw *hw);
247 int (*set_rate)(struct clk_hw *hw, unsigned long rate,
249 int (*set_rate_and_parent)(struct clk_hw *hw,
252 unsigned long (*recalc_accuracy)(struct clk_hw *hw,
254 int (*get_phase)(struct clk_hw *hw);
255 int (*set_phase)(struct clk_hw *hw, int degrees);
256 int (*get_duty_cycle)(struct clk_hw *hw,
258 int (*set_duty_cycle)(struct clk_hw *hw,
260 int (*init)(struct clk_hw *hw);
261 void (*terminate)(struct clk_hw *hw);
262 void (*debug_init)(struct clk_hw *hw, struct dentry *dentry);
263 int (*pre_rate_change)(struct clk_hw *hw,
266 int (*post_rate_change)(struct clk_hw *hw,