Searched refs:accu0 (Results 1 – 2 of 2) sorted by relevance
1593 int accu0 = 0; in dispc_ovl_set_scaling_common() local1629 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1630 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1632 accu0 -= accu1; in dispc_ovl_set_scaling_common()1636 dispc_ovl_set_vid_accu0(plane, 0, accu0); in dispc_ovl_set_scaling_common()
1855 int accu0 = 0; in dispc_ovl_set_scaling_common() local1891 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1892 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1894 accu0 -= accu1; in dispc_ovl_set_scaling_common()1898 dispc_ovl_set_vid_accu0(dispc, plane, 0, accu0); in dispc_ovl_set_scaling_common()