Lines Matching refs:g_pixel_clk
54 extern struct clk *g_pixel_clk[2];
646 clk_enable(g_pixel_clk[di]); in ipu_dp_dc_enable()
736 clk_disable(g_pixel_clk[g_dc_di_assignment[dc_chan]]); in ipu_dp_dc_disable()
867 if ((clk_get_usecount(g_pixel_clk[0]) == 0) && in ipu_init_sync_panel()
868 (clk_get_usecount(g_pixel_clk[1]) == 0)) { in ipu_init_sync_panel()
871 clk_round_rate(g_pixel_clk[disp], in ipu_init_sync_panel()
887 clk_set_parent(g_pixel_clk[disp], g_ldb_clk); in ipu_init_sync_panel()
889 if (clk_get_usecount(g_pixel_clk[disp]) != 0) in ipu_init_sync_panel()
890 clk_set_parent(g_pixel_clk[disp], g_ipu_clk); in ipu_init_sync_panel()
892 rounded_pixel_clk = clk_round_rate(g_pixel_clk[disp], pixel_clk); in ipu_init_sync_panel()
893 clk_set_rate(g_pixel_clk[disp], rounded_pixel_clk); in ipu_init_sync_panel()
896 div = clk_get_rate(clk_get_parent(g_pixel_clk[disp])) / in ipu_init_sync_panel()