Searched refs:accu0 (Results 1 – 2 of 2) sorted by relevance
1582 int accu0 = 0; in dispc_ovl_set_scaling_common() local1618 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1619 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1621 accu0 -= accu1; in dispc_ovl_set_scaling_common()1625 dispc_ovl_set_vid_accu0(plane, 0, accu0); in dispc_ovl_set_scaling_common()
1832 int accu0 = 0; in dispc_ovl_set_scaling_common() local1868 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1869 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1871 accu0 -= accu1; in dispc_ovl_set_scaling_common()1875 dispc_ovl_set_vid_accu0(dispc, plane, 0, accu0); in dispc_ovl_set_scaling_common()