Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/renesas/
Drzg2l-cpg.c75 struct clk_hw_data { struct
82 #define to_clk_hw_data(_hw) container_of(_hw, struct clk_hw_data, hw) argument
90 struct clk_hw_data hw_data;
105 struct clk_hw_data hw_data;
181 struct clk_hw_data *clk_hw_data = to_clk_hw_data(hw); in rzg2l_cpg_sd_clk_mux_notifier() local
182 struct rzg2l_cpg_priv *priv = clk_hw_data->priv; in rzg2l_cpg_sd_clk_mux_notifier()
183 u32 off = GET_REG_OFFSET(clk_hw_data->conf); in rzg2l_cpg_sd_clk_mux_notifier()
184 u32 shift = GET_SHIFT(clk_hw_data->conf); in rzg2l_cpg_sd_clk_mux_notifier()
209 ret = rzg2l_cpg_wait_clk_update_done(priv->base, clk_hw_data->sconf); in rzg2l_cpg_sd_clk_mux_notifier()
224 struct clk_hw_data *clk_hw_data = to_clk_hw_data(hw); in rzg3s_cpg_div_clk_notifier() local
[all …]
/linux-6.12.1/drivers/clk/imx/
Dclk-imxrt1050.c34 static struct clk_hw_onecell_data *clk_hw_data; variable
45 clk_hw_data = devm_kzalloc(dev, 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()
153 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imxrt1050_clocks_probe()
Dclk-imx8mp-audiomix.c306 struct clk_hw_onecell_data *clk_hw_data; in clk_imx8mp_audiomix_probe() local
318 clk_hw_data = &priv->clk_data; in clk_imx8mp_audiomix_probe()
319 clk_hw_data->num = IMX8MP_CLK_AUDIOMIX_END; in clk_imx8mp_audiomix_probe()
356 clk_hw_data->hws[sels[i].clkid] = hw; in clk_imx8mp_audiomix_probe()
365 clk_hw_data->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL_REF_SEL] = hw; in clk_imx8mp_audiomix_probe()
373 clk_hw_data->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL] = hw; in clk_imx8mp_audiomix_probe()
385 clk_hw_data->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL_BYPASS] = hw; in clk_imx8mp_audiomix_probe()
395 clk_hw_data->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL_OUT] = hw; in clk_imx8mp_audiomix_probe()
406 clk_hw_data); in clk_imx8mp_audiomix_probe()
Dclk-imx93.c257 static struct clk_hw_onecell_data *clk_hw_data; variable
269 clk_hw_data = devm_kzalloc(dev, struct_size(clk_hw_data, hws, in imx93_clocks_probe()
271 if (!clk_hw_data) in imx93_clocks_probe()
274 clk_hw_data->num = IMX93_CLK_END; in imx93_clocks_probe()
275 clks = clk_hw_data->hws; in imx93_clocks_probe()
340 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx93_clocks_probe()
Dclk-imx95-blk-ctl.c285 struct clk_hw_onecell_data *clk_hw_data; in imx95_bc_probe() local
317 clk_hw_data = devm_kzalloc(dev, struct_size(clk_hw_data, hws, bc_data->num_clks), in imx95_bc_probe()
319 if (!clk_hw_data) in imx95_bc_probe()
325 clk_hw_data->num = bc_data->num_clks; in imx95_bc_probe()
326 hws = clk_hw_data->hws; in imx95_bc_probe()
353 ret = of_clk_add_hw_provider(dev->of_node, of_clk_hw_onecell_get, clk_hw_data); in imx95_bc_probe()
Dclk-imx8-acm.c334 struct clk_hw_onecell_data *clk_hw_data; in imx8_acm_clk_probe() local
355 clk_hw_data = devm_kzalloc(&pdev->dev, struct_size(clk_hw_data, hws, IMX_ADMA_ACM_CLK_END), in imx8_acm_clk_probe()
357 if (!clk_hw_data) in imx8_acm_clk_probe()
360 clk_hw_data->num = IMX_ADMA_ACM_CLK_END; in imx8_acm_clk_probe()
361 hws = clk_hw_data->hws; in imx8_acm_clk_probe()
397 ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get, clk_hw_data); in imx8_acm_clk_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 = devm_kzalloc(dev, 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()
600 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-imx8mq.c281 static struct clk_hw_onecell_data *clk_hw_data; variable
291 clk_hw_data = devm_kzalloc(dev, struct_size(clk_hw_data, hws, IMX8MQ_CLK_END), GFP_KERNEL); in imx8mq_clocks_probe()
292 if (WARN_ON(!clk_hw_data)) in imx8mq_clocks_probe()
295 clk_hw_data->num = IMX8MQ_CLK_END; in imx8mq_clocks_probe()
296 hws = clk_hw_data->hws; in imx8mq_clocks_probe()
601 err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx8mq_clocks_probe()
Dclk-imx8mp.c406 static struct clk_hw_onecell_data *clk_hw_data; variable
426 clk_hw_data = devm_kzalloc(dev, struct_size(clk_hw_data, hws, IMX8MP_CLK_END), GFP_KERNEL); in imx8mp_clocks_probe()
427 if (WARN_ON(!clk_hw_data)) in imx8mp_clocks_probe()
430 clk_hw_data->num = IMX8MP_CLK_END; in imx8mp_clocks_probe()
431 hws = clk_hw_data->hws; in imx8mp_clocks_probe()
717 err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx8mp_clocks_probe()
Dclk-imx6ul.c73 static struct clk_hw_onecell_data *clk_hw_data; variable
133 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6ul_clocks_init()
135 if (WARN_ON(!clk_hw_data)) in imx6ul_clocks_init()
138 clk_hw_data->num = IMX6UL_CLK_END; in imx6ul_clocks_init()
139 hws = clk_hw_data->hws; in imx6ul_clocks_init()
502 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
126 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6sx_clocks_init()
128 if (WARN_ON(!clk_hw_data)) in imx6sx_clocks_init()
131 clk_hw_data->num = IMX6SX_CLK_CLK_END; in imx6sx_clocks_init()
132 hws = clk_hw_data->hws; in imx6sx_clocks_init()
491 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6sx_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()
Dclk-imx6q.c94 static struct clk_hw_onecell_data *clk_hw_data; variable
442 clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, in imx6q_clocks_init()
444 if (WARN_ON(!clk_hw_data)) in imx6q_clocks_init()
447 clk_hw_data->num = IMX6QDL_CLK_END; in imx6q_clocks_init()
448 hws = clk_hw_data->hws; in imx6q_clocks_init()
924 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); in imx6q_clocks_init()
/linux-6.12.1/drivers/clk/meson/
Dmeson-clkc-utils.c11 struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_data) in meson_clk_hw_get() argument
13 const struct meson_clk_hw_data *data = clk_hw_data; in meson_clk_hw_get()
Dmeson-clkc-utils.h17 struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_data);
/linux-6.12.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-6.12.1/drivers/phy/cadence/
Dphy-cadence-torrent.c381 struct clk_hw_onecell_data *clk_hw_data; member
1890 cdns_phy->clk_hw_data->hws[CDNS_TORRENT_DERIVED_REFCLK] = hw; in cdns_torrent_derived_refclk_register()
1973 cdns_phy->clk_hw_data->hws[CDNS_TORRENT_RECEIVED_REFCLK] = hw; in cdns_torrent_received_refclk_register()
2056 hw = cdns_phy->clk_hw_data->hws[refclk_driver_parent_index[i]]; in cdns_torrent_refclk_driver_register()
2096 cdns_phy->clk_hw_data->hws[CDNS_TORRENT_REFCLK_DRIVER] = hw; in cdns_torrent_refclk_driver_register()
2706 cdns_phy->clk_hw_data = data; in cdns_torrent_clk_register()