Home
last modified time | relevance | path

Searched refs:clk_pix (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_gdp.c98 struct clk *clk_pix; member
324 if (gdp->clk_pix) { in sti_gdp_prepare_layer()
334 clk_set_parent(gdp->clk_pix, clkp); in sti_gdp_prepare_layer()
336 res = clk_set_rate(gdp->clk_pix, rate); in sti_gdp_prepare_layer()
343 if (clk_prepare_enable(gdp->clk_pix)) { in sti_gdp_prepare_layer()
445 if (gdp->clk_pix) in sti_gdp_disable_layer()
446 clk_disable_unprepare(gdp->clk_pix); in sti_gdp_disable_layer()
547 gdp->clk_pix = devm_clk_get(layer->dev, clk_name); in sti_gdp_init()
548 if (IS_ERR(gdp->clk_pix)) in sti_gdp_init()
Dsti_dvo.c86 struct clk *clk_pix; member
177 clk_disable_unprepare(dvo->clk_pix); in sti_dvo_disable()
209 if (clk_prepare_enable(dvo->clk_pix)) in sti_dvo_pre_enable()
251 clk_set_parent(dvo->clk_pix, clkp); in sti_dvo_set_mode()
256 ret = clk_set_rate(dvo->clk_pix, rate); in sti_dvo_set_mode()
310 result = clk_round_rate(dvo->clk_pix, target); in sti_dvo_connector_mode_valid()
505 dvo->clk_pix = devm_clk_get(dev, "dvo_pix"); in sti_dvo_probe()
506 if (IS_ERR(dvo->clk_pix)) { in sti_dvo_probe()
508 return PTR_ERR(dvo->clk_pix); in sti_dvo_probe()
Dsti_hda.c250 struct clk *clk_pix; member
368 clk_disable_unprepare(hda->clk_pix); in sti_hda_disable()
387 if (clk_prepare_enable(hda->clk_pix)) in sti_hda_pre_enable()
501 ret = clk_set_rate(hda->clk_pix, mode->clock * 1000); in sti_hda_set_mode()
568 result = clk_round_rate(hda->clk_pix, target); in sti_hda_connector_mode_valid()
747 hda->clk_pix = devm_clk_get(dev, "pix"); in sti_hda_probe()
748 if (IS_ERR(hda->clk_pix)) { in sti_hda_probe()
750 return PTR_ERR(hda->clk_pix); in sti_hda_probe()
Dsti_hdmi.c479 clk_disable_unprepare(hdmi->clk_pix); in sti_hdmi_disable()
494 if (clk_prepare_enable(hdmi->clk_pix)) in sti_hdmi_pre_enable()
543 ret = clk_set_rate(hdmi->clk_pix, mode->clock * 1000); in sti_hdmi_set_mode()
609 result = clk_round_rate(hdmi->clk_pix, target); in sti_hdmi_connector_mode_valid()
837 hdmi->clk_pix = devm_clk_get(dev, "pix"); in sti_hdmi_probe()
838 if (IS_ERR(hdmi->clk_pix)) { in sti_hdmi_probe()
840 return PTR_ERR(hdmi->clk_pix); in sti_hdmi_probe()
Dsti_hdmi.h54 struct clk *clk_pix; member