/drivers/pwm/ |
D | pwm-imx.c | 52 struct clk *clk_ipg; member 209 ret = clk_prepare_enable(imx->clk_ipg); in imx_pwm_config() 215 clk_disable_unprepare(imx->clk_ipg); in imx_pwm_config() 296 imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in imx_pwm_probe() 297 if (IS_ERR(imx->clk_ipg)) { in imx_pwm_probe() 299 PTR_ERR(imx->clk_ipg)); in imx_pwm_probe() 300 return PTR_ERR(imx->clk_ipg); in imx_pwm_probe()
|
/drivers/net/can/mscan/ |
D | mpc5xxx_can.c | 125 struct clk *clk_ipg; in mpc512x_can_get_clock() local 241 clk_ipg = devm_clk_get(&ofdev->dev, "ipg"); in mpc512x_can_get_clock() 242 if (IS_ERR(clk_ipg)) in mpc512x_can_get_clock() 244 if (clk_prepare_enable(clk_ipg)) in mpc512x_can_get_clock() 247 priv->clk_ipg = clk_ipg; in mpc512x_can_get_clock() 273 if (priv->clk_ipg) in mpc512x_can_put_clock() 274 clk_disable_unprepare(priv->clk_ipg); in mpc512x_can_put_clock()
|
D | mscan.c | 555 if (priv->clk_ipg) { in mscan_open() 556 ret = clk_prepare_enable(priv->clk_ipg); in mscan_open() 601 if (priv->clk_ipg) in mscan_open() 602 clk_disable_unprepare(priv->clk_ipg); in mscan_open() 623 if (priv->clk_ipg) in mscan_close() 624 clk_disable_unprepare(priv->clk_ipg); in mscan_close()
|
D | mscan.h | 286 struct clk *clk_ipg; /* clock for registers */ member
|
/drivers/usb/chipidea/ |
D | ci_hdrc_imx.c | 95 struct clk *clk_ipg; member 158 data->clk_ipg = devm_clk_get(dev, "ipg"); in imx_get_clks() 159 if (IS_ERR(data->clk_ipg)) { in imx_get_clks() 166 PTR_ERR(data->clk), PTR_ERR(data->clk_ipg)); in imx_get_clks() 198 ret = clk_prepare_enable(data->clk_ipg); in imx_prepare_enable_clks() 211 clk_disable_unprepare(data->clk_ipg); in imx_prepare_enable_clks() 221 clk_disable_unprepare(data->clk_ipg); in imx_prepare_enable_clks() 244 clk_disable_unprepare(data->clk_ipg); in imx_disable_unprepare_clks()
|
/drivers/rtc/ |
D | rtc-mxc.c | 85 struct clk *clk_ipg; member 390 pdata->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in mxc_rtc_probe() 391 if (IS_ERR(pdata->clk_ipg)) { in mxc_rtc_probe() 393 return PTR_ERR(pdata->clk_ipg); in mxc_rtc_probe() 396 ret = clk_prepare_enable(pdata->clk_ipg); in mxc_rtc_probe() 462 clk_disable_unprepare(pdata->clk_ipg); in mxc_rtc_probe() 472 clk_disable_unprepare(pdata->clk_ipg); in mxc_rtc_remove()
|
/drivers/net/can/ |
D | flexcan.c | 258 struct clk *clk_ipg; member 451 err = clk_prepare_enable(priv->clk_ipg); in flexcan_get_berr_counter() 463 clk_disable_unprepare(priv->clk_ipg); in flexcan_get_berr_counter() 988 err = clk_prepare_enable(priv->clk_ipg); in flexcan_open() 1023 clk_disable_unprepare(priv->clk_ipg); in flexcan_open() 1038 clk_disable_unprepare(priv->clk_ipg); in flexcan_close() 1080 err = clk_prepare_enable(priv->clk_ipg); in register_flexcandev() 1125 clk_disable_unprepare(priv->clk_ipg); in register_flexcandev() 1158 struct clk *clk_ipg = NULL, *clk_per = NULL; in flexcan_probe() local 1174 clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in flexcan_probe() [all …]
|
/drivers/tty/serial/ |
D | imx.c | 212 struct clk *clk_ipg; member 1252 retval = clk_prepare_enable(sport->clk_ipg); in imx_startup() 1382 clk_disable_unprepare(sport->clk_ipg); in imx_shutdown() 1652 retval = clk_prepare_enable(sport->clk_ipg); in imx_poll_init() 1657 clk_disable_unprepare(sport->clk_ipg); in imx_poll_init() 1795 retval = clk_enable(sport->clk_ipg); in imx_console_write() 1836 clk_disable(sport->clk_ipg); in imx_console_write() 1925 retval = clk_prepare_enable(sport->clk_ipg); in imx_console_setup() 1938 clk_disable(sport->clk_ipg); in imx_console_setup() 1940 clk_unprepare(sport->clk_ipg); in imx_console_setup() [all …]
|
/drivers/spi/ |
D | spi-imx.c | 93 struct clk *clk_ipg; member 1128 ret = clk_enable(spi_imx->clk_ipg); in spi_imx_prepare_message() 1142 clk_disable(spi_imx->clk_ipg); in spi_imx_unprepare_message() 1225 spi_imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in spi_imx_probe() 1226 if (IS_ERR(spi_imx->clk_ipg)) { in spi_imx_probe() 1227 ret = PTR_ERR(spi_imx->clk_ipg); in spi_imx_probe() 1241 ret = clk_prepare_enable(spi_imx->clk_ipg); in spi_imx_probe() 1292 clk_disable(spi_imx->clk_ipg); in spi_imx_probe() 1297 clk_disable_unprepare(spi_imx->clk_ipg); in spi_imx_probe() 1318 ret = clk_enable(spi_imx->clk_ipg); in spi_imx_remove() [all …]
|
D | spi-mpc512x-psc.c | 68 struct clk *clk_ipg; member 558 mps->clk_ipg = clk; in mpc512x_psc_spi_do_probe() 571 clk_disable_unprepare(mps->clk_ipg); in mpc512x_psc_spi_do_probe() 586 clk_disable_unprepare(mps->clk_ipg); in mpc512x_psc_spi_do_remove()
|
/drivers/clocksource/ |
D | timer-imx-gpt.c | 83 struct clk *clk_ipg; member 436 if (!IS_ERR(imxtm->clk_ipg)) in _mxc_timer_init() 437 clk_prepare_enable(imxtm->clk_ipg); in _mxc_timer_init() 466 imxtm->clk_ipg = clk_get_sys("imx-gpt.0", "ipg"); in mxc_timer_init() 499 imxtm->clk_ipg = of_clk_get_by_name(np, "ipg"); in mxc_timer_init_dt()
|
/drivers/dma/ |
D | imx-sdma.c | 383 struct clk *clk_ipg; member 1135 ret = clk_enable(sdmac->sdma->clk_ipg); in sdma_alloc_chan_resources() 1160 clk_disable(sdmac->sdma->clk_ipg); in sdma_alloc_chan_resources() 1183 clk_disable(sdma->clk_ipg); in sdma_free_chan_resources() 1492 clk_enable(sdma->clk_ipg); in sdma_load_firmware() 1498 clk_disable(sdma->clk_ipg); in sdma_load_firmware() 1594 ret = clk_enable(sdma->clk_ipg); in sdma_init() 1649 clk_disable(sdma->clk_ipg); in sdma_init() 1657 clk_disable(sdma->clk_ipg); in sdma_init() 1750 sdma->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in sdma_probe() [all …]
|
/drivers/video/fbdev/ |
D | imxfb.c | 142 struct clk *clk_ipg; member 500 ret = clk_prepare_enable(fbi->clk_ipg); in imxfb_enable_controller() 518 clk_disable_unprepare(fbi->clk_ipg); in imxfb_enable_controller() 534 clk_disable_unprepare(fbi->clk_ipg); in imxfb_disable_controller() 919 fbi->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in imxfb_probe() 920 if (IS_ERR(fbi->clk_ipg)) { in imxfb_probe() 921 ret = PTR_ERR(fbi->clk_ipg); in imxfb_probe() 935 ret = clk_prepare_enable(fbi->clk_ipg); in imxfb_probe() 938 clk_disable_unprepare(fbi->clk_ipg); in imxfb_probe()
|
/drivers/mmc/host/ |
D | mxcmmc.c | 148 struct clk *clk_ipg; member 1089 host->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in mxcmci_probe() 1090 if (IS_ERR(host->clk_ipg)) { in mxcmci_probe() 1091 ret = PTR_ERR(host->clk_ipg); in mxcmci_probe() 1102 clk_prepare_enable(host->clk_ipg); in mxcmci_probe() 1172 clk_disable_unprepare(host->clk_ipg); in mxcmci_probe() 1194 clk_disable_unprepare(host->clk_ipg); in mxcmci_remove() 1207 clk_disable_unprepare(host->clk_ipg); in mxcmci_suspend() 1217 clk_prepare_enable(host->clk_ipg); in mxcmci_resume()
|
D | sdhci-esdhc-imx.c | 196 struct clk *clk_ipg; member 1207 imx_data->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in sdhci_esdhc_imx_probe() 1208 if (IS_ERR(imx_data->clk_ipg)) { in sdhci_esdhc_imx_probe() 1209 err = PTR_ERR(imx_data->clk_ipg); in sdhci_esdhc_imx_probe() 1228 clk_prepare_enable(imx_data->clk_ipg); in sdhci_esdhc_imx_probe() 1292 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_imx_probe() 1313 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_imx_remove() 1352 clk_disable_unprepare(imx_data->clk_ipg); in sdhci_esdhc_runtime_suspend() 1367 clk_prepare_enable(imx_data->clk_ipg); in sdhci_esdhc_runtime_resume()
|
/drivers/crypto/ |
D | sahara.c | 198 struct clk *clk_ipg; member 1431 dev->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in sahara_probe() 1432 if (IS_ERR(dev->clk_ipg)) { in sahara_probe() 1434 return PTR_ERR(dev->clk_ipg); in sahara_probe() 1502 err = clk_prepare_enable(dev->clk_ipg); in sahara_probe() 1548 clk_disable_unprepare(dev->clk_ipg); in sahara_probe() 1561 clk_disable_unprepare(dev->clk_ipg); in sahara_remove()
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 2010 mii_speed = DIV_ROUND_UP(clk_get_rate(fep->clk_ipg), 5000000); in fec_enet_mii_init() 2016 clk_get_rate(fep->clk_ipg)); in fec_enet_mii_init() 2033 holdtime = DIV_ROUND_UP(clk_get_rate(fep->clk_ipg), 100000000) - 1; in fec_enet_mii_init() 3386 fep->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); in fec_probe() 3387 if (IS_ERR(fep->clk_ipg)) { in fec_probe() 3388 ret = PTR_ERR(fep->clk_ipg); in fec_probe() 3424 ret = clk_prepare_enable(fep->clk_ipg); in fec_probe() 3434 clk_disable_unprepare(fep->clk_ipg); in fec_probe() 3636 clk_disable_unprepare(fep->clk_ipg); in fec_runtime_suspend() 3646 return clk_prepare_enable(fep->clk_ipg); in fec_runtime_resume()
|
D | fec.h | 495 struct clk *clk_ipg; member
|