Lines Matching full:ref_clk
78 struct clk *ref_clk; member
220 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "ref"); in rockchip_hdmi_parse_dt()
221 if (!hdmi->ref_clk) in rockchip_hdmi_parse_dt()
222 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "vpll"); in rockchip_hdmi_parse_dt()
224 if (PTR_ERR(hdmi->ref_clk) == -EPROBE_DEFER) { in rockchip_hdmi_parse_dt()
226 } else if (IS_ERR(hdmi->ref_clk)) { in rockchip_hdmi_parse_dt()
228 return PTR_ERR(hdmi->ref_clk); in rockchip_hdmi_parse_dt()
263 if (hdmi->ref_clk) { in dw_hdmi_rockchip_mode_valid()
264 int rpclk = clk_round_rate(hdmi->ref_clk, pclk); in dw_hdmi_rockchip_mode_valid()
306 clk_set_rate(hdmi->ref_clk, adj_mode->clock * 1000); in dw_hdmi_rockchip_encoder_mode_set()
620 ret = clk_prepare_enable(hdmi->ref_clk); in dw_hdmi_rockchip_bind()
655 clk_disable_unprepare(hdmi->ref_clk); in dw_hdmi_rockchip_bind()
671 clk_disable_unprepare(hdmi->ref_clk); in dw_hdmi_rockchip_unbind()