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()
1836 int accu0 = 0; in dispc_ovl_set_scaling_common() local1872 accu0 = ((1024 * orig_height / out_height) / 2) & 0x3ff; in dispc_ovl_set_scaling_common()1873 if (accu0 >= 1024/2) { in dispc_ovl_set_scaling_common()1875 accu0 -= accu1; in dispc_ovl_set_scaling_common()1879 dispc_ovl_set_vid_accu0(dispc, plane, 0, accu0); in dispc_ovl_set_scaling_common()