Lines Matching refs:norm
234 v4l2_std_id norm; member
426 static const struct tw9910_scale_ctrl *tw9910_select_norm(v4l2_std_id norm, in tw9910_select_norm() argument
434 if (norm & V4L2_STD_NTSC) { in tw9910_select_norm()
437 } else if (norm & V4L2_STD_PAL) { in tw9910_select_norm()
499 static int tw9910_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) in tw9910_g_std() argument
504 *norm = priv->norm; in tw9910_g_std()
509 static int tw9910_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9910_s_std() argument
519 if (!(norm & (V4L2_STD_NTSC | V4L2_STD_PAL))) in tw9910_s_std()
522 priv->norm = norm; in tw9910_s_std()
523 if (norm & V4L2_STD_525_60) { in tw9910_s_std()
604 priv->scale = tw9910_select_norm(priv->norm, *width, *height); in tw9910_set_frame()
686 if (priv->norm & V4L2_STD_NTSC) { in tw9910_g_crop()
705 if (priv->norm & V4L2_STD_NTSC) { in tw9910_cropcap()
732 priv->scale = tw9910_select_norm(priv->norm, 640, 480); in tw9910_get_fmt()
796 scale = tw9910_select_norm(priv->norm, mf->width, mf->height); in tw9910_set_fmt()
848 priv->norm = V4L2_STD_NTSC; in tw9910_video_probe()
914 static int tw9910_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm) in tw9910_g_tvnorms() argument
916 *norm = V4L2_STD_NTSC | V4L2_STD_PAL; in tw9910_g_tvnorms()