Lines Matching defs:clk_ops
242 struct clk_ops { struct
243 int (*prepare)(struct clk_hw *hw);
244 void (*unprepare)(struct clk_hw *hw);
245 int (*is_prepared)(struct clk_hw *hw);
246 void (*unprepare_unused)(struct clk_hw *hw);
247 int (*enable)(struct clk_hw *hw);
248 void (*disable)(struct clk_hw *hw);
249 int (*is_enabled)(struct clk_hw *hw);
250 void (*disable_unused)(struct clk_hw *hw);
251 int (*save_context)(struct clk_hw *hw);
252 void (*restore_context)(struct clk_hw *hw);
253 unsigned long (*recalc_rate)(struct clk_hw *hw,
255 long (*round_rate)(struct clk_hw *hw, unsigned long rate,
257 int (*determine_rate)(struct clk_hw *hw,
259 int (*set_parent)(struct clk_hw *hw, u8 index);
260 u8 (*get_parent)(struct clk_hw *hw);
261 int (*set_rate)(struct clk_hw *hw, unsigned long rate,
263 int (*set_rate_and_parent)(struct clk_hw *hw,
266 unsigned long (*recalc_accuracy)(struct clk_hw *hw,
268 int (*get_phase)(struct clk_hw *hw);
269 int (*set_phase)(struct clk_hw *hw, int degrees);
270 int (*get_duty_cycle)(struct clk_hw *hw,
272 int (*set_duty_cycle)(struct clk_hw *hw,
274 int (*init)(struct clk_hw *hw);
275 void (*terminate)(struct clk_hw *hw);
276 void (*debug_init)(struct clk_hw *hw, struct dentry *dentry);
277 int (*pre_rate_change)(struct clk_hw *hw,
280 int (*post_rate_change)(struct clk_hw *hw,