Lines Matching refs:ops
14 static const struct clk_ops *ops; variable
18 assert((ops != NULL) && (ops->enable != NULL)); in clk_enable()
20 return ops->enable(id); in clk_enable()
25 assert((ops != NULL) && (ops->disable != NULL)); in clk_disable()
27 ops->disable(id); in clk_disable()
32 assert((ops != NULL) && (ops->get_rate != NULL)); in clk_get_rate()
34 return ops->get_rate(id); in clk_get_rate()
39 assert((ops != NULL) && (ops->get_parent != NULL)); in clk_get_parent()
41 return ops->get_parent(id); in clk_get_parent()
46 assert((ops != NULL) && (ops->is_enabled != NULL)); in clk_is_enabled()
48 return ops->is_enabled(id); in clk_is_enabled()
64 ops = ops_ptr; in clk_register()