Lines Matching full:grf_clk

271 	struct clk *grf_clk;  member
802 * register. And for RK3288 or other soc, this grf_clk must be NULL, in dw_mipi_dsi_encoder_enable()
805 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
807 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_encoder_enable()
815 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
967 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
969 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_bind()
977 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
1155 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
1162 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
1236 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_dphy_power_on()
1238 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_dphy_power_on()
1272 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_power_on()
1279 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_power_on()
1292 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_dphy_power_off()
1294 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_dphy_power_off()
1304 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_power_off()
1330 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_rockchip_resume()
1332 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_resume()
1340 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_rockchip_resume()
1429 dsi->grf_clk = devm_clk_get(dev, "grf"); in dw_mipi_dsi_rockchip_probe()
1430 if (IS_ERR(dsi->grf_clk)) { in dw_mipi_dsi_rockchip_probe()
1431 ret = PTR_ERR(dsi->grf_clk); in dw_mipi_dsi_rockchip_probe()
1432 DRM_DEV_ERROR(dev, "Unable to get grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_probe()