Home
last modified time | relevance | path

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

/drivers/phy/mediatek/
Dphy-mtk-hdmi.c93 struct clk_init_data *clk_init) in mtk_hdmi_phy_clk_get_data() argument
95 clk_init->flags = hdmi_phy->conf->flags; in mtk_hdmi_phy_clk_get_data()
96 clk_init->ops = hdmi_phy->conf->hdmi_phy_clk_ops; in mtk_hdmi_phy_clk_get_data()
106 struct clk_init_data clk_init = { in mtk_hdmi_phy_probe() local
137 &clk_init.name); in mtk_hdmi_phy_probe()
146 mtk_hdmi_phy_clk_get_data(hdmi_phy, &clk_init); in mtk_hdmi_phy_probe()
147 hdmi_phy->pll_hw.init = &clk_init; in mtk_hdmi_phy_probe()
/drivers/clk/mediatek/
Dclk-mt2701-g3d.c71 int (*clk_init)(struct platform_device *); in clk_mt2701_g3d_probe() local
74 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt2701_g3d_probe()
75 if (!clk_init) in clk_mt2701_g3d_probe()
78 r = clk_init(pdev); in clk_mt2701_g3d_probe()
Dclk-mt7622-eth.c124 int (*clk_init)(struct platform_device *); in clk_mt7622_eth_probe() local
127 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_eth_probe()
128 if (!clk_init) in clk_mt7622_eth_probe()
131 r = clk_init(pdev); in clk_mt7622_eth_probe()
Dclk-mt7629-hif.c132 int (*clk_init)(struct platform_device *); in clk_mt7629_hif_probe() local
135 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_hif_probe()
136 if (!clk_init) in clk_mt7629_hif_probe()
139 r = clk_init(pdev); in clk_mt7629_hif_probe()
Dclk-mt7629-eth.c139 int (*clk_init)(struct platform_device *); in clk_mt7629_eth_probe() local
142 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_eth_probe()
143 if (!clk_init) in clk_mt7629_eth_probe()
146 r = clk_init(pdev); in clk_mt7629_eth_probe()
Dclk-mt7622-hif.c137 int (*clk_init)(struct platform_device *); in clk_mt7622_hif_probe() local
140 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_hif_probe()
141 if (!clk_init) in clk_mt7622_hif_probe()
144 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.c693 int (*clk_init)(struct platform_device *); in clk_mt7629_probe() local
696 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7629_probe()
697 if (!clk_init) in clk_mt7629_probe()
700 r = clk_init(pdev); in clk_mt7629_probe()
Dclk-mt7622.c741 int (*clk_init)(struct platform_device *); in clk_mt7622_probe() local
744 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt7622_probe()
745 if (!clk_init) in clk_mt7622_probe()
748 r = clk_init(pdev); in clk_mt7622_probe()
Dclk-mt6797.c696 int (*clk_init)(struct platform_device *); in clk_mt6797_probe() local
699 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt6797_probe()
700 if (!clk_init) in clk_mt6797_probe()
703 r = clk_init(pdev); in clk_mt6797_probe()
Dclk-mt2701.c1014 int (*clk_init)(struct platform_device *); in clk_mt2701_probe() local
1017 clk_init = of_device_get_match_data(&pdev->dev); in clk_mt2701_probe()
1018 if (!clk_init) in clk_mt2701_probe()
1021 r = clk_init(pdev); in clk_mt2701_probe()
/drivers/clk/ingenic/
Dcgu.c592 struct clk_init_data clk_init; in ingenic_register_clock() local
630 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock()
634 clk_init.name = clk_info->name; in ingenic_register_clock()
635 clk_init.flags = 0; in ingenic_register_clock()
636 clk_init.parent_names = parent_names; in ingenic_register_clock()
644 clk_init.flags |= CLK_SET_RATE_PARENT; in ingenic_register_clock()
648 clk_init.num_parents = 0; in ingenic_register_clock()
660 parent_names[clk_init.num_parents] = in ingenic_register_clock()
662 clk_init.num_parents++; in ingenic_register_clock()
665 BUG_ON(!clk_init.num_parents); in ingenic_register_clock()
[all …]
/drivers/clk/
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()
/drivers/gpu/drm/mediatek/
Dmtk_mipi_tx.c136 struct clk_init_data clk_init = { in mtk_mipi_tx_probe() local
185 &clk_init.name); in mtk_mipi_tx_probe()
191 clk_init.ops = mipi_tx->driver_data->mipi_tx_clk_ops; in mtk_mipi_tx_probe()
193 mipi_tx->pll_hw.init = &clk_init; in mtk_mipi_tx_probe()
/drivers/clk/davinci/
Dda8xx-cfgchip.c745 da8xx_cfgchip_init clk_init = NULL; in da8xx_cfgchip_probe() local
752 clk_init = of_id->data; in da8xx_cfgchip_probe()
757 clk_init = (void *)pdev->id_entry->driver_data; in da8xx_cfgchip_probe()
761 if (!clk_init) { in da8xx_cfgchip_probe()
771 return clk_init(dev, regmap); in da8xx_cfgchip_probe()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dseq.h6 #define clk_init(s,p) hwsq_init(&(s)->base, (p)) macro
Dnv50.c384 out = clk_init(hwsq, subdev); in nv50_clk_calc()
/drivers/dma/xilinx/
Dxilinx_dma.c471 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk, member
2949 .clk_init = axidma_clk_init,
2956 .clk_init = axidma_clk_init,
2962 .clk_init = axicdma_clk_init,
2969 .clk_init = axivdma_clk_init,
2991 int (*clk_init)(struct platform_device *, struct clk **, struct clk **, in xilinx_dma_probe() local
3012 clk_init = xdev->dma_config->clk_init; in xilinx_dma_probe()
3016 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()
/drivers/net/ethernet/cadence/
Dmacb_main.c4361 .clk_init = fu540_c000_clk_init,
4368 .clk_init = macb_clk_init,
4375 .clk_init = macb_clk_init,
4382 .clk_init = macb_clk_init,
4389 .clk_init = macb_clk_init,
4397 .clk_init = macb_clk_init,
4405 .clk_init = macb_clk_init,
4411 .clk_init = at91ether_clk_init,
4417 .clk_init = macb_clk_init,
4426 .clk_init = macb_clk_init,
[all …]
Dmacb.h1110 int (*clk_init)(struct platform_device *pdev, struct clk **pclk, member
/drivers/clk/nxp/
Dclk-lpc32xx.c1404 struct clk_init_data clk_init = { in lpc32xx_clk_register() local
1428 hw->init = &clk_init; in lpc32xx_clk_register()