Lines Matching refs:tvn
228 const struct tvnorm *tvn; in zr36057_set_vfe() local
237 tvn = zr->timing; in zr36057_set_vfe()
239 wa = tvn->wa; in zr36057_set_vfe()
240 ha = tvn->ha; in zr36057_set_vfe()
255 X = DIV_ROUND_UP(vid_win_wid * 64, tvn->wa); in zr36057_set_vfe()
258 hcrop1 = 2 * ((tvn->wa - we) / 4); in zr36057_set_vfe()
259 hcrop2 = tvn->wa - we - hcrop1; in zr36057_set_vfe()
260 h_start = tvn->h_start ? tvn->h_start : 1; in zr36057_set_vfe()
269 h_end = h_start + tvn->wa - 1; in zr36057_set_vfe()
281 Y = DIV_ROUND_UP(vid_win_ht * 64 * 2, tvn->ha); in zr36057_set_vfe()
284 vcrop1 = (tvn->ha / 2 - he) / 2; in zr36057_set_vfe()
285 vcrop2 = tvn->ha / 2 - he - vcrop1; in zr36057_set_vfe()
286 v_start = tvn->v_start; in zr36057_set_vfe()
288 v_end = v_start + tvn->ha / 2; // - 1; in zr36057_set_vfe()
420 const struct tvnorm *tvn; in zr36057_set_jpg() local
423 tvn = zr->timing; in zr36057_set_jpg()
458 (tvn->ht << ZR36057_VSP_FRM_TOT); in zr36057_set_jpg()
460 reg = ((zr->jpg_settings.img_y + tvn->v_start) << ZR36057_FVAP_NAY) | in zr36057_set_jpg()
469 reg = ((tvn->h_sync_start) << ZR36057_HSP_HSYNC_START) | in zr36057_set_jpg()
470 (tvn->wt << ZR36057_HSP_LINE_TOT); in zr36057_set_jpg()
473 tvn->h_start + 4) << ZR36057_FHAP_NAX) | in zr36057_set_jpg()