Searched refs:zynqmp_data (Results 1 – 1 of 1) sorted by relevance
137 static struct clk_hw_onecell_data *zynqmp_data; variable667 zynqmp_data->hws[i] = in zynqmp_register_clocks()674 if (IS_ERR(zynqmp_data->hws[i])) { in zynqmp_register_clocks()676 clock[i].clk_name, PTR_ERR(zynqmp_data->hws[i])); in zynqmp_register_clocks()762 zynqmp_data = kzalloc(struct_size(zynqmp_data, hws, clock_max_idx), in zynqmp_clk_setup()764 if (!zynqmp_data) in zynqmp_clk_setup()769 kfree(zynqmp_data); in zynqmp_clk_setup()776 zynqmp_data->num = clock_max_idx; in zynqmp_clk_setup()777 return of_clk_add_hw_provider(np, of_clk_hw_onecell_get, zynqmp_data); in zynqmp_clk_setup()