Home
last modified time | relevance | path

Searched refs:grf_clk (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c73 struct clk *grf_clk; member
209 hdmi->grf_clk = devm_clk_get(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt()
210 if (PTR_ERR(hdmi->grf_clk) == -ENOENT) { in rockchip_hdmi_parse_dt()
211 hdmi->grf_clk = NULL; in rockchip_hdmi_parse_dt()
212 } else if (PTR_ERR(hdmi->grf_clk) == -EPROBE_DEFER) { in rockchip_hdmi_parse_dt()
214 } else if (IS_ERR(hdmi->grf_clk)) { in rockchip_hdmi_parse_dt()
216 return PTR_ERR(hdmi->grf_clk); in rockchip_hdmi_parse_dt()
278 ret = clk_prepare_enable(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
288 clk_disable_unprepare(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
H A Ddw-mipi-dsi-rockchip.c227 struct clk *grf_clk; member
762 * register. And for RK3288 or other soc, this grf_clk must be NULL, in dw_mipi_dsi_encoder_enable()
765 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
767 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_encoder_enable()
775 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
933 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
935 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_bind()
943 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
1101 dsi->grf_clk = devm_clk_get(dev, "grf"); in dw_mipi_dsi_rockchip_probe()
1102 if (IS_ERR(dsi->grf_clk)) { in dw_mipi_dsi_rockchip_probe()
[all...]
H A Dcdn-dp-core.h88 struct clk *grf_clk; member
H A Dcdn-dp-core.c67 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
76 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
80 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
733 dp->grf_clk = devm_clk_get(dev, "grf"); in cdn_dp_parse_dt()
734 if (IS_ERR(dp->grf_clk)) { in cdn_dp_parse_dt()
736 return PTR_ERR(dp->grf_clk); in cdn_dp_parse_dt()
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c262 struct clk *grf_clk; member
793 * register. And for RK3288 or other soc, this grf_clk must be NULL, in dw_mipi_dsi_encoder_enable()
796 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
798 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_encoder_enable()
806 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
958 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
960 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_bind()
968 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
1146 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
1153 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
[all...]
H A Ddw_hdmi-rockchip.c79 struct clk *grf_clk; member
231 hdmi->grf_clk = devm_clk_get(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt()
232 if (PTR_ERR(hdmi->grf_clk) == -ENOENT) { in rockchip_hdmi_parse_dt()
233 hdmi->grf_clk = NULL; in rockchip_hdmi_parse_dt()
234 } else if (PTR_ERR(hdmi->grf_clk) == -EPROBE_DEFER) { in rockchip_hdmi_parse_dt()
236 } else if (IS_ERR(hdmi->grf_clk)) { in rockchip_hdmi_parse_dt()
238 return PTR_ERR(hdmi->grf_clk); in rockchip_hdmi_parse_dt()
324 ret = clk_prepare_enable(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
334 clk_disable_unprepare(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
H A Dcdn-dp-core.h89 struct clk *grf_clk; member
H A Dcdn-dp-core.c74 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
83 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
87 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
749 dp->grf_clk = devm_clk_get(dev, "grf"); in cdn_dp_parse_dt()
750 if (IS_ERR(dp->grf_clk)) { in cdn_dp_parse_dt()
752 return PTR_ERR(dp->grf_clk); in cdn_dp_parse_dt()

Completed in 11 milliseconds