Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/clk/
A 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()
A 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()
A 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.3-rc2/drivers/clk/qcom/
A 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.3-rc2/drivers/soc/imx/
A 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()
A Dimx8m-blk-ctrl.c35 struct genpd_onecell_data onecell_data; member
206 bc->onecell_data.num_domains = bc_data->num_domains; in imx8m_blk_ctrl_probe()
207 bc->onecell_data.domains = in imx8m_blk_ctrl_probe()
210 if (!bc->onecell_data.domains) in imx8m_blk_ctrl_probe()
295 bc->onecell_data.domains[i] = &domain->genpd; in imx8m_blk_ctrl_probe()
298 ret = of_genpd_add_provider_onecell(dev->of_node, &bc->onecell_data); in imx8m_blk_ctrl_probe()
335 for (i = 0; bc->onecell_data.num_domains; i++) { in imx8m_blk_ctrl_remove()
369 for (i = 0; i < bc->onecell_data.num_domains; i++) { in imx8m_blk_ctrl_suspend()
395 for (i = 0; i < bc->onecell_data.num_domains; i++) in imx8m_blk_ctrl_resume()
A Dimx8mp-blk-ctrl.c44 struct genpd_onecell_data onecell_data; member
638 bc->onecell_data.num_domains = num_domains; in imx8mp_blk_ctrl_probe()
639 bc->onecell_data.domains = in imx8mp_blk_ctrl_probe()
642 if (!bc->onecell_data.domains) in imx8mp_blk_ctrl_probe()
724 bc->onecell_data.domains[i] = &domain->genpd; in imx8mp_blk_ctrl_probe()
727 ret = of_genpd_add_provider_onecell(dev->of_node, &bc->onecell_data); in imx8mp_blk_ctrl_probe()
770 for (i = 0; bc->onecell_data.num_domains; i++) { in imx8mp_blk_ctrl_remove()
804 for (i = 0; i < bc->onecell_data.num_domains; i++) { in imx8mp_blk_ctrl_suspend()
830 for (i = 0; i < bc->onecell_data.num_domains; i++) in imx8mp_blk_ctrl_resume()
/linux-6.3-rc2/drivers/clk/microchip/
A 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.3-rc2/drivers/soc/renesas/
A 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()
A 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.3-rc2/drivers/clk/pxa/
A 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()

Completed in 27 milliseconds