/linux/drivers/clk/mstar/ |
H A D | clk-msc313-mpll.c | 75 struct clk_init_data clk_init = { }; in msc313_mpll_probe() local 112 clk_init.name = dev_name(dev); in msc313_mpll_probe() 113 clk_init.ops = &msc313_mpll_ops; in msc313_mpll_probe() 114 clk_init.parent_data = &mpll_parent; in msc313_mpll_probe() 115 clk_init.num_parents = 1; in msc313_mpll_probe() 116 mpll->clk_hw.init = &clk_init; in msc313_mpll_probe() 127 clk_init.name, output_dividers[i]); in msc313_mpll_probe() 131 clk_init.name, 0, 1, output_dividers[i]); in msc313_mpll_probe()
|
H A D | clk-msc313-cpupll.c | 182 struct clk_init_data clk_init = {}; in msc313_cpupll_probe() local 200 clk_init.name = dev_name(dev); in msc313_cpupll_probe() 201 clk_init.ops = &msc313_cpupll_ops; in msc313_cpupll_probe() 202 clk_init.parent_data = &cpupll_parent; in msc313_cpupll_probe() 203 clk_init.num_parents = 1; in msc313_cpupll_probe() 204 cpupll->clk_hw.init = &clk_init; in msc313_cpupll_probe()
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi.c | 72 struct clk_init_data *clk_init) in mtk_hdmi_phy_clk_get_data() argument 74 clk_init->flags = hdmi_phy->conf->flags; in mtk_hdmi_phy_clk_get_data() 75 clk_init->ops = hdmi_phy->conf->hdmi_phy_clk_ops; in mtk_hdmi_phy_clk_get_data() 84 struct clk_init_data clk_init = { in mtk_hdmi_phy_probe() local 109 &clk_init.name); in mtk_hdmi_phy_probe() 116 mtk_hdmi_phy_clk_get_data(hdmi_phy, &clk_init); in mtk_hdmi_phy_probe() 117 hdmi_phy->pll_hw.init = &clk_init; in mtk_hdmi_phy_probe()
|
H A D | phy-mtk-mipi-dsi.c | 111 struct clk_init_data clk_init = { in mtk_mipi_tx_probe() local 154 &clk_init.name); in mtk_mipi_tx_probe() 158 clk_init.ops = mipi_tx->driver_data->mipi_tx_clk_ops; in mtk_mipi_tx_probe() 160 mipi_tx->pll_hw.init = &clk_init; in mtk_mipi_tx_probe()
|
/linux/drivers/clk/ |
H A D | clk-versaclock7.c | 1097 struct clk_init_data clk_init; in vc7_probe() local 1143 memset(&clk_init, 0, sizeof(clk_init)); in vc7_probe() 1144 clk_init.name = kasprintf(GFP_KERNEL, "%s_fod%d", node_name, i); in vc7_probe() 1145 clk_init.ops = &vc7_fod_ops; in vc7_probe() 1146 clk_init.parent_names = parent_names; in vc7_probe() 1148 clk_init.num_parents = 1; in vc7_probe() 1151 vc7->clk_fod[i].hw.init = &clk_init; in vc7_probe() 1155 kfree(clk_init.name); /* ccf made a copy of the name */ in vc7_probe() 1160 memset(&clk_init, 0, sizeof(clk_init)); in vc7_probe() 1161 clk_init.name = kasprintf(GFP_KERNEL, "%s_iod%d", node_name, i); in vc7_probe() [all …]
|
H A D | clk-lochnagar.c | 240 struct clk_init_data clk_init = { in lochnagar_clk_probe() local 259 clk_init.parent_data = conf->parents; in lochnagar_clk_probe() 260 clk_init.num_parents = conf->nparents; in lochnagar_clk_probe() 268 clk_init.name = lclk->name; in lochnagar_clk_probe() 271 lclk->hw.init = &clk_init; in lochnagar_clk_probe()
|
/linux/drivers/clk/ingenic/ |
H A D | cgu.c | 645 struct clk_init_data clk_init; in ingenic_register_clock() local 683 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock() 687 clk_init.name = clk_info->name; in ingenic_register_clock() 688 clk_init.flags = clk_info->flags; in ingenic_register_clock() 689 clk_init.parent_names = parent_names; in ingenic_register_clock() 697 clk_init.flags |= CLK_SET_RATE_PARENT; in ingenic_register_clock() 701 clk_init.num_parents = 0; in ingenic_register_clock() 713 parent_names[clk_init.num_parents] = in ingenic_register_clock() 715 clk_init.num_parents++; in ingenic_register_clock() 718 BUG_ON(!clk_init.num_parents); in ingenic_register_clock() [all …]
|
/linux/drivers/clk/mediatek/ |
H A D | clk-mt7629-eth.c | 135 int (*clk_init)(struct platform_device *); in clk_mt7629_eth_probe() local 138 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_eth_probe() 139 if (!clk_init) in clk_mt7629_eth_probe() 142 r = clk_init(pdev); in clk_mt7629_eth_probe()
|
H A D | clk-mt7629.c | 671 int (*clk_init)(struct platform_device *); in clk_mt7629_probe() local 674 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_probe() 675 if (!clk_init) in clk_mt7629_probe() 678 r = clk_init(pdev); in clk_mt7629_probe()
|
H A D | clk-mt6797.c | 681 int (*clk_init)(struct platform_device *); in clk_mt6797_probe() local 684 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt6797_probe() 685 if (!clk_init) in clk_mt6797_probe() 688 r = clk_init(pdev); in clk_mt6797_probe()
|
H A D | clk-mt2701.c | 1010 int (*clk_init)(struct platform_device *); in clk_mt2701_probe() local 1013 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt2701_probe() 1014 if (!clk_init) in clk_mt2701_probe() 1017 r = clk_init(pdev); in clk_mt2701_probe()
|
/linux/drivers/cpufreq/ |
H A D | qcom-cpufreq-hw.c | 686 struct clk_init_data clk_init = {}; in qcom_cpufreq_hw_driver_probe() local 698 clk_init.name = kasprintf(GFP_KERNEL, "qcom_cpufreq%d", i); in qcom_cpufreq_hw_driver_probe() 699 if (!clk_init.name) in qcom_cpufreq_hw_driver_probe() 702 clk_init.flags = CLK_GET_RATE_NOCACHE; in qcom_cpufreq_hw_driver_probe() 703 clk_init.ops = &qcom_cpufreq_hw_clk_ops; in qcom_cpufreq_hw_driver_probe() 704 data->cpu_clk.init = &clk_init; in qcom_cpufreq_hw_driver_probe() 709 kfree(clk_init.name); in qcom_cpufreq_hw_driver_probe() 714 kfree(clk_init.name); in qcom_cpufreq_hw_driver_probe()
|
/linux/drivers/clk/davinci/ |
H A D | da8xx-cfgchip.c | 746 da8xx_cfgchip_init clk_init = NULL; in da8xx_cfgchip_probe() local 749 clk_init = device_get_match_data(dev); in da8xx_cfgchip_probe() 750 if (clk_init) { in da8xx_cfgchip_probe() 755 clk_init = (void *)pdev->id_entry->driver_data; in da8xx_cfgchip_probe() 759 if (!clk_init) { in da8xx_cfgchip_probe() 769 return clk_init(dev, regmap); in da8xx_cfgchip_probe()
|
/linux/arch/sh/kernel/ |
H A D | time.c | 42 clk_init(); in time_init()
|
/linux/arch/sh/include/asm/ |
H A D | clock.h | 15 int clk_init(void);
|
/linux/arch/sh/kernel/cpu/ |
H A D | clock.c | 20 int __init clk_init(void) in clk_init() function
|
/linux/arch/arm/mach-mv78xx0/ |
H A D | common.c | 167 static void __init clk_init(void) in clk_init() function 427 clk_init(); in mv78xx0_init()
|
/linux/arch/arm/mach-orion5x/ |
H A D | common.c | 64 void __init clk_init(void) in clk_init() function 327 clk_init(); in orion5x_init()
|
H A D | common.h | 35 void clk_init(void);
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | seq.h | 6 #define clk_init(s,p) hwsq_init(&(s)->base, (p)) macro
|
H A D | nv50.c | 385 out = clk_init(hwsq, subdev); in nv50_clk_calc()
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 4817 .clk_init = fu540_c000_clk_init, 4825 .clk_init = macb_clk_init, 4833 .clk_init = macb_clk_init, 4841 .clk_init = macb_clk_init, 4849 .clk_init = macb_clk_init, 4858 .clk_init = macb_clk_init, 4867 .clk_init = macb_clk_init, 4876 .clk_init = macb_clk_init, 4883 .clk_init = at91ether_clk_init, 4890 .clk_init = macb_clk_init, [all …]
|
H A D | macb.h | 1196 int (*clk_init)(struct platform_device *pdev, struct clk **pclk, member
|
/linux/drivers/clk/nxp/ |
H A D | clk-lpc32xx.c | 1404 struct clk_init_data clk_init = { in lpc32xx_clk_register() local 1428 hw->init = &clk_init; in lpc32xx_clk_register()
|