Lines Matching full:hs
780 int hs, vs; in setup_tearsync() local
822 * HS and VS in setup_tearsync()
831 * HS or'ed with VS doesn't work, use the active high in setup_tearsync()
837 hs = hndp; in setup_tearsync()
841 * Use HS or'ed with VS as a TE signal if both are needed in setup_tearsync()
845 hs = hsw; in setup_tearsync()
853 hs = hs * 1000000 / (pix_clk / 1000); /* ps */ in setup_tearsync()
854 hs *= 1000; in setup_tearsync()
859 if (vs <= hs) in setup_tearsync()
861 /* set VS to 120% of HS to minimize VS detection time */ in setup_tearsync()
862 vs = hs * 12 / 10; in setup_tearsync()
863 /* minimize HS too */ in setup_tearsync()
864 hs = 10000; in setup_tearsync()
878 "hs %d ps vs %d ps mode %d vsync_only %d\n", in setup_tearsync()
879 hs, vs, (b & 0x3), !use_hsvs); in setup_tearsync()
881 return hwa742.extif->setup_tearsync(1, hs, vs, in setup_tearsync()