Lines Matching refs:norm
235 v4l2_std_id norm; member
428 static const struct tw9910_scale_ctrl *tw9910_select_norm(v4l2_std_id norm, in tw9910_select_norm() argument
436 if (norm & V4L2_STD_NTSC) { in tw9910_select_norm()
439 } else if (norm & V4L2_STD_PAL) { in tw9910_select_norm()
501 static int tw9910_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) in tw9910_g_std() argument
506 *norm = priv->norm; in tw9910_g_std()
511 static int tw9910_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9910_s_std() argument
521 if (!(norm & (V4L2_STD_NTSC | V4L2_STD_PAL))) in tw9910_s_std()
524 priv->norm = norm; in tw9910_s_std()
525 if (norm & V4L2_STD_525_60) { in tw9910_s_std()
656 priv->scale = tw9910_select_norm(priv->norm, *width, *height); in tw9910_set_frame()
736 if (priv->norm & V4L2_STD_NTSC) { in tw9910_get_selection()
759 priv->scale = tw9910_select_norm(priv->norm, 640, 480); in tw9910_get_fmt()
821 scale = tw9910_select_norm(priv->norm, mf->width, mf->height); in tw9910_set_fmt()
870 priv->norm = V4L2_STD_NTSC; in tw9910_video_probe()
899 static int tw9910_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm) in tw9910_g_tvnorms() argument
901 *norm = V4L2_STD_NTSC | V4L2_STD_PAL; in tw9910_g_tvnorms()