/Linux-v6.1/drivers/clk/imx/ |
D | clk-imxrt1050.c | 34 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()
|
D | clk-imx93.c | 252 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()
|
D | clk-imx6sl.c | 101 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()
|
D | clk-imx6sll.c | 57 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()
|
D | clk-imx8mn.c | 316 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()
|
D | clk-imx8mm.c | 296 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()
|
D | clk-imx8mp.c | 408 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()
|
D | clk-imx8mq.c | 281 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()
|
D | clk-imx6ul.c | 72 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()
|
D | clk-imx6sx.c | 86 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()
|
D | clk-imx6q.c | 93 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()
|
D | clk-imx7d.c | 378 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/ |
D | rzg2l-cpg.c | 260 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/ |
D | da7219.c | 2144 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()
|
D | da7219.h | 820 struct clk_hw_onecell_data *clk_hw_data; member
|
/Linux-v6.1/drivers/phy/cadence/ |
D | phy-cadence-torrent.c | 349 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()
|