Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/clk/mstar/
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()
/linux-6.1.9/drivers/phy/mediatek/
Dphy-mtk-hdmi.c60 struct clk_init_data *clk_init) in mtk_hdmi_phy_clk_get_data() argument
62 clk_init->flags = hdmi_phy->conf->flags; in mtk_hdmi_phy_clk_get_data()
63 clk_init->ops = hdmi_phy->conf->hdmi_phy_clk_ops; in mtk_hdmi_phy_clk_get_data()
72 struct clk_init_data clk_init = { in mtk_hdmi_phy_probe() local
97 &clk_init.name); in mtk_hdmi_phy_probe()
104 mtk_hdmi_phy_clk_get_data(hdmi_phy, &clk_init); in mtk_hdmi_phy_probe()
105 hdmi_phy->pll_hw.init = &clk_init; in mtk_hdmi_phy_probe()
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-6.1.9/drivers/clk/
Dclk-versaclock7.c1097 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 …]
Dclk-lochnagar.c239 struct clk_init_data clk_init = { in lochnagar_clk_probe() local
263 clk_init.parent_data = conf->parents; in lochnagar_clk_probe()
264 clk_init.num_parents = conf->nparents; in lochnagar_clk_probe()
272 clk_init.name = lclk->name; in lochnagar_clk_probe()
275 lclk->hw.init = &clk_init; in lochnagar_clk_probe()
/linux-6.1.9/drivers/clk/mediatek/
Dclk-mt2701-g3d.c79 int (*clk_init)(struct platform_device *); in clk_mt2701_g3d_probe() local
82 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt2701_g3d_probe()
83 if (!clk_init) in clk_mt2701_g3d_probe()
86 r = clk_init(pdev); in clk_mt2701_g3d_probe()
Dclk-mt7622-eth.c132 int (*clk_init)(struct platform_device *); in clk_mt7622_eth_probe() local
135 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_eth_probe()
136 if (!clk_init) in clk_mt7622_eth_probe()
139 r = clk_init(pdev); in clk_mt7622_eth_probe()
Dclk-mt7629-eth.c143 int (*clk_init)(struct platform_device *); in clk_mt7629_eth_probe() local
146 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_eth_probe()
147 if (!clk_init) in clk_mt7629_eth_probe()
150 r = clk_init(pdev); in clk_mt7629_eth_probe()
Dclk-mt7629-hif.c140 int (*clk_init)(struct platform_device *); in clk_mt7629_hif_probe() local
143 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_hif_probe()
144 if (!clk_init) in clk_mt7629_hif_probe()
147 r = clk_init(pdev); in clk_mt7629_hif_probe()
Dclk-mt7622-hif.c145 int (*clk_init)(struct platform_device *); in clk_mt7622_hif_probe() local
148 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_hif_probe()
149 if (!clk_init) in clk_mt7622_hif_probe()
152 r = clk_init(pdev); in clk_mt7622_hif_probe()
Dclk-mt7622-aud.c176 int (*clk_init)(struct platform_device *); in clk_mt7622_aud_probe() local
179 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_aud_probe()
180 if (!clk_init) in clk_mt7622_aud_probe()
183 r = clk_init(pdev); in clk_mt7622_aud_probe()
Dclk-mt7629.c688 int (*clk_init)(struct platform_device *); in clk_mt7629_probe() local
691 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_probe()
692 if (!clk_init) in clk_mt7629_probe()
695 r = clk_init(pdev); in clk_mt7629_probe()
Dclk-mt6797.c693 int (*clk_init)(struct platform_device *); in clk_mt6797_probe() local
696 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt6797_probe()
697 if (!clk_init) in clk_mt6797_probe()
700 r = clk_init(pdev); in clk_mt6797_probe()
Dclk-mt7622.c760 int (*clk_init)(struct platform_device *); in clk_mt7622_probe() local
763 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_probe()
764 if (!clk_init) in clk_mt7622_probe()
767 r = clk_init(pdev); in clk_mt7622_probe()
Dclk-mt2701.c1027 int (*clk_init)(struct platform_device *); in clk_mt2701_probe() local
1030 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt2701_probe()
1031 if (!clk_init) in clk_mt2701_probe()
1034 r = clk_init(pdev); in clk_mt2701_probe()
/linux-6.1.9/drivers/clk/ingenic/
Dcgu.c620 struct clk_init_data clk_init; in ingenic_register_clock() local
658 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock()
662 clk_init.name = clk_info->name; in ingenic_register_clock()
663 clk_init.flags = clk_info->flags; in ingenic_register_clock()
664 clk_init.parent_names = parent_names; in ingenic_register_clock()
672 clk_init.flags |= CLK_SET_RATE_PARENT; in ingenic_register_clock()
676 clk_init.num_parents = 0; in ingenic_register_clock()
688 parent_names[clk_init.num_parents] = in ingenic_register_clock()
690 clk_init.num_parents++; in ingenic_register_clock()
693 BUG_ON(!clk_init.num_parents); in ingenic_register_clock()
[all …]
/linux-6.1.9/arch/sh/kernel/
Dtime.c42 clk_init(); in time_init()
/linux-6.1.9/arch/sh/include/asm/
Dclock.h15 int clk_init(void);
/linux-6.1.9/arch/sh/kernel/cpu/
Dclock.c20 int __init clk_init(void) in clk_init() function
/linux-6.1.9/drivers/clk/davinci/
Dda8xx-cfgchip.c744 da8xx_cfgchip_init clk_init = NULL; in da8xx_cfgchip_probe() local
751 clk_init = of_id->data; in da8xx_cfgchip_probe()
756 clk_init = (void *)pdev->id_entry->driver_data; in da8xx_cfgchip_probe()
760 if (!clk_init) { in da8xx_cfgchip_probe()
770 return clk_init(dev, regmap); in da8xx_cfgchip_probe()
/linux-6.1.9/arch/arm/mach-mv78xx0/
Dcommon.c167 static void __init clk_init(void) in clk_init() function
404 clk_init(); in mv78xx0_init()
/linux-6.1.9/arch/arm/mach-orion5x/
Dcommon.c65 void __init clk_init(void) in clk_init() function
337 clk_init(); in orion5x_init()
Dcommon.h36 void clk_init(void);
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dseq.h6 #define clk_init(s,p) hwsq_init(&(s)->base, (p)) macro
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c4666 .clk_init = fu540_c000_clk_init,
4674 .clk_init = macb_clk_init,
4682 .clk_init = macb_clk_init,
4690 .clk_init = macb_clk_init,
4698 .clk_init = macb_clk_init,
4706 .clk_init = macb_clk_init,
4715 .clk_init = macb_clk_init,
4724 .clk_init = macb_clk_init,
4731 .clk_init = at91ether_clk_init,
4738 .clk_init = macb_clk_init,
[all …]

12