Lines Matching refs:hdmi_clk
285 struct clk *hdmi_clk; member
821 *hdmi_rate = clk_round_rate(hdmi->hdmi_clk, target); in sh_hdmi_rate_error()
823 *hdmi_rate = clk_get_rate(hdmi->hdmi_clk); in sh_hdmi_rate_error()
828 else if (clk_get_parent(hdmi->hdmi_clk)) in sh_hdmi_rate_error()
829 *parent_rate = clk_get_rate(clk_get_parent(hdmi->hdmi_clk)); in sh_hdmi_rate_error()
1154 if (parent_rate && clk_get_parent(hdmi->hdmi_clk)) { in sh_hdmi_clk_configure()
1155 ret = clk_set_rate(clk_get_parent(hdmi->hdmi_clk), parent_rate); in sh_hdmi_clk_configure()
1158 hdmi_rate = clk_round_rate(hdmi->hdmi_clk, hdmi_rate); in sh_hdmi_clk_configure()
1164 ret = clk_set_rate(hdmi->hdmi_clk, hdmi_rate); in sh_hdmi_clk_configure()
1305 hdmi->hdmi_clk = clk_get(&pdev->dev, "ick"); in sh_hdmi_probe()
1306 if (IS_ERR(hdmi->hdmi_clk)) { in sh_hdmi_probe()
1307 ret = PTR_ERR(hdmi->hdmi_clk); in sh_hdmi_probe()
1322 rate = clk_round_rate(hdmi->hdmi_clk, PICOS2KHZ(37037)); in sh_hdmi_probe()
1331 ret = clk_prepare_enable(hdmi->hdmi_clk); in sh_hdmi_probe()
1409 clk_disable_unprepare(hdmi->hdmi_clk); in sh_hdmi_probe()
1411 clk_put(hdmi->hdmi_clk); in sh_hdmi_probe()
1429 clk_disable_unprepare(hdmi->hdmi_clk); in sh_hdmi_remove()
1430 clk_put(hdmi->hdmi_clk); in sh_hdmi_remove()