Lines Matching refs:norm
181 if (~mode->valid_norms & 1<<priv->norm) in ch7006_lookup_mode()
204 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_levels() local
210 if (norm->black_level < 339*fixed1/1000) { in ch7006_setup_levels()
220 black_level = round_fixed(norm->black_level*26625)/gain; in ch7006_setup_levels()
235 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_subcarrier() local
240 * (norm->subc_freq >> 24)); in ch7006_setup_subcarrier()
330 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_properties() local
345 scale = norm->vtotal*fixed1; in ch7006_setup_properties()
351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
352 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()
357 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties()
358 + norm->voffset) * priv->vmargin / 100 / 2; in ch7006_setup_properties()