Lines Matching refs:clk_data
155 struct clk_hw_onecell_data *clk_data,
158 struct clk_hw **hws = clk_data->hws;
201 struct clk_hw_onecell_data *clk_data)
203 struct clk_hw **hws = clk_data->hws;
318 struct clk_hw_onecell_data *clk_data,
321 struct clk_hw **hws = clk_data->hws;
354 struct clk_hw_onecell_data *clk_data;
375 clk_data = kzalloc(struct_size(clk_data, hws, count), GFP_KERNEL);
376 if (!clk_data)
379 ret = mt7621_register_early_clocks(node, clk_data, priv);
385 clk_data->num = count;
387 ret = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, clk_data);
403 kfree(clk_data);
489 struct clk_hw_onecell_data *clk_data;
520 clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, count),
522 if (!clk_data)
524 clk_data->num = count;
527 clk_data->hws[i] = mt7621_clk_early[i];
529 ret = mt7621_register_fixed_clocks(dev, clk_data);
535 ret = mt7621_register_gates(dev, clk_data, priv);
541 ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get, clk_data);