Lines Matching refs:clk_diu
58 struct clk *clk_diu; in mpc512x_set_pixel_clock() local
68 clk_diu = of_clk_get(np, 0); in mpc512x_set_pixel_clock()
69 if (IS_ERR(clk_diu)) { in mpc512x_set_pixel_clock()
71 clk_diu = clk_get_sys(np->name, "ipg"); in mpc512x_set_pixel_clock()
74 if (IS_ERR(clk_diu)) { in mpc512x_set_pixel_clock()
78 if (clk_prepare_enable(clk_diu)) { in mpc512x_set_pixel_clock()
125 clk_set_rate(clk_diu, want); in mpc512x_set_pixel_clock()
126 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
134 clk_set_rate(clk_diu, want); in mpc512x_set_pixel_clock()
135 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
155 clk_set_rate(clk_diu, pixclock); in mpc512x_set_pixel_clock()
156 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()