clkdev 85 drivers/acpi/acpi_apd.c struct platform_device *clkdev; clkdev 109 drivers/acpi/acpi_apd.c clkdev = platform_device_register_data(&adev->dev, "clk-st", clkdev 112 drivers/acpi/acpi_apd.c return PTR_ERR_OR_ZERO(clkdev); clkdev 454 drivers/platform/x86/pmc_atom.c struct platform_device *clkdev; clkdev 469 drivers/platform/x86/pmc_atom.c clkdev = platform_device_register_data(&pdev->dev, "clk-pmc-atom", clkdev 472 drivers/platform/x86/pmc_atom.c if (IS_ERR(clkdev)) { clkdev 474 drivers/platform/x86/pmc_atom.c return PTR_ERR(clkdev); clkdev 177 sound/soc/intel/skylake/skl-ssp-clk.c static int skl_clk_change_status(struct skl_clk *clkdev, clkdev 183 sound/soc/intel/skylake/skl-ssp-clk.c clk_type = skl_get_clk_type(clkdev->id); clkdev 187 sound/soc/intel/skylake/skl-ssp-clk.c vbus_id = skl_get_vbus_id(clkdev->id, clk_type); clkdev 191 sound/soc/intel/skylake/skl-ssp-clk.c rcfg = skl_get_rate_cfg(clkdev->pdata->ssp_clks[clkdev->id].rate_cfg, clkdev 192 sound/soc/intel/skylake/skl-ssp-clk.c clkdev->rate); clkdev 196 sound/soc/intel/skylake/skl-ssp-clk.c return skl_send_clk_dma_control(clkdev->pdata->pvt_data, rcfg, clkdev 202 sound/soc/intel/skylake/skl-ssp-clk.c struct skl_clk *clkdev = to_skl_clk(hw); clkdev 204 sound/soc/intel/skylake/skl-ssp-clk.c return skl_clk_change_status(clkdev, true); clkdev 209 sound/soc/intel/skylake/skl-ssp-clk.c struct skl_clk *clkdev = to_skl_clk(hw); clkdev 211 sound/soc/intel/skylake/skl-ssp-clk.c skl_clk_change_status(clkdev, false); clkdev 217 sound/soc/intel/skylake/skl-ssp-clk.c struct skl_clk *clkdev = to_skl_clk(hw); clkdev 224 sound/soc/intel/skylake/skl-ssp-clk.c rcfg = skl_get_rate_cfg(clkdev->pdata->ssp_clks[clkdev->id].rate_cfg, clkdev 229 sound/soc/intel/skylake/skl-ssp-clk.c clk_type = skl_get_clk_type(clkdev->id); clkdev 234 sound/soc/intel/skylake/skl-ssp-clk.c clkdev->rate = rate; clkdev 242 sound/soc/intel/skylake/skl-ssp-clk.c struct skl_clk *clkdev = to_skl_clk(hw); clkdev 244 sound/soc/intel/skylake/skl-ssp-clk.c if (clkdev->rate) clkdev 245 sound/soc/intel/skylake/skl-ssp-clk.c return clkdev->rate; clkdev 321 sound/soc/intel/skylake/skl-ssp-clk.c struct skl_clk *clkdev; clkdev 324 sound/soc/intel/skylake/skl-ssp-clk.c clkdev = devm_kzalloc(dev, sizeof(*clkdev), GFP_KERNEL); clkdev 325 sound/soc/intel/skylake/skl-ssp-clk.c if (!clkdev) clkdev 333 sound/soc/intel/skylake/skl-ssp-clk.c clkdev->hw.init = &init; clkdev 334 sound/soc/intel/skylake/skl-ssp-clk.c clkdev->pdata = clk_pdata; clkdev 336 sound/soc/intel/skylake/skl-ssp-clk.c clkdev->id = id; clkdev 337 sound/soc/intel/skylake/skl-ssp-clk.c ret = devm_clk_hw_register(dev, &clkdev->hw); clkdev 339 sound/soc/intel/skylake/skl-ssp-clk.c clkdev = ERR_PTR(ret); clkdev 340 sound/soc/intel/skylake/skl-ssp-clk.c return clkdev; clkdev 343 sound/soc/intel/skylake/skl-ssp-clk.c clkdev->lookup = clkdev_hw_create(&clkdev->hw, init.name, NULL); clkdev 344 sound/soc/intel/skylake/skl-ssp-clk.c if (!clkdev->lookup) clkdev 345 sound/soc/intel/skylake/skl-ssp-clk.c clkdev = ERR_PTR(-ENOMEM); clkdev 347 sound/soc/intel/skylake/skl-ssp-clk.c return clkdev;