Lines Matching refs:clk_data

48 	struct clk_hw_onecell_data *clk_data;  in imx7ulp_clk_scg1_init()  local
52 clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_SCG1_END), in imx7ulp_clk_scg1_init()
54 if (!clk_data) in imx7ulp_clk_scg1_init()
57 clk_data->num = IMX7ULP_CLK_SCG1_END; in imx7ulp_clk_scg1_init()
58 hws = clk_data->hws; in imx7ulp_clk_scg1_init()
129 imx_check_clk_hws(hws, clk_data->num); in imx7ulp_clk_scg1_init()
131 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); in imx7ulp_clk_scg1_init()
137 struct clk_hw_onecell_data *clk_data; in imx7ulp_clk_pcc2_init() local
141 clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_PCC2_END), in imx7ulp_clk_pcc2_init()
143 if (!clk_data) in imx7ulp_clk_pcc2_init()
146 clk_data->num = IMX7ULP_CLK_PCC2_END; in imx7ulp_clk_pcc2_init()
147 hws = clk_data->hws; in imx7ulp_clk_pcc2_init()
175 imx_check_clk_hws(hws, clk_data->num); in imx7ulp_clk_pcc2_init()
177 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); in imx7ulp_clk_pcc2_init()
185 struct clk_hw_onecell_data *clk_data; in imx7ulp_clk_pcc3_init() local
189 clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_PCC3_END), in imx7ulp_clk_pcc3_init()
191 if (!clk_data) in imx7ulp_clk_pcc3_init()
194 clk_data->num = IMX7ULP_CLK_PCC3_END; in imx7ulp_clk_pcc3_init()
195 hws = clk_data->hws; in imx7ulp_clk_pcc3_init()
222 imx_check_clk_hws(hws, clk_data->num); in imx7ulp_clk_pcc3_init()
224 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); in imx7ulp_clk_pcc3_init()
232 struct clk_hw_onecell_data *clk_data; in imx7ulp_clk_smc1_init() local
236 clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_SMC1_END), in imx7ulp_clk_smc1_init()
238 if (!clk_data) in imx7ulp_clk_smc1_init()
241 clk_data->num = IMX7ULP_CLK_SMC1_END; in imx7ulp_clk_smc1_init()
242 hws = clk_data->hws; in imx7ulp_clk_smc1_init()
250 imx_check_clk_hws(hws, clk_data->num); in imx7ulp_clk_smc1_init()
252 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); in imx7ulp_clk_smc1_init()