Searched refs:accu0 (Results 1 – 2 of 2) sorted by relevance
1549 int accu0 = 0; in dispc_ovl_set_scaling_common() local1585 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1586 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1588 accu0 -= accu1; in dispc_ovl_set_scaling_common()1592 dispc_ovl_set_vid_accu0(plane, 0, accu0); in dispc_ovl_set_scaling_common()
1821 int accu0 = 0; in dispc_ovl_set_scaling_common() local1857 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1858 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1860 accu0 -= accu1; in dispc_ovl_set_scaling_common()1864 dispc_ovl_set_vid_accu0(dispc, plane, 0, accu0); in dispc_ovl_set_scaling_common()