Lines Matching refs:clk_data
472 struct clk_hw_onecell_data *clk_data;
503 clk_data = kzalloc(struct_size(clk_data, hws, 2), GFP_KERNEL);
504 if (!clk_data)
508 clk_data->num = 2;
509 clk_data->hws[0] = clk_hw_register_fixed_rate_parent_hw(NULL, "md_slck",
512 if (IS_ERR(clk_data->hws[0]))
517 clk_data->hws[1] = at91_clk_register_sam9x5_slow(regbase, "td_slck",
520 if (IS_ERR(clk_data->hws[1]))
523 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data);
530 at91_clk_unregister_sam9x5_slow(clk_data->hws[1]);
532 clk_hw_unregister(clk_data->hws[0]);
534 kfree(clk_data);