Lines Matching refs:tvn
339 struct tvnorm *tvn; in zr36057_set_vfe() local
349 tvn = zr->timing; in zr36057_set_vfe()
351 Wa = tvn->Wa; in zr36057_set_vfe()
352 Ha = tvn->Ha; in zr36057_set_vfe()
369 X = DIV_ROUND_UP(VidWinWid * 64, tvn->Wa); in zr36057_set_vfe()
372 hcrop1 = 2 * ((tvn->Wa - We) / 4); in zr36057_set_vfe()
373 hcrop2 = tvn->Wa - We - hcrop1; in zr36057_set_vfe()
374 HStart = tvn->HStart ? tvn->HStart : 1; in zr36057_set_vfe()
383 HEnd = HStart + tvn->Wa - 1; in zr36057_set_vfe()
395 Y = DIV_ROUND_UP(VidWinHt * 64 * 2, tvn->Ha); in zr36057_set_vfe()
398 vcrop1 = (tvn->Ha / 2 - He) / 2; in zr36057_set_vfe()
399 vcrop2 = tvn->Ha / 2 - He - vcrop1; in zr36057_set_vfe()
400 VStart = tvn->VStart; in zr36057_set_vfe()
401 VEnd = VStart + tvn->Ha / 2; // - 1; FIXME SnapShot times out with -1 in 768*576 on the DC10 - LP in zr36057_set_vfe()
727 struct tvnorm *tvn; in zr36057_set_jpg() local
730 tvn = zr->timing; in zr36057_set_jpg()
767 (tvn->Ht << ZR36057_VSP_FrmTot); in zr36057_set_jpg()
769 reg = ((zr->jpg_settings.img_y + tvn->VStart) << ZR36057_FVAP_NAY) | in zr36057_set_jpg()
778 reg = ((tvn->HSyncStart) << ZR36057_HSP_HsyncStart) | in zr36057_set_jpg()
779 (tvn->Wt << ZR36057_HSP_LineTot); in zr36057_set_jpg()
782 tvn->HStart + 4) << ZR36057_FHAP_NAX) | in zr36057_set_jpg()