Home
last modified time | relevance | path

Searched refs:clk_hw_data (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.1/drivers/clk/imx/
Dclk-imxrt1050.c34 static struct clk_hw_onecell_data *clk_hw_data; variable
45 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imxrt1050_clocks_probe()
47 if (WARN_ON(!clk_hw_data)) in imxrt1050_clocks_probe()
50 clk_hw_data->num = IMXRT1050_CLK_END; in imxrt1050_clocks_probe()
51 hws = clk_hw_data->hws; in imxrt1050_clocks_probe()
148 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imxrt1050_clocks_probe()
Dclk-imx93.c252 static struct clk_hw_onecell_data *clk_hw_data; variable
264 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx93_clocks_probe()
266 if (!clk_hw_data) in imx93_clocks_probe()
269 clk_hw_data->num = IMX93_CLK_END; in imx93_clocks_probe()
270 clks = clk_hw_data->hws; in imx93_clocks_probe()
320 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx93_clocks_probe()
Dclk-imx6sl.c101 static struct clk_hw_onecell_data *clk_hw_data; variable
188 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6sl_clocks_init()
190 if (WARN_ON(!clk_hw_data)) in imx6sl_clocks_init()
193 clk_hw_data->num = IMX6SL_CLK_END; in imx6sl_clocks_init()
194 hws = clk_hw_data->hws; in imx6sl_clocks_init()
420 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6sl_clocks_init()
Dclk-imx6sll.c57 static struct clk_hw_onecell_data *clk_hw_data; variable
84 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6sll_clocks_init()
86 if (WARN_ON(!clk_hw_data)) in imx6sll_clocks_init()
89 clk_hw_data->num = IMX6SLL_CLK_END; in imx6sll_clocks_init()
90 hws = clk_hw_data->hws; in imx6sll_clocks_init()
341 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6sll_clocks_init()
Dclk-imx8mn.c316 static struct clk_hw_onecell_data *clk_hw_data; variable
326 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx8mn_clocks_probe()
328 if (WARN_ON(!clk_hw_data)) in imx8mn_clocks_probe()
331 clk_hw_data->num = IMX8MN_CLK_END; in imx8mn_clocks_probe()
332 hws = clk_hw_data->hws; in imx8mn_clocks_probe()
599 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx8mn_clocks_probe()
Dclk-imx8mm.c296 static struct clk_hw_onecell_data *clk_hw_data; variable
306 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx8mm_clocks_probe()
308 if (WARN_ON(!clk_hw_data)) in imx8mm_clocks_probe()
311 clk_hw_data->num = IMX8MM_CLK_END; in imx8mm_clocks_probe()
312 hws = clk_hw_data->hws; in imx8mm_clocks_probe()
606 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx8mm_clocks_probe()
Dclk-imx8mp.c408 static struct clk_hw_onecell_data *clk_hw_data; variable
429 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, IMX8MP_CLK_END), GFP_KERNEL); in imx8mp_clocks_probe()
430 if (WARN_ON(!clk_hw_data)) { in imx8mp_clocks_probe()
435 clk_hw_data->num = IMX8MP_CLK_END; in imx8mp_clocks_probe()
436 hws = clk_hw_data->hws; in imx8mp_clocks_probe()
712 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx8mp_clocks_probe()
Dclk-imx8mq.c281 static struct clk_hw_onecell_data *clk_hw_data; variable
291 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx8mq_clocks_probe()
293 if (WARN_ON(!clk_hw_data)) in imx8mq_clocks_probe()
296 clk_hw_data->num = IMX8MQ_CLK_END; in imx8mq_clocks_probe()
297 hws = clk_hw_data->hws; in imx8mq_clocks_probe()
598 err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx8mq_clocks_probe()
Dclk-imx6ul.c72 static struct clk_hw_onecell_data *clk_hw_data; variable
119 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6ul_clocks_init()
121 if (WARN_ON(!clk_hw_data)) in imx6ul_clocks_init()
124 clk_hw_data->num = IMX6UL_CLK_END; in imx6ul_clocks_init()
125 hws = clk_hw_data->hws; in imx6ul_clocks_init()
476 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6ul_clocks_init()
Dclk-imx6sx.c86 static struct clk_hw_onecell_data *clk_hw_data; variable
125 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6sx_clocks_init()
127 if (WARN_ON(!clk_hw_data)) in imx6sx_clocks_init()
130 clk_hw_data->num = IMX6SX_CLK_CLK_END; in imx6sx_clocks_init()
131 hws = clk_hw_data->hws; in imx6sx_clocks_init()
490 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6sx_clocks_init()
Dclk-imx6q.c93 static struct clk_hw_onecell_data *clk_hw_data; variable
437 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6q_clocks_init()
439 if (WARN_ON(!clk_hw_data)) in imx6q_clocks_init()
442 clk_hw_data->num = IMX6QDL_CLK_END; in imx6q_clocks_init()
443 hws = clk_hw_data->hws; in imx6q_clocks_init()
913 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6q_clocks_init()
Dclk-imx7d.c378 static struct clk_hw_onecell_data *clk_hw_data; variable
385 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx7d_clocks_init()
387 if (WARN_ON(!clk_hw_data)) in imx7d_clocks_init()
390 clk_hw_data->num = IMX7D_CLK_END; in imx7d_clocks_init()
391 hws = clk_hw_data->hws; in imx7d_clocks_init()
867 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx7d_clocks_init()
/Linux-v6.1/drivers/clk/renesas/
Drzg2l-cpg.c260 struct sd_hw_data *clk_hw_data; in rzg2l_cpg_sd_mux_clk_register() local
265 clk_hw_data = devm_kzalloc(priv->dev, sizeof(*clk_hw_data), GFP_KERNEL); in rzg2l_cpg_sd_mux_clk_register()
266 if (!clk_hw_data) in rzg2l_cpg_sd_mux_clk_register()
269 clk_hw_data->priv = priv; in rzg2l_cpg_sd_mux_clk_register()
270 clk_hw_data->conf = core->conf; in rzg2l_cpg_sd_mux_clk_register()
278 clk_hw = &clk_hw_data->hw; in rzg2l_cpg_sd_mux_clk_register()
395 struct dsi_div_hw_data *clk_hw_data; in rzg2l_cpg_dsi_div_clk_register() local
406 clk_hw_data = devm_kzalloc(priv->dev, sizeof(*clk_hw_data), GFP_KERNEL); in rzg2l_cpg_dsi_div_clk_register()
407 if (!clk_hw_data) in rzg2l_cpg_dsi_div_clk_register()
410 clk_hw_data->priv = priv; in rzg2l_cpg_dsi_div_clk_register()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dda7219.c2144 da7219->clk_hw_data = clk_data; in da7219_register_dai_clks()
2194 da7219->clk_hw_data->hws[i] = dai_clk_hw; in da7219_register_dai_clks()
2211 da7219->clk_hw_data); in da7219_register_dai_clks()
2229 kfree(da7219->clk_hw_data); in da7219_register_dai_clks()
2251 kfree(da7219->clk_hw_data); in da7219_free_dai_clks()
Dda7219.h820 struct clk_hw_onecell_data *clk_hw_data; member
/Linux-v6.1/drivers/phy/cadence/
Dphy-cadence-torrent.c349 struct clk_hw_onecell_data *clk_hw_data; member
1726 cdns_phy->clk_hw_data->hws[CDNS_TORRENT_DERIVED_REFCLK] = hw; in cdns_torrent_derived_refclk_register()
1809 cdns_phy->clk_hw_data->hws[CDNS_TORRENT_RECEIVED_REFCLK] = hw; in cdns_torrent_received_refclk_register()
1891 hw = cdns_phy->clk_hw_data->hws[refclk_driver_parent_index[i]]; in cdns_torrent_refclk_driver_register()
1931 cdns_phy->clk_hw_data->hws[CDNS_TORRENT_REFCLK_DRIVER] = hw; in cdns_torrent_refclk_driver_register()
2431 cdns_phy->clk_hw_data = data; in cdns_torrent_clk_register()