Searched refs:ipg_clk (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/fsl-dcu/ |
D | fsl_tcon.c | 80 tcon->ipg_clk = of_clk_get_by_name(np, "ipg"); in fsl_tcon_init() 81 if (IS_ERR(tcon->ipg_clk)) { in fsl_tcon_init() 86 ret = clk_prepare_enable(tcon->ipg_clk); in fsl_tcon_init() 104 clk_disable_unprepare(tcon->ipg_clk); in fsl_tcon_free() 105 clk_put(tcon->ipg_clk); in fsl_tcon_free()
|
D | fsl_tcon.h | 20 struct clk *ipg_clk; member
|
/drivers/irqchip/ |
D | irq-imx-irqsteer.c | 29 struct clk *ipg_clk; member 160 data->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_irqsteer_probe() 161 if (IS_ERR(data->ipg_clk)) in imx_irqsteer_probe() 162 return dev_err_probe(&pdev->dev, PTR_ERR(data->ipg_clk), in imx_irqsteer_probe() 189 ret = clk_prepare_enable(data->ipg_clk); in imx_irqsteer_probe() 227 clk_disable_unprepare(data->ipg_clk); in imx_irqsteer_probe() 242 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_remove() 272 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_suspend() 282 ret = clk_prepare_enable(irqsteer_data->ipg_clk); in imx_irqsteer_resume()
|
D | irq-imx-intmux.c | 74 struct clk *ipg_clk; member 228 data->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_intmux_probe() 229 if (IS_ERR(data->ipg_clk)) in imx_intmux_probe() 230 return dev_err_probe(&pdev->dev, PTR_ERR(data->ipg_clk), in imx_intmux_probe() 240 ret = clk_prepare_enable(data->ipg_clk); in imx_intmux_probe() 285 clk_disable_unprepare(data->ipg_clk); in imx_intmux_probe() 321 clk_disable_unprepare(data->ipg_clk); in imx_intmux_runtime_suspend() 332 ret = clk_prepare_enable(data->ipg_clk); in imx_intmux_runtime_resume()
|
/drivers/pwm/ |
D | pwm-fsl-ftm.c | 51 struct clk *ipg_clk; member 94 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_request() 116 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_free() 365 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_init() 373 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_init() 450 fpc->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in fsl_pwm_probe() 451 if (IS_ERR(fpc->ipg_clk)) in fsl_pwm_probe() 452 fpc->ipg_clk = fpc->clk[FSL_PWM_CLK_SYS]; in fsl_pwm_probe() 494 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_suspend() 517 clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_resume()
|
/drivers/soc/imx/ |
D | gpc.c | 462 struct clk *ipg_clk; in imx_gpc_probe() local 466 ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_gpc_probe() 467 if (IS_ERR(ipg_clk)) in imx_gpc_probe() 468 return PTR_ERR(ipg_clk); in imx_gpc_probe() 469 ipg_rate_mhz = clk_get_rate(ipg_clk) / 1000000; in imx_gpc_probe()
|
/drivers/tty/serial/ |
D | fsl_lpuart.c | 243 struct clk *ipg_clk; member 355 ret = clk_prepare_enable(sport->ipg_clk); in __lpuart_enable_clks() 361 clk_disable_unprepare(sport->ipg_clk); in __lpuart_enable_clks() 366 clk_disable_unprepare(sport->ipg_clk); in __lpuart_enable_clks() 377 return clk_get_rate(sport->ipg_clk); in lpuart_get_baud_clk_rate() 2654 sport->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in lpuart_probe() 2655 if (IS_ERR(sport->ipg_clk)) { in lpuart_probe() 2656 ret = PTR_ERR(sport->ipg_clk); in lpuart_probe()
|