Home
last modified time | relevance | path

Searched refs:onecell_data (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/clk/
Dclk-oxnas.c29 struct clk_hw_onecell_data *onecell_data; member
191 .onecell_data = &ox810se_hw_onecell_data,
197 .onecell_data = &ox820_hw_onecell_data,
229 for (i = 0; i < data->onecell_data->num; i++) { in oxnas_stdclk_probe()
230 if (!data->onecell_data->hws[i]) in oxnas_stdclk_probe()
234 data->onecell_data->hws[i]); in oxnas_stdclk_probe()
240 data->onecell_data); in oxnas_stdclk_probe()
Dclk-apple-nco.c260 struct clk_hw_onecell_data *onecell_data; in applnco_probe() local
276 onecell_data = devm_kzalloc(&pdev->dev, struct_size(onecell_data, hws, in applnco_probe()
278 if (!onecell_data) in applnco_probe()
280 onecell_data->num = nchannels; in applnco_probe()
310 onecell_data->hws[i] = &chan->hw; in applnco_probe()
314 onecell_data); in applnco_probe()
Dclk-qoriq.c1313 struct clk_onecell_data *onecell_data; in legacy_pll_init() local
1327 onecell_data = kmalloc(sizeof(*onecell_data), GFP_KERNEL); in legacy_pll_init()
1328 if (!onecell_data) in legacy_pll_init()
1342 onecell_data->clks = subclks; in legacy_pll_init()
1343 onecell_data->clk_num = count; in legacy_pll_init()
1345 rc = of_clk_add_provider(np, of_clk_src_onecell_get, onecell_data); in legacy_pll_init()
1354 kfree(onecell_data); in legacy_pll_init()
/linux-6.1.9/drivers/clk/qcom/
Dlpass-gfm-sm8250.c220 struct clk_hw_onecell_data *onecell_data; member
225 .onecell_data = &audiocc_hw_onecell_data,
230 .onecell_data = &aoncc_hw_onecell_data,
268 for (i = 0; i < data->onecell_data->num; i++) { in lpass_gfm_clk_driver_probe()
284 data->onecell_data); in lpass_gfm_clk_driver_probe()
/linux-6.1.9/drivers/soc/imx/
Dimx93-blk-ctrl.c58 struct genpd_onecell_data onecell_data; member
228 bc->onecell_data.num_domains = bc_data->num_domains; in imx93_blk_ctrl_probe()
229 bc->onecell_data.domains = in imx93_blk_ctrl_probe()
232 if (!bc->onecell_data.domains) in imx93_blk_ctrl_probe()
272 bc->onecell_data.domains[i] = &domain->genpd; in imx93_blk_ctrl_probe()
277 ret = of_genpd_add_provider_onecell(dev->of_node, &bc->onecell_data); in imx93_blk_ctrl_probe()
301 for (i = 0; bc->onecell_data.num_domains; i++) { in imx93_blk_ctrl_remove()
Dimx8m-blk-ctrl.c34 struct genpd_onecell_data onecell_data; member
205 bc->onecell_data.num_domains = bc_data->num_domains; in imx8m_blk_ctrl_probe()
206 bc->onecell_data.domains = in imx8m_blk_ctrl_probe()
209 if (!bc->onecell_data.domains) in imx8m_blk_ctrl_probe()
289 bc->onecell_data.domains[i] = &domain->genpd; in imx8m_blk_ctrl_probe()
292 ret = of_genpd_add_provider_onecell(dev->of_node, &bc->onecell_data); in imx8m_blk_ctrl_probe()
329 for (i = 0; bc->onecell_data.num_domains; i++) { in imx8m_blk_ctrl_remove()
363 for (i = 0; i < bc->onecell_data.num_domains; i++) { in imx8m_blk_ctrl_suspend()
389 for (i = 0; i < bc->onecell_data.num_domains; i++) in imx8m_blk_ctrl_resume()
Dimx8mp-blk-ctrl.c33 struct genpd_onecell_data onecell_data; member
536 bc->onecell_data.num_domains = num_domains; in imx8mp_blk_ctrl_probe()
537 bc->onecell_data.domains = in imx8mp_blk_ctrl_probe()
540 if (!bc->onecell_data.domains) in imx8mp_blk_ctrl_probe()
622 bc->onecell_data.domains[i] = &domain->genpd; in imx8mp_blk_ctrl_probe()
625 ret = of_genpd_add_provider_onecell(dev->of_node, &bc->onecell_data); in imx8mp_blk_ctrl_probe()
662 for (i = 0; bc->onecell_data.num_domains; i++) { in imx8mp_blk_ctrl_remove()
696 for (i = 0; i < bc->onecell_data.num_domains; i++) { in imx8mp_blk_ctrl_suspend()
722 for (i = 0; i < bc->onecell_data.num_domains; i++) in imx8mp_blk_ctrl_resume()
/linux-6.1.9/drivers/clk/microchip/
Dclk-pic32mzda.c130 struct clk_onecell_data onecell_data; member
227 cd->onecell_data.clks = clks; in pic32mzda_clk_probe()
228 cd->onecell_data.clk_num = MAXCLKS; in pic32mzda_clk_probe()
230 &cd->onecell_data); in pic32mzda_clk_probe()
/linux-6.1.9/drivers/soc/renesas/
Drcar-gen4-sysc.c292 struct genpd_onecell_data onecell_data; member
329 domains->onecell_data.domains = domains->domains; in rcar_gen4_sysc_pd_init()
330 domains->onecell_data.num_domains = ARRAY_SIZE(domains->domains); in rcar_gen4_sysc_pd_init()
331 rcar_gen4_sysc_onecell_data = &domains->onecell_data; in rcar_gen4_sysc_pd_init()
373 error = of_genpd_add_provider_onecell(np, &domains->onecell_data); in rcar_gen4_sysc_pd_init()
Drcar-sysc.c342 struct genpd_onecell_data onecell_data; member
392 domains->onecell_data.domains = domains->domains; in rcar_sysc_pd_init()
393 domains->onecell_data.num_domains = ARRAY_SIZE(domains->domains); in rcar_sysc_pd_init()
394 rcar_sysc_onecell_data = &domains->onecell_data; in rcar_sysc_pd_init()
438 error = of_genpd_add_provider_onecell(np, &domains->onecell_data); in rcar_sysc_pd_init()
/linux-6.1.9/drivers/clk/pxa/
Dclk-pxa.c42 static struct clk_onecell_data onecell_data = { variable
129 of_clk_add_provider(np, of_clk_src_onecell_get, &onecell_data); in clk_pxa_dt_common_init()