/linux/drivers/pwm/ |
A D | pwm-imx1.c | 29 struct clk *clk_ipg; member 42 ret = clk_prepare_enable(imx->clk_ipg); in pwm_imx1_clk_prepare_enable() 48 clk_disable_unprepare(imx->clk_ipg); in pwm_imx1_clk_prepare_enable() 60 clk_disable_unprepare(imx->clk_ipg); in pwm_imx1_clk_disable_unprepare() 144 imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in pwm_imx1_probe() 145 if (IS_ERR(imx->clk_ipg)) in pwm_imx1_probe() 146 return dev_err_probe(&pdev->dev, PTR_ERR(imx->clk_ipg), in pwm_imx1_probe()
|
A D | pwm-imx27.c | 83 struct clk *clk_ipg; member 102 ret = clk_prepare_enable(imx->clk_ipg); in pwm_imx27_clk_prepare_enable() 108 clk_disable_unprepare(imx->clk_ipg); in pwm_imx27_clk_prepare_enable() 118 clk_disable_unprepare(imx->clk_ipg); in pwm_imx27_clk_disable_unprepare() 316 imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in pwm_imx27_probe() 317 if (IS_ERR(imx->clk_ipg)) in pwm_imx27_probe() 318 return dev_err_probe(&pdev->dev, PTR_ERR(imx->clk_ipg), in pwm_imx27_probe()
|
/linux/drivers/gpu/ipu-v3/ |
A D | ipu-prg.c | 74 struct clk *clk_ipg, *clk_axi; member 376 prg->clk_ipg = devm_clk_get(dev, "ipg"); in ipu_prg_probe() 377 if (IS_ERR(prg->clk_ipg)) in ipu_prg_probe() 378 return PTR_ERR(prg->clk_ipg); in ipu_prg_probe() 395 ret = clk_prepare_enable(prg->clk_ipg); in ipu_prg_probe() 401 clk_disable_unprepare(prg->clk_ipg); in ipu_prg_probe() 442 clk_disable_unprepare(prg->clk_ipg); in prg_suspend() 452 ret = clk_prepare_enable(prg->clk_ipg); in prg_resume() 458 clk_disable_unprepare(prg->clk_ipg); in prg_resume()
|
/linux/drivers/net/can/mscan/ |
A D | mpc5xxx_can.c | 119 struct clk *clk_ipg; in mpc512x_can_get_clock() local 235 clk_ipg = devm_clk_get(&ofdev->dev, "ipg"); in mpc512x_can_get_clock() 236 if (IS_ERR(clk_ipg)) in mpc512x_can_get_clock() 238 if (clk_prepare_enable(clk_ipg)) in mpc512x_can_get_clock() 241 priv->clk_ipg = clk_ipg; in mpc512x_can_get_clock() 267 if (priv->clk_ipg) in mpc512x_can_put_clock() 268 clk_disable_unprepare(priv->clk_ipg); in mpc512x_can_put_clock()
|
A D | mscan.c | 544 ret = clk_prepare_enable(priv->clk_ipg); in mscan_open() 585 clk_disable_unprepare(priv->clk_ipg); in mscan_open() 605 clk_disable_unprepare(priv->clk_ipg); in mscan_close()
|
A D | mscan.h | 275 struct clk *clk_ipg; /* clock for registers */ member
|
/linux/drivers/rtc/ |
A D | rtc-mxc.c | 68 struct clk *clk_ipg; member 299 clk_disable_unprepare(pdata->clk_ipg); in mxc_rtc_action() 344 pdata->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in mxc_rtc_probe() 345 if (IS_ERR(pdata->clk_ipg)) { in mxc_rtc_probe() 347 return PTR_ERR(pdata->clk_ipg); in mxc_rtc_probe() 350 ret = clk_prepare_enable(pdata->clk_ipg); in mxc_rtc_probe() 356 clk_disable_unprepare(pdata->clk_ipg); in mxc_rtc_probe() 363 clk_disable_unprepare(pdata->clk_ipg); in mxc_rtc_probe()
|
/linux/drivers/mmc/host/ |
A D | sdhci-esdhc-mcf.c | 26 struct clk *clk_ipg; member 426 mcf_data->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in sdhci_esdhc_mcf_probe() 427 if (IS_ERR(mcf_data->clk_ipg)) { in sdhci_esdhc_mcf_probe() 428 err = PTR_ERR(mcf_data->clk_ipg); in sdhci_esdhc_mcf_probe() 450 err = clk_prepare_enable(mcf_data->clk_ipg); in sdhci_esdhc_mcf_probe() 483 clk_disable_unprepare(mcf_data->clk_ipg); in sdhci_esdhc_mcf_probe() 500 clk_disable_unprepare(mcf_data->clk_ipg); in sdhci_esdhc_mcf_remove()
|
A D | mxcmmc.c | 143 struct clk *clk_ipg; member 1061 host->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in mxcmci_probe() 1062 if (IS_ERR(host->clk_ipg)) { in mxcmci_probe() 1063 ret = PTR_ERR(host->clk_ipg); in mxcmci_probe() 1077 ret = clk_prepare_enable(host->clk_ipg); in mxcmci_probe() 1155 clk_disable_unprepare(host->clk_ipg); in mxcmci_probe() 1179 clk_disable_unprepare(host->clk_ipg); in mxcmci_remove() 1193 clk_disable_unprepare(host->clk_ipg); in mxcmci_suspend() 1207 ret = clk_prepare_enable(host->clk_ipg); in mxcmci_resume()
|
A D | sdhci-esdhc-imx.c | 331 struct clk *clk_ipg; member 1603 imx_data->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in sdhci_esdhc_imx_probe() 1604 if (IS_ERR(imx_data->clk_ipg)) { in sdhci_esdhc_imx_probe() 1605 err = PTR_ERR(imx_data->clk_ipg); in sdhci_esdhc_imx_probe() 1626 err = clk_prepare_enable(imx_data->clk_ipg); in sdhci_esdhc_imx_probe() 1723 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_imx_probe() 1748 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_imx_remove() 1845 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_runtime_suspend() 1875 err = clk_prepare_enable(imx_data->clk_ipg); in sdhci_esdhc_runtime_resume() 1891 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_runtime_resume()
|
/linux/drivers/usb/chipidea/ |
A D | ci_hdrc_imx.c | 100 struct clk *clk_ipg; member 187 data->clk_ipg = devm_clk_get(dev, "ipg"); in imx_get_clks() 188 if (IS_ERR(data->clk_ipg)) { in imx_get_clks() 195 PTR_ERR(data->clk), PTR_ERR(data->clk_ipg)); in imx_get_clks() 227 ret = clk_prepare_enable(data->clk_ipg); in imx_prepare_enable_clks() 240 clk_disable_unprepare(data->clk_ipg); in imx_prepare_enable_clks() 250 clk_disable_unprepare(data->clk_ipg); in imx_prepare_enable_clks() 273 clk_disable_unprepare(data->clk_ipg); in imx_disable_unprepare_clks()
|
/linux/drivers/clocksource/ |
A D | timer-imx-gpt.c | 67 struct clk *clk_ipg; member 401 if (!IS_ERR(imxtm->clk_ipg)) in _mxc_timer_init() 402 clk_prepare_enable(imxtm->clk_ipg); in _mxc_timer_init() 431 imxtm->clk_ipg = clk_get_sys("imx-gpt.0", "ipg"); in mxc_timer_init() 464 imxtm->clk_ipg = of_clk_get_by_name(np, "ipg"); in mxc_timer_init_dt()
|
/linux/drivers/tty/serial/ |
A D | imx.c | 207 struct clk *clk_ipg; member 1553 clk_disable_unprepare(sport->clk_ipg); in imx_uart_shutdown() 1830 clk_disable_unprepare(sport->clk_ipg); in imx_uart_poll_init() 2133 clk_disable_unprepare(sport->clk_ipg); in imx_uart_console_exit() 2279 if (IS_ERR(sport->clk_ipg)) { in imx_uart_probe() 2280 ret = PTR_ERR(sport->clk_ipg); in imx_uart_probe() 2368 clk_disable_unprepare(sport->clk_ipg); in imx_uart_probe() 2499 clk_disable(sport->clk_ipg); in imx_uart_suspend_noirq() 2513 ret = clk_enable(sport->clk_ipg); in imx_uart_resume_noirq() 2550 clk_disable_unprepare(sport->clk_ipg); in imx_uart_resume() [all …]
|
/linux/drivers/video/fbdev/ |
A D | imxfb.c | 145 struct clk *clk_ipg; member 510 ret = clk_prepare_enable(fbi->clk_ipg); in imxfb_enable_controller() 528 clk_disable_unprepare(fbi->clk_ipg); in imxfb_enable_controller() 544 clk_disable_unprepare(fbi->clk_ipg); in imxfb_disable_controller() 951 fbi->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in imxfb_probe() 952 if (IS_ERR(fbi->clk_ipg)) { in imxfb_probe() 953 ret = PTR_ERR(fbi->clk_ipg); in imxfb_probe() 967 ret = clk_prepare_enable(fbi->clk_ipg); in imxfb_probe() 970 clk_disable_unprepare(fbi->clk_ipg); in imxfb_probe()
|
/linux/drivers/dma/ |
A D | imx-sdma.c | 501 struct clk *clk_ipg; member 1394 clk_disable(sdma->clk_ipg); in sdma_free_chan_resources() 1839 clk_enable(sdma->clk_ipg); in sdma_load_firmware() 1845 clk_disable(sdma->clk_ipg); in sdma_load_firmware() 1943 ret = clk_enable(sdma->clk_ipg); in sdma_init() 2000 clk_disable(sdma->clk_ipg); in sdma_init() 2008 clk_disable(sdma->clk_ipg); in sdma_init() 2089 if (IS_ERR(sdma->clk_ipg)) in sdma_probe() 2090 return PTR_ERR(sdma->clk_ipg); in sdma_probe() 2225 clk_unprepare(sdma->clk_ipg); in sdma_probe() [all …]
|
/linux/drivers/spi/ |
A D | spi-mpc512x-psc.c | 64 struct clk *clk_ipg; member 553 mps->clk_ipg = clk; in mpc512x_psc_spi_do_probe() 566 clk_disable_unprepare(mps->clk_ipg); in mpc512x_psc_spi_do_probe() 581 clk_disable_unprepare(mps->clk_ipg); in mpc512x_psc_spi_do_remove()
|
A D | spi-fsl-lpspi.c | 98 struct clk *clk_ipg; member 782 ret = clk_prepare_enable(fsl_lpspi->clk_ipg); in fsl_lpspi_runtime_resume() 799 clk_disable_unprepare(fsl_lpspi->clk_ipg); in fsl_lpspi_runtime_suspend() 885 fsl_lpspi->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in fsl_lpspi_probe() 886 if (IS_ERR(fsl_lpspi->clk_ipg)) { in fsl_lpspi_probe() 887 ret = PTR_ERR(fsl_lpspi->clk_ipg); in fsl_lpspi_probe()
|
A D | spi-imx.c | 97 struct clk *clk_ipg; member 1692 spi_imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in spi_imx_probe() 1693 if (IS_ERR(spi_imx->clk_ipg)) { in spi_imx_probe() 1694 ret = PTR_ERR(spi_imx->clk_ipg); in spi_imx_probe() 1708 ret = clk_prepare_enable(spi_imx->clk_ipg); in spi_imx_probe() 1757 clk_disable_unprepare(spi_imx->clk_ipg); in spi_imx_probe() 1805 ret = clk_prepare_enable(spi_imx->clk_ipg); in spi_imx_runtime_resume() 1822 clk_disable_unprepare(spi_imx->clk_ipg); in spi_imx_runtime_suspend()
|
/linux/drivers/net/can/ |
A D | flexcan.c | 370 struct clk *clk_ipg; member 658 if (priv->clk_ipg) { in flexcan_clks_enable() 659 err = clk_prepare_enable(priv->clk_ipg); in flexcan_clks_enable() 667 clk_disable_unprepare(priv->clk_ipg); in flexcan_clks_enable() 676 clk_disable_unprepare(priv->clk_ipg); in flexcan_clks_disable() 2106 struct clk *clk_ipg = NULL, *clk_per = NULL; in flexcan_probe() local 2135 clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in flexcan_probe() 2136 if (IS_ERR(clk_ipg)) { in flexcan_probe() 2138 return PTR_ERR(clk_ipg); in flexcan_probe() 2202 priv->clk_ipg = clk_ipg; in flexcan_probe()
|
/linux/drivers/crypto/ |
A D | sahara.c | 197 struct clk *clk_ipg; member 1393 dev->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in sahara_probe() 1394 if (IS_ERR(dev->clk_ipg)) { in sahara_probe() 1396 return PTR_ERR(dev->clk_ipg); in sahara_probe() 1463 err = clk_prepare_enable(dev->clk_ipg); in sahara_probe() 1509 clk_disable_unprepare(dev->clk_ipg); in sahara_probe() 1522 clk_disable_unprepare(dev->clk_ipg); in sahara_remove()
|
/linux/drivers/media/platform/imx-jpeg/ |
A D | mxc-jpeg.h | 112 struct clk *clk_ipg; member
|
A D | mxc-jpeg.c | 2037 jpeg->clk_ipg = devm_clk_get(dev, "ipg"); in mxc_jpeg_probe() 2038 if (IS_ERR(jpeg->clk_ipg)) { in mxc_jpeg_probe() 2144 ret = clk_prepare_enable(jpeg->clk_ipg); in mxc_jpeg_runtime_resume() 2159 clk_disable_unprepare(jpeg->clk_ipg); in mxc_jpeg_runtime_resume() 2168 clk_disable_unprepare(jpeg->clk_ipg); in mxc_jpeg_runtime_suspend()
|
/linux/drivers/net/ethernet/freescale/ |
A D | fec_main.c | 2190 mii_speed = DIV_ROUND_UP(clk_get_rate(fep->clk_ipg), bus_freq * 2); in fec_enet_mii_init() 2196 clk_get_rate(fep->clk_ipg)); in fec_enet_mii_init() 2213 holdtime = DIV_ROUND_UP(clk_get_rate(fep->clk_ipg), 100000000) - 1; in fec_enet_mii_init() 3846 fep->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in fec_probe() 3847 if (IS_ERR(fep->clk_ipg)) { in fec_probe() 3848 ret = PTR_ERR(fep->clk_ipg); in fec_probe() 3892 ret = clk_prepare_enable(fep->clk_ipg); in fec_probe() 3996 clk_disable_unprepare(fep->clk_ipg); in fec_probe() 4037 clk_disable_unprepare(fep->clk_ipg); in fec_drv_remove() 4132 clk_disable_unprepare(fep->clk_ipg); in fec_runtime_suspend() [all …]
|
A D | fec.h | 552 struct clk *clk_ipg; member
|