Lines Matching refs:scmi_proto_clk_ops
16 static const struct scmi_clk_proto_ops *scmi_proto_clk_ops; variable
34 ret = scmi_proto_clk_ops->rate_get(clk->ph, clk->id, &rate); in scmi_clk_recalc_rate()
74 return scmi_proto_clk_ops->rate_set(clk->ph, clk->id, rate); in scmi_clk_set_rate()
81 return scmi_proto_clk_ops->enable(clk->ph, clk->id); in scmi_clk_enable()
88 scmi_proto_clk_ops->disable(clk->ph, clk->id); in scmi_clk_disable()
95 return scmi_proto_clk_ops->enable_atomic(clk->ph, clk->id); in scmi_clk_atomic_enable()
102 scmi_proto_clk_ops->disable_atomic(clk->ph, clk->id); in scmi_clk_atomic_disable()
184 scmi_proto_clk_ops = in scmi_clocks_probe()
186 if (IS_ERR(scmi_proto_clk_ops)) in scmi_clocks_probe()
187 return PTR_ERR(scmi_proto_clk_ops); in scmi_clocks_probe()
189 count = scmi_proto_clk_ops->count_get(ph); in scmi_clocks_probe()
213 sclk->info = scmi_proto_clk_ops->info_get(ph, idx); in scmi_clocks_probe()