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

/linux-4.4.14/drivers/video/fbdev/
H A Dsh_mipi_dsi.c59 struct clk *dsit_clk; member in struct:sh_mipi
484 mipi->dsit_clk = clk_get(&pdev->dev, "dsit_clk"); sh_mipi_probe()
485 if (IS_ERR(mipi->dsit_clk)) { sh_mipi_probe()
486 ret = PTR_ERR(mipi->dsit_clk); sh_mipi_probe()
490 f_current = clk_get_rate(mipi->dsit_clk); sh_mipi_probe()
492 rate = clk_round_rate(mipi->dsit_clk, 80000000); sh_mipi_probe()
494 ret = clk_set_rate(mipi->dsit_clk, rate); sh_mipi_probe()
502 ret = clk_enable(mipi->dsit_clk); sh_mipi_probe()
518 clk_put(mipi->dsit_clk); sh_mipi_probe()
561 clk_disable(mipi->dsit_clk); sh_mipi_remove()
562 clk_put(mipi->dsit_clk); sh_mipi_remove()

Completed in 62 milliseconds