Lines Matching refs:g_pixel_clk
52 extern struct clk *g_pixel_clk[2];
644 clk_enable(g_pixel_clk[di]); in ipu_dp_dc_enable()
734 clk_disable(g_pixel_clk[g_dc_di_assignment[dc_chan]]); in ipu_dp_dc_disable()
865 if ((clk_get_usecount(g_pixel_clk[0]) == 0) && in ipu_init_sync_panel()
866 (clk_get_usecount(g_pixel_clk[1]) == 0)) { in ipu_init_sync_panel()
869 clk_round_rate(g_pixel_clk[disp], in ipu_init_sync_panel()
885 clk_set_parent(g_pixel_clk[disp], g_ldb_clk); in ipu_init_sync_panel()
887 if (clk_get_usecount(g_pixel_clk[disp]) != 0) in ipu_init_sync_panel()
888 clk_set_parent(g_pixel_clk[disp], g_ipu_clk); in ipu_init_sync_panel()
890 rounded_pixel_clk = clk_round_rate(g_pixel_clk[disp], pixel_clk); in ipu_init_sync_panel()
891 clk_set_rate(g_pixel_clk[disp], rounded_pixel_clk); in ipu_init_sync_panel()
894 div = clk_get_rate(clk_get_parent(g_pixel_clk[disp])) / in ipu_init_sync_panel()