Lines Matching refs:sci
27 const struct ti_sci_handle *sci; member
40 data->sci = ti_sci_get_handle(dev); in ti_sci_clk_probe()
41 if (IS_ERR(data->sci)) in ti_sci_clk_probe()
42 return PTR_ERR(data->sci); in ti_sci_clk_probe()
82 const struct ti_sci_handle *sci = data->sci; in ti_sci_clk_get_rate() local
83 const struct ti_sci_clk_ops *cops = &sci->ops.clk_ops; in ti_sci_clk_get_rate()
89 ret = cops->get_freq(sci, clk->id, clk->data, ¤t_freq); in ti_sci_clk_get_rate()
103 const struct ti_sci_handle *sci = data->sci; in ti_sci_clk_set_rate() local
104 const struct ti_sci_clk_ops *cops = &sci->ops.clk_ops; in ti_sci_clk_set_rate()
113 ret = cops->set_freq(sci, clk->id, clk->data, 0, rate, ULONG_MAX); in ti_sci_clk_set_rate()
123 const struct ti_sci_handle *sci = data->sci; in ti_sci_clk_set_parent() local
124 const struct ti_sci_clk_ops *cops = &sci->ops.clk_ops; in ti_sci_clk_set_parent()
136 ret = cops->get_num_parents(sci, clk->id, clk->data, &num_parents); in ti_sci_clk_set_parent()
156 ret = cops->set_parent(sci, clk->id, clk->data, parent->data); in ti_sci_clk_set_parent()
167 const struct ti_sci_handle *sci = data->sci; in ti_sci_clk_enable() local
168 const struct ti_sci_clk_ops *cops = &sci->ops.clk_ops; in ti_sci_clk_enable()
177 ret = cops->put_clock(sci, clk->id, clk->data); in ti_sci_clk_enable()
187 const struct ti_sci_handle *sci = data->sci; in ti_sci_clk_disable() local
188 const struct ti_sci_clk_ops *cops = &sci->ops.clk_ops; in ti_sci_clk_disable()
194 ret = cops->idle_clock(sci, clk->id, clk->data); in ti_sci_clk_disable()