Lines Matching refs:norm
235 v4l2_std_id norm;
428 static const struct tw9910_scale_ctrl *tw9910_select_norm(v4l2_std_id norm,
436 if (norm & V4L2_STD_NTSC) {
439 } else if (norm & V4L2_STD_PAL) {
484 dev_err(&client->dev, "norm select error\n");
501 static int tw9910_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm)
506 *norm = priv->norm;
511 static int tw9910_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
521 if (!(norm & (V4L2_STD_NTSC | V4L2_STD_PAL)))
524 priv->norm = norm;
525 if (norm & V4L2_STD_525_60) {
656 /* Select suitable norm. */
657 priv->scale = tw9910_select_norm(priv->norm, *width, *height);
737 if (priv->norm & V4L2_STD_NTSC) {
760 priv->scale = tw9910_select_norm(priv->norm, 640, 480);
821 /* Select suitable norm. */
822 scale = tw9910_select_norm(priv->norm, mf->width, mf->height);
871 priv->norm = V4L2_STD_NTSC;
900 static int tw9910_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm)
902 *norm = V4L2_STD_NTSC | V4L2_STD_PAL;