Home
last modified time | relevance | path

Searched refs:camera_clk (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/sh/boards/mach-kfr2r09/
Dsetup.c256 static struct clk *camera_clk; variable
269 camera_clk = clk_get(NULL, "video_clk"); in camera_power()
270 if (IS_ERR(camera_clk)) in camera_power()
271 return PTR_ERR(camera_clk); in camera_power()
273 rate = clk_round_rate(camera_clk, CEU_MCLK_FREQ); in camera_power()
274 ret = clk_set_rate(camera_clk, rate); in camera_power()
300 ret = clk_enable(camera_clk); /* start VIO_CKO */ in camera_power()
309 clk_disable(camera_clk); in camera_power()
319 clk_put(camera_clk); in camera_power()
/linux-3.4.99/arch/sh/boards/mach-migor/
Dsetup.c302 static struct clk *camera_clk; variable
312 camera_clk = clk_get(NULL, "video_clk"); in camera_power_on()
313 clk_set_rate(camera_clk, 10000000); in camera_power_on()
314 clk_enable(camera_clk); /* start VIO_CKO */ in camera_power_on()
332 clk_disable(camera_clk); /* stop VIO_CKO */ in camera_power_off()
333 clk_put(camera_clk); in camera_power_off()