Lines Matching refs:gemini_clk_data
89 static struct clk_hw_onecell_data *gemini_clk_data; variable
312 gemini_clk_data->hws[GEMINI_CLK_RTC] = hw; in gemini_clk_probe()
321 gemini_clk_data->hws[GEMINI_CLK_CPU] = hw; in gemini_clk_probe()
341 gemini_clk_data->hws[GEMINI_CLK_GATES + i] = in gemini_clk_probe()
362 gemini_clk_data->hws[GEMINI_CLK_TVC] = hw; in gemini_clk_probe()
366 gemini_clk_data->hws[GEMINI_CLK_PCI] = hw; in gemini_clk_probe()
370 gemini_clk_data->hws[GEMINI_CLK_UART] = hw; in gemini_clk_probe()
400 gemini_clk_data = kzalloc(struct_size(gemini_clk_data, hws, in gemini_cc_init()
403 if (!gemini_clk_data) in gemini_cc_init()
405 gemini_clk_data->num = GEMINI_NUM_CLKS; in gemini_cc_init()
412 gemini_clk_data->hws[i] = ERR_PTR(-EPROBE_DEFER); in gemini_cc_init()
452 gemini_clk_data->hws[GEMINI_CLK_AHB] = hw; in gemini_cc_init()
456 gemini_clk_data->hws[GEMINI_CLK_APB] = hw; in gemini_cc_init()
459 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, gemini_clk_data); in gemini_cc_init()