Searched refs:accu0 (Results 1 – 2 of 2) sorted by relevance
1547 int accu0 = 0; in dispc_ovl_set_scaling_common() local1583 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1584 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1586 accu0 -= accu1; in dispc_ovl_set_scaling_common()1590 dispc_ovl_set_vid_accu0(plane, 0, accu0); in dispc_ovl_set_scaling_common()
1831 int accu0 = 0; in dispc_ovl_set_scaling_common() local1867 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1868 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1870 accu0 -= accu1; in dispc_ovl_set_scaling_common()1874 dispc_ovl_set_vid_accu0(dispc, plane, 0, accu0); in dispc_ovl_set_scaling_common()