Home
last modified time | relevance | path

Searched refs:clk_pdata (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/platform/x86/intel/int3472/
Dtps68470.c104 skl_int3472_fill_clk_pdata(struct device *dev, struct tps68470_clk_platform_data **clk_pdata) in skl_int3472_fill_clk_pdata() argument
120 *clk_pdata = devm_kzalloc(dev, struct_size(*clk_pdata, consumers, n_consumers), in skl_int3472_fill_clk_pdata()
122 if (!*clk_pdata) in skl_int3472_fill_clk_pdata()
125 (*clk_pdata)->n_consumers = n_consumers; in skl_int3472_fill_clk_pdata()
136 (*clk_pdata)->consumers[i].consumer_dev_name = sensor_name; in skl_int3472_fill_clk_pdata()
147 struct tps68470_clk_platform_data *clk_pdata; in skl_int3472_tps68470_probe() local
155 n_consumers = skl_int3472_fill_clk_pdata(&client->dev, &clk_pdata); in skl_int3472_tps68470_probe()
191 cells[0].platform_data = clk_pdata; in skl_int3472_tps68470_probe()
192 cells[0].pdata_size = struct_size(clk_pdata, consumers, n_consumers); in skl_int3472_tps68470_probe()
/Linux-v6.1/sound/soc/intel/skylake/
Dskl-ssp-clk.c318 struct skl_clk_pdata *clk_pdata, int id) in register_skl_clk() argument
334 clkdev->pdata = clk_pdata; in register_skl_clk()
355 struct skl_clk_pdata *clk_pdata; in skl_clk_dev_probe() local
360 clk_pdata = dev_get_platdata(&pdev->dev); in skl_clk_dev_probe()
361 parent_clks = clk_pdata->parent_clks; in skl_clk_dev_probe()
362 clks = clk_pdata->ssp_clks; in skl_clk_dev_probe()
375 for (i = 0; i < clk_pdata->num_clks; i++) { in skl_clk_dev_probe()
384 &clks[i], clk_pdata, i); in skl_clk_dev_probe()
Dskl.c634 struct skl_clk_pdata *clk_pdata; in skl_clock_device_register() local
639 clk_pdata = devm_kzalloc(&skl->pci->dev, sizeof(*clk_pdata), in skl_clock_device_register()
641 if (!clk_pdata) in skl_clock_device_register()
646 clk_pdata->parent_clks = skl_clk_src; in skl_clock_device_register()
647 clk_pdata->ssp_clks = skl_ssp_clks; in skl_clock_device_register()
648 clk_pdata->num_clks = ARRAY_SIZE(skl_ssp_clks); in skl_clock_device_register()
651 skl_get_clks(skl, clk_pdata->ssp_clks); in skl_clock_device_register()
652 clk_pdata->pvt_data = skl; in skl_clock_device_register()
658 pdevinfo.data = clk_pdata; in skl_clock_device_register()
659 pdevinfo.size_data = sizeof(*clk_pdata); in skl_clock_device_register()
/Linux-v6.1/include/linux/mfd/
Dpalmas.h407 struct palmas_clk_platform_data *clk_pdata; member