Home
last modified time | relevance | path

Searched refs:clk_init (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/clk/mstar/
H A Dclk-msc313-mpll.c75 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 Dclk-msc313-cpupll.c184 struct clk_init_data clk_init = {}; in msc313_cpupll_probe() local
202 clk_init.name = dev_name(dev); in msc313_cpupll_probe()
203 clk_init.ops = &msc313_cpupll_ops; in msc313_cpupll_probe()
204 clk_init.parent_data = &cpupll_parent; in msc313_cpupll_probe()
205 clk_init.num_parents = 1; in msc313_cpupll_probe()
206 cpupll->clk_hw.init = &clk_init; in msc313_cpupll_probe()
/linux/drivers/clk/
H A Dclk-versaclock7.c1103 struct clk_init_data clk_init; in vc7_probe() local
1149 memset(&clk_init, 0, sizeof(clk_init)); in vc7_probe()
1150 clk_init.name = kasprintf(GFP_KERNEL, "%s_fod%d", node_name, i); in vc7_probe()
1151 clk_init.ops = &vc7_fod_ops; in vc7_probe()
1152 clk_init.parent_names = parent_names; in vc7_probe()
1154 clk_init.num_parents = 1; in vc7_probe()
1157 vc7->clk_fod[i].hw.init = &clk_init; in vc7_probe()
1161 kfree(clk_init.name); /* ccf made a copy of the name */ in vc7_probe()
1166 memset(&clk_init, 0, sizeof(clk_init)); in vc7_probe()
1167 clk_init.name = kasprintf(GFP_KERNEL, "%s_iod%d", node_name, i); in vc7_probe()
[all …]
H A Dclk-lochnagar.c240 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 Dcgu.c647 struct clk_init_data clk_init; in ingenic_register_clock() local
685 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock()
689 clk_init.name = clk_info->name; in ingenic_register_clock()
690 clk_init.flags = clk_info->flags; in ingenic_register_clock()
691 clk_init.parent_names = parent_names; in ingenic_register_clock()
699 clk_init.flags |= CLK_SET_RATE_PARENT; in ingenic_register_clock()
703 clk_init.num_parents = 0; in ingenic_register_clock()
715 parent_names[clk_init.num_parents] = in ingenic_register_clock()
717 clk_init.num_parents++; in ingenic_register_clock()
720 BUG_ON(!clk_init.num_parents); in ingenic_register_clock()
[all …]
/linux/drivers/clk/mediatek/
H A Dclk-mt7629-eth.c135 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()
/linux/drivers/phy/mediatek/
H A Dphy-mtk-mipi-dsi.c111 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/cpufreq/
H A Dqcom-cpufreq-hw.c688 struct clk_init_data clk_init = {}; in qcom_cpufreq_hw_driver_probe() local
700 clk_init.name = kasprintf(GFP_KERNEL, "qcom_cpufreq%d", i); in qcom_cpufreq_hw_driver_probe()
701 if (!clk_init.name) in qcom_cpufreq_hw_driver_probe()
704 clk_init.flags = CLK_GET_RATE_NOCACHE; in qcom_cpufreq_hw_driver_probe()
705 clk_init.ops = &qcom_cpufreq_hw_clk_ops; in qcom_cpufreq_hw_driver_probe()
706 data->cpu_clk.init = &clk_init; in qcom_cpufreq_hw_driver_probe()
711 kfree(clk_init.name); in qcom_cpufreq_hw_driver_probe()
716 kfree(clk_init.name); in qcom_cpufreq_hw_driver_probe()
/linux/drivers/clk/davinci/
H A Dda8xx-cfgchip.c746 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 Dtime.c42 clk_init(); in time_init()
/linux/arch/sh/include/asm/
H A Dclock.h15 int clk_init(void);
/linux/arch/arm/mach-mv78xx0/
H A Dcommon.c167 static void __init clk_init(void) in clk_init() function
427 clk_init(); in mv78xx0_init()
/linux/arch/arm/mach-orion5x/
H A Dcommon.c64 void __init clk_init(void) in clk_init() function
327 clk_init(); in orion5x_init()
H A Dcommon.h35 void clk_init(void);
/linux/arch/sh/kernel/cpu/
H A Dclock.c20 int __init clk_init(void) in clk_init() function
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dseq.h6 #define clk_init(s,p) hwsq_init(&(s)->base, (p)) macro
H A Dnv50.c385 out = clk_init(hwsq, subdev); in nv50_clk_calc()
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c5333 .clk_init = fu540_c000_clk_init,
5341 .clk_init = macb_clk_init,
5349 .clk_init = macb_clk_init,
5357 .clk_init = macb_clk_init,
5365 .clk_init = macb_clk_init,
5374 .clk_init = macb_clk_init,
5383 .clk_init = macb_clk_init,
5392 .clk_init = macb_clk_init,
5399 .clk_init = at91ether_clk_init,
5406 .clk_init = macb_clk_init,
[all …]
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c480 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk, member
3136 .clk_init = axidma_clk_init,
3143 .clk_init = axidma_clk_init,
3149 .clk_init = axicdma_clk_init,
3156 .clk_init = axivdma_clk_init,
3178 int (*clk_init)(struct platform_device *, struct clk **, struct clk **, in xilinx_dma_probe() local
3199 clk_init = xdev->dma_config->clk_init; in xilinx_dma_probe()
3203 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()