Lines Matching refs:norm
182 if (~mode->valid_norms & 1<<priv->norm) in ch7006_lookup_mode()
205 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_levels() local
211 if (norm->black_level < 339*fixed1/1000) { in ch7006_setup_levels()
221 black_level = round_fixed(norm->black_level*26625)/gain; in ch7006_setup_levels()
236 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_subcarrier() local
241 * (norm->subc_freq >> 24)); in ch7006_setup_subcarrier()
331 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_properties() local
346 scale = norm->vtotal*fixed1; in ch7006_setup_properties()
352 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
353 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()
358 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties()
359 + norm->voffset) * priv->vmargin / 100 / 2; in ch7006_setup_properties()