Searched refs:ap_cpu_data (Results 1 – 1 of 1) sorted by relevance
235 struct clk_hw_onecell_data *ap_cpu_data; in ap_cpu_clock_probe() local280 ap_cpu_data = devm_kzalloc(dev, struct_size(ap_cpu_data, hws, in ap_cpu_clock_probe()283 if (!ap_cpu_data) in ap_cpu_clock_probe()303 if (ap_cpu_data->hws[cluster_index]) in ap_cpu_clock_probe()332 ap_cpu_data->hws[cluster_index] = &ap_cpu_clk[cluster_index].hw; in ap_cpu_clock_probe()335 ap_cpu_data->num = cluster_index + 1; in ap_cpu_clock_probe()337 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, ap_cpu_data); in ap_cpu_clock_probe()