• Home
  • Raw
  • Download

Lines Matching full:clks

23 void clk_bulk_put(int num_clks, struct clk_bulk_data *clks)  in clk_bulk_put()  argument
26 clk_put(clks[num_clks].clk); in clk_bulk_put()
27 clks[num_clks].clk = NULL; in clk_bulk_put()
33 struct clk_bulk_data *clks) in clk_bulk_get() argument
39 clks[i].clk = NULL; in clk_bulk_get()
42 clks[i].clk = clk_get(dev, clks[i].id); in clk_bulk_get()
43 if (IS_ERR(clks[i].clk)) { in clk_bulk_get()
44 ret = PTR_ERR(clks[i].clk); in clk_bulk_get()
47 clks[i].id, ret); in clk_bulk_get()
48 clks[i].clk = NULL; in clk_bulk_get()
56 clk_bulk_put(i, clks); in clk_bulk_get()
67 * @clks: the clk_bulk_data table being unprepared
72 void clk_bulk_unprepare(int num_clks, const struct clk_bulk_data *clks) in clk_bulk_unprepare() argument
75 clk_unprepare(clks[num_clks].clk); in clk_bulk_unprepare()
82 * @clks: the clk_bulk_data table being prepared
88 const struct clk_bulk_data *clks) in clk_bulk_prepare() argument
94 ret = clk_prepare(clks[i].clk); in clk_bulk_prepare()
97 clks[i].id, ret); in clk_bulk_prepare()
105 clk_bulk_unprepare(i, clks); in clk_bulk_prepare()
116 * @clks: the clk_bulk_data table being gated
122 void clk_bulk_disable(int num_clks, const struct clk_bulk_data *clks) in clk_bulk_disable() argument
126 clk_disable(clks[num_clks].clk); in clk_bulk_disable()
133 * @clks: the clk_bulk_data table being ungated
138 int __must_check clk_bulk_enable(int num_clks, const struct clk_bulk_data *clks) in clk_bulk_enable() argument
144 ret = clk_enable(clks[i].clk); in clk_bulk_enable()
147 clks[i].id, ret); in clk_bulk_enable()
155 clk_bulk_disable(i, clks); in clk_bulk_enable()