Home
last modified time | relevance | path

Searched refs:pllref_clk (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c79 struct clk *pllref_clk; member
250 pll_in_khz = (unsigned int)(clk_get_rate(dsi->pllref_clk) / 1000); in dw_mipi_dsi_get_lane_mbps()
358 pll_in_khz = clk_get_rate(dsi->pllref_clk) / 1000; in dw_mipi_dsi_stm_mode_valid()
473 dsi->pllref_clk = devm_clk_get(dev, "ref"); in dw_mipi_dsi_stm_probe()
474 if (IS_ERR(dsi->pllref_clk)) { in dw_mipi_dsi_stm_probe()
475 ret = PTR_ERR(dsi->pllref_clk); in dw_mipi_dsi_stm_probe()
480 ret = clk_prepare_enable(dsi->pllref_clk); in dw_mipi_dsi_stm_probe()
531 clk_disable_unprepare(dsi->pllref_clk); in dw_mipi_dsi_stm_probe()
543 clk_disable_unprepare(dsi->pllref_clk); in dw_mipi_dsi_stm_remove()
553 clk_disable_unprepare(dsi->pllref_clk); in dw_mipi_dsi_stm_suspend()
[all …]
/linux-6.6.21/drivers/staging/media/imx/
Dimx6-mipi-csi2.c43 struct clk *pllref_clk; member
752 csi2->pllref_clk = devm_clk_get(&pdev->dev, "ref"); in csi2_probe()
753 if (IS_ERR(csi2->pllref_clk)) { in csi2_probe()
755 return PTR_ERR(csi2->pllref_clk); in csi2_probe()
782 ret = clk_prepare_enable(csi2->pllref_clk); in csi2_probe()
807 clk_disable_unprepare(csi2->pllref_clk); in csi2_probe()
822 clk_disable_unprepare(csi2->pllref_clk); in csi2_remove()
/linux-6.6.21/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c261 struct clk *pllref_clk; member
588 fin = clk_get_rate(dsi->pllref_clk); in dw_mipi_dsi_get_lane_mbps()
946 ret = clk_prepare_enable(dsi->pllref_clk); in dw_mipi_dsi_rockchip_bind()
989 clk_disable_unprepare(dsi->pllref_clk); in dw_mipi_dsi_rockchip_bind()
1011 clk_disable_unprepare(dsi->pllref_clk); in dw_mipi_dsi_rockchip_unbind()
1393 dsi->pllref_clk = devm_clk_get(dev, "ref"); in dw_mipi_dsi_rockchip_probe()
1394 if (IS_ERR(dsi->pllref_clk)) { in dw_mipi_dsi_rockchip_probe()
1400 dsi->pllref_clk = NULL; in dw_mipi_dsi_rockchip_probe()
1402 ret = PTR_ERR(dsi->pllref_clk); in dw_mipi_dsi_rockchip_probe()