Lines Matching defs:clk_ops
232 struct clk_ops { struct
233 int (*prepare)(struct clk_hw *hw);
234 void (*unprepare)(struct clk_hw *hw);
235 int (*is_prepared)(struct clk_hw *hw);
236 void (*unprepare_unused)(struct clk_hw *hw);
237 int (*enable)(struct clk_hw *hw);
238 void (*disable)(struct clk_hw *hw);
239 int (*is_enabled)(struct clk_hw *hw);
240 void (*disable_unused)(struct clk_hw *hw);
241 int (*save_context)(struct clk_hw *hw);
242 void (*restore_context)(struct clk_hw *hw);
243 unsigned long (*recalc_rate)(struct clk_hw *hw,
245 long (*round_rate)(struct clk_hw *hw, unsigned long rate,
247 int (*determine_rate)(struct clk_hw *hw,
249 int (*set_parent)(struct clk_hw *hw, u8 index);
250 u8 (*get_parent)(struct clk_hw *hw);
251 int (*set_rate)(struct clk_hw *hw, unsigned long rate,
253 int (*set_rate_and_parent)(struct clk_hw *hw,
256 unsigned long (*recalc_accuracy)(struct clk_hw *hw,
258 int (*get_phase)(struct clk_hw *hw);
259 int (*set_phase)(struct clk_hw *hw, int degrees);
260 int (*get_duty_cycle)(struct clk_hw *hw,
262 int (*set_duty_cycle)(struct clk_hw *hw,
264 int (*init)(struct clk_hw *hw);
265 void (*terminate)(struct clk_hw *hw);
266 void (*debug_init)(struct clk_hw *hw, struct dentry *dentry);