Lines Matching refs:dev_id
62 u16 dev_id; member
87 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare()
104 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare()
109 clk->dev_id, clk->clk_id, ret); in sci_clk_unprepare()
125 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared()
131 clk->dev_id, clk->clk_id, ret); in sci_clk_is_prepared()
153 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate()
158 clk->dev_id, clk->clk_id, ret); in sci_clk_recalc_rate()
188 clk->dev_id, in sci_clk_determine_rate()
197 clk->dev_id, clk->clk_id, ret); in sci_clk_determine_rate()
223 return clk->provider->ops->set_freq(clk->provider->sci, clk->dev_id, in sci_clk_set_rate()
240 ret = clk->provider->ops->get_parent(clk->provider->sci, clk->dev_id, in sci_clk_get_parent()
245 clk->dev_id, clk->clk_id, ret); in sci_clk_get_parent()
267 return clk->provider->ops->set_parent(clk->provider->sci, clk->dev_id, in sci_clk_set_parent()
303 name = kasprintf(GFP_KERNEL, "clk:%d:%d", sci_clk->dev_id, in _sci_clk_build()
330 sci_clk->dev_id, in _sci_clk_build()
367 if (ca->dev_id == cb->dev_id && ca->clk_id == cb->clk_id) in _cmp_sci_clk()
369 if (ca->dev_id > cb->dev_id || in _cmp_sci_clk()
370 (ca->dev_id == cb->dev_id && ca->clk_id > cb->clk_id)) in _cmp_sci_clk()
394 key.dev_id = clkspec->args[0]; in sci_clk_get()
436 int dev_id = 0; in ti_sci_scan_clocks_from_fw() local
442 ret = provider->ops->get_num_parents(provider->sci, dev_id, in ti_sci_scan_clocks_from_fw()
450 dev_id++; in ti_sci_scan_clocks_from_fw()
453 dev_id++; in ti_sci_scan_clocks_from_fw()
479 sci_clk->dev_id = dev_id; in ti_sci_scan_clocks_from_fw()
561 sci_clk->dev_id = args.args[0]; in ti_sci_scan_clocks_from_dt()
565 sci_clk->dev_id, in ti_sci_scan_clocks_from_dt()
588 sci_clk->dev_id, in ti_sci_scan_clocks_from_dt()
601 sci_clk->dev_id = args.args[0]; in ti_sci_scan_clocks_from_dt()
625 if (prev && prev->dev_id == sci_clk->dev_id && in ti_sci_scan_clocks_from_dt()