/Linux-v6.1/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
|
/Linux-v6.1/drivers/irqchip/ |
D | irq-imx-irqsteer.c | 30 struct clk *ipg_clk; member 158 data->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_irqsteer_probe() 159 if (IS_ERR(data->ipg_clk)) in imx_irqsteer_probe() 160 return dev_err_probe(&pdev->dev, PTR_ERR(data->ipg_clk), in imx_irqsteer_probe() 187 ret = clk_prepare_enable(data->ipg_clk); in imx_irqsteer_probe() 229 clk_disable_unprepare(data->ipg_clk); in imx_irqsteer_probe() 244 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_remove() 274 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_suspend() 284 ret = clk_prepare_enable(irqsteer_data->ipg_clk); in imx_irqsteer_resume()
|
D | irq-imx-intmux.c | 73 struct clk *ipg_clk; member 224 data->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_intmux_probe() 225 if (IS_ERR(data->ipg_clk)) in imx_intmux_probe() 226 return dev_err_probe(&pdev->dev, PTR_ERR(data->ipg_clk), in imx_intmux_probe() 236 ret = clk_prepare_enable(data->ipg_clk); in imx_intmux_probe() 280 clk_disable_unprepare(data->ipg_clk); in imx_intmux_probe() 316 clk_disable_unprepare(data->ipg_clk); in imx_intmux_runtime_suspend() 327 ret = clk_prepare_enable(data->ipg_clk); in imx_intmux_runtime_resume()
|
/Linux-v6.1/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() 445 * ipg_clk is the interface clock for the IP. If not provided, use the in fsl_pwm_probe() 448 fpc->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in fsl_pwm_probe() 449 if (IS_ERR(fpc->ipg_clk)) in fsl_pwm_probe() 450 fpc->ipg_clk = fpc->clk[FSL_PWM_CLK_SYS]; in fsl_pwm_probe() 482 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_suspend() [all …]
|
/Linux-v6.1/drivers/iio/adc/ |
D | imx8qxp-adc.c | 93 struct clk *ipg_clk; member 332 adc->ipg_clk = devm_clk_get(dev, "ipg"); in imx8qxp_adc_probe() 333 if (IS_ERR(adc->ipg_clk)) in imx8qxp_adc_probe() 334 return dev_err_probe(dev, PTR_ERR(adc->ipg_clk), "Failed getting clock\n"); in imx8qxp_adc_probe() 362 ret = clk_prepare_enable(adc->ipg_clk); in imx8qxp_adc_probe() 391 clk_disable_unprepare(adc->ipg_clk); in imx8qxp_adc_probe() 413 clk_disable_unprepare(adc->ipg_clk); in imx8qxp_adc_remove() 430 clk_disable_unprepare(adc->ipg_clk); in imx8qxp_adc_runtime_suspend() 454 ret = clk_prepare_enable(adc->ipg_clk); in imx8qxp_adc_runtime_resume()
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | fsl,micfil.yaml | 51 - const: ipg_clk 82 clock-names = "ipg_clk", "ipg_clk_app";
|
/Linux-v6.1/sound/soc/fsl/ |
D | fsl_asrc_common.h | 63 * @ipg_clk: clock source to drive peripheral 85 struct clk *ipg_clk; member
|
D | fsl_audmix.c | 477 priv->ipg_clk = devm_clk_get(dev, "ipg"); in fsl_audmix_probe() 478 if (IS_ERR(priv->ipg_clk)) { in fsl_audmix_probe() 480 return PTR_ERR(priv->ipg_clk); in fsl_audmix_probe() 527 ret = clk_prepare_enable(priv->ipg_clk); in fsl_audmix_runtime_resume() 545 clk_disable_unprepare(priv->ipg_clk); in fsl_audmix_runtime_suspend()
|
D | fsl_asrc.c | 999 * On iMX6, ipg_clk = 133MHz, REG_ASR76K = 0x06D6, REG_ASR56K = 0x0947 in fsl_asrc_init() 1001 ipg_rate = clk_get_rate(asrc->ipg_clk); in fsl_asrc_init() 1123 asrc->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in fsl_asrc_probe() 1124 if (IS_ERR(asrc->ipg_clk)) { in fsl_asrc_probe() 1126 return PTR_ERR(asrc->ipg_clk); in fsl_asrc_probe() 1275 ret = clk_prepare_enable(asrc->ipg_clk); in fsl_asrc_runtime_resume() 1333 clk_disable_unprepare(asrc->ipg_clk); in fsl_asrc_runtime_resume() 1354 clk_disable_unprepare(asrc->ipg_clk); in fsl_asrc_runtime_suspend()
|
D | fsl_xcvr.c | 30 struct clk *ipg_clk; member 1152 xcvr->ipg_clk = devm_clk_get(dev, "ipg"); in fsl_xcvr_probe() 1153 if (IS_ERR(xcvr->ipg_clk)) { in fsl_xcvr_probe() 1155 return PTR_ERR(xcvr->ipg_clk); in fsl_xcvr_probe() 1281 clk_disable_unprepare(xcvr->ipg_clk); in fsl_xcvr_runtime_suspend() 1297 ret = clk_prepare_enable(xcvr->ipg_clk); in fsl_xcvr_runtime_resume() 1362 clk_disable_unprepare(xcvr->ipg_clk); in fsl_xcvr_runtime_resume()
|
D | fsl_audmix.h | 98 struct clk *ipg_clk; member
|
D | fsl_micfil.c | 624 /* ipg_clk is used to control the registers in fsl_micfil_probe() 634 micfil->busclk = devm_clk_get(&pdev->dev, "ipg_clk"); in fsl_micfil_probe()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/tty/serial/ |
D | fsl_lpuart.c | 255 struct clk *ipg_clk; member 380 ret = clk_prepare_enable(sport->ipg_clk); in __lpuart_enable_clks() 386 clk_disable_unprepare(sport->ipg_clk); in __lpuart_enable_clks() 391 clk_disable_unprepare(sport->ipg_clk); in __lpuart_enable_clks() 402 return clk_get_rate(sport->ipg_clk); in lpuart_get_baud_clk_rate() 2621 ret = clk_prepare_enable(sport->ipg_clk); in lpuart_global_reset() 2639 clk_disable_unprepare(sport->ipg_clk); in lpuart_global_reset() 2657 clk_disable_unprepare(sport->ipg_clk); in lpuart_global_reset() 2702 sport->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in lpuart_probe() 2703 if (IS_ERR(sport->ipg_clk)) { in lpuart_probe() [all …]
|
/Linux-v6.1/drivers/nvmem/ |
D | imx-ocotp.c | 253 * ipg_clk. OTP writes will work at maximum bus frequencies as long in imx_ocotp_set_imx6_timing() 257 * correctly that are independent of the ipg_clk. Those values are not in imx_ocotp_set_imx6_timing() 272 * of ipg_clk periods." where Tpgm and Trd refer to STROBE_PROG in imx_ocotp_set_imx6_timing()
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | fsl,fec.yaml | 97 The "ahb", for MAC ipg_clk, ipg_clk_mac that are bus clock.
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mn.dtsi | 365 clock-names = "ipg_clk", "ipg_clk_app",
|
D | imx8mm.dtsi | 397 clock-names = "ipg_clk", "ipg_clk_app",
|