Home
last modified time | relevance | path

Searched refs:iclk (Results 1 – 15 of 15) sorted by relevance

/drivers/usb/host/
Dehci-sh.c14 struct clk *iclk, *fclk; member
123 priv->iclk = devm_clk_get(&pdev->dev, "usb_ick"); in ehci_hcd_sh_probe()
124 if (IS_ERR(priv->iclk)) in ehci_hcd_sh_probe()
125 priv->iclk = NULL; in ehci_hcd_sh_probe()
128 clk_enable(priv->iclk); in ehci_hcd_sh_probe()
146 clk_disable(priv->iclk); in ehci_hcd_sh_probe()
166 clk_disable(priv->iclk); in ehci_hcd_sh_remove()
Dehci-atmel.c33 struct clk *iclk; member
52 clk_prepare_enable(atmel_ehci->iclk); in atmel_start_clock()
61 clk_disable_unprepare(atmel_ehci->iclk); in atmel_stop_clock()
132 atmel_ehci->iclk = devm_clk_get(&pdev->dev, "ehci_clk"); in ehci_atmel_drv_probe()
133 if (IS_ERR(atmel_ehci->iclk)) { in ehci_atmel_drv_probe()
Dohci-at91.c52 struct clk *iclk; member
80 clk_prepare_enable(ohci_at91->iclk); in at91_start_clock()
91 clk_disable_unprepare(ohci_at91->iclk); in at91_stop_clock()
197 ohci_at91->iclk = devm_clk_get(dev, "ohci_clk"); in usb_hcd_at91_probe()
198 if (IS_ERR(ohci_at91->iclk)) { in usb_hcd_at91_probe()
200 retval = PTR_ERR(ohci_at91->iclk); in usb_hcd_at91_probe()
/drivers/clk/bcm/
Dclk-iproc-pll.c734 struct iproc_clk *iclk; in iproc_pll_clk_setup() local
783 iclk = &iclk_array[0]; in iproc_pll_clk_setup()
784 iclk->pll = pll; in iproc_pll_clk_setup()
792 iclk->hw.init = &init; in iproc_pll_clk_setup()
801 ret = clk_hw_register(NULL, &iclk->hw); in iproc_pll_clk_setup()
805 clk_data->hws[0] = &iclk->hw; in iproc_pll_clk_setup()
819 iclk = &iclk_array[i]; in iproc_pll_clk_setup()
820 iclk->pll = pll; in iproc_pll_clk_setup()
821 iclk->ctrl = &clk_ctrl[i]; in iproc_pll_clk_setup()
828 iclk->hw.init = &init; in iproc_pll_clk_setup()
[all …]
/drivers/spi/
Dspi-qup.c129 struct clk *iclk; /* interface clock */ member
998 struct clk *iclk, *cclk; in spi_qup_probe() local
1020 iclk = devm_clk_get(dev, "iface"); in spi_qup_probe()
1021 if (IS_ERR(iclk)) in spi_qup_probe()
1022 return PTR_ERR(iclk); in spi_qup_probe()
1039 ret = clk_prepare_enable(iclk); in spi_qup_probe()
1049 clk_disable_unprepare(iclk); in spi_qup_probe()
1077 controller->iclk = iclk; in spi_qup_probe()
1167 clk_disable_unprepare(iclk); in spi_qup_probe()
1185 clk_disable_unprepare(controller->iclk); in spi_qup_pm_suspend_runtime()
[all …]
/drivers/i2c/busses/
Di2c-sh7760.c395 unsigned long mck, m1, dff, odff, iclk; in calc_CCR() local
410 iclk = mck / (1 + cdf); in calc_CCR()
411 if (iclk >= 20000000) in calc_CCR()
413 scgds = ((iclk / scl_hz) - 20) >> 3; in calc_CCR()
415 m1 = iclk / (20 + (scgd << 3)); in calc_CCR()
/drivers/mmc/host/
Domap.c125 struct clk * iclk; member
1375 host->iclk = clk_get(&pdev->dev, "ick"); in mmc_omap_probe()
1376 if (IS_ERR(host->iclk)) in mmc_omap_probe()
1377 return PTR_ERR(host->iclk); in mmc_omap_probe()
1378 clk_enable(host->iclk); in mmc_omap_probe()
1460 clk_disable(host->iclk); in mmc_omap_probe()
1461 clk_put(host->iclk); in mmc_omap_probe()
1481 clk_disable(host->iclk); in mmc_omap_remove()
1482 clk_put(host->iclk); in mmc_omap_remove()
/drivers/crypto/
Datmel-tdes.c97 struct clk *iclk; member
220 err = clk_prepare_enable(dd->iclk); in atmel_tdes_hw_init()
247 clk_disable_unprepare(dd->iclk); in atmel_tdes_hw_version_init()
578 clk_disable_unprepare(dd->iclk); in atmel_tdes_finish_req()
1282 tdes_dd->iclk = devm_clk_get(&pdev->dev, "tdes_clk"); in atmel_tdes_probe()
1283 if (IS_ERR(tdes_dd->iclk)) { in atmel_tdes_probe()
1285 err = PTR_ERR(tdes_dd->iclk); in atmel_tdes_probe()
Datmel-aes.c195 struct clk *iclk; member
446 err = clk_enable(dd->iclk); in atmel_aes_hw_init()
473 clk_disable(dd->iclk); in atmel_aes_hw_version_init()
523 clk_disable(dd->iclk); in atmel_aes_complete()
2695 aes_dd->iclk = devm_clk_get(&pdev->dev, "aes_clk"); in atmel_aes_probe()
2696 if (IS_ERR(aes_dd->iclk)) { in atmel_aes_probe()
2698 err = PTR_ERR(aes_dd->iclk); in atmel_aes_probe()
2709 err = clk_prepare(aes_dd->iclk); in atmel_aes_probe()
2757 clk_unprepare(aes_dd->iclk); in atmel_aes_probe()
2787 clk_unprepare(aes_dd->iclk); in atmel_aes_remove()
Datmel-sha.c132 struct clk *iclk; member
291 clk_disable(dd->iclk); in atmel_sha_complete()
1021 err = clk_enable(dd->iclk); in atmel_sha_hw_init()
1048 clk_disable(dd->iclk); in atmel_sha_hw_version_init()
2794 sha_dd->iclk = devm_clk_get(&pdev->dev, "sha_clk"); in atmel_sha_probe()
2795 if (IS_ERR(sha_dd->iclk)) { in atmel_sha_probe()
2797 err = PTR_ERR(sha_dd->iclk); in atmel_sha_probe()
2808 err = clk_prepare(sha_dd->iclk); in atmel_sha_probe()
2860 clk_unprepare(sha_dd->iclk); in atmel_sha_probe()
2889 clk_unprepare(sha_dd->iclk); in atmel_sha_remove()
/drivers/usb/gadget/udc/
Dat91_udc.c902 clk_enable(udc->iclk); in clk_on()
913 clk_disable(udc->iclk); in clk_off()
1856 udc->iclk = devm_clk_get(dev, "pclk"); in at91udc_probe()
1857 if (IS_ERR(udc->iclk)) in at91udc_probe()
1858 return PTR_ERR(udc->iclk); in at91udc_probe()
1870 retval = clk_prepare_enable(udc->iclk); in at91udc_probe()
1878 clk_disable(udc->iclk); in at91udc_probe()
1936 clk_unprepare(udc->iclk); in at91udc_probe()
1963 clk_unprepare(udc->iclk); in at91udc_remove()
Dat91_udc.h138 struct clk *iclk, *fclk; member
/drivers/gpu/drm/amd/powerplay/inc/
Dpower_state.h179 unsigned long iclk; member
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5_core.c42 const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ in hdmi_core_ddc_init() local
52 sfr = iclk / sfr_div; /* SFR_DIV */ in hdmi_core_ddc_init()
/drivers/gpu/drm/omapdrm/dss/
Dhdmi5_core.c41 const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ in hdmi_core_ddc_init() local
51 sfr = iclk / sfr_div; /* SFR_DIV */ in hdmi_core_ddc_init()