Home
last modified time | relevance | path

Searched refs:grf_clk (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
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()
Ddw-mipi-dsi-rockchip.c227 struct clk *grf_clk; member
765 ret = clk_prepare_enable(dsi->grf_clk); 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()
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()
1103 ret = PTR_ERR(dsi->grf_clk); in dw_mipi_dsi_rockchip_probe()
Dcdn-dp-core.h88 struct clk *grf_clk; member
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()
732 dp->grf_clk = devm_clk_get(dev, "grf"); in cdn_dp_parse_dt()
733 if (IS_ERR(dp->grf_clk)) { in cdn_dp_parse_dt()
735 return PTR_ERR(dp->grf_clk); in cdn_dp_parse_dt()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Drockchip,dwc3.txt12 "grf_clk" Controller grf clk
29 "bus_clk", "grf_clk";
46 "bus_clk", "grf_clk";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399.dtsi406 "aclk_usb3", "grf_clk";
442 "aclk_usb3", "grf_clk";
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch17993 struct clk *grf_clk;
18390 - * register. And for RK3288 or other soc, this grf_clk must be NULL,
18393 - ret = clk_prepare_enable(dsi->grf_clk);
18395 - DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret);
18417 - clk_disable_unprepare(dsi->grf_clk);
18637 - ret = clk_prepare_enable(dsi->grf_clk);
18639 - DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret);
18647 - clk_disable_unprepare(dsi->grf_clk);
18737 + clk_disable_unprepare(dsi->grf_clk);
18752 + clk_prepare_enable(dsi->grf_clk);
[all …]