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
514 if (!(norm & (V4L2_STD_NTSC | V4L2_STD_PAL))) in tw9910_s_std()
517 priv->norm = norm; in tw9910_s_std()
578 priv->scale = tw9910_select_norm(priv->norm, *width, *height); in tw9910_set_frame()
660 if (priv->norm & V4L2_STD_NTSC) { in tw9910_g_crop()
679 if (priv->norm & V4L2_STD_NTSC) { in tw9910_cropcap()
701 priv->scale = tw9910_select_norm(priv->norm, 640, 480); in tw9910_g_fmt()
760 scale = tw9910_select_norm(priv->norm, mf->width, mf->height); in tw9910_try_fmt()
809 priv->norm = V4L2_STD_NTSC; in tw9910_video_probe()
873 static int tw9910_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm) in tw9910_g_tvnorms() argument
875 *norm = V4L2_STD_NTSC | V4L2_STD_PAL; in tw9910_g_tvnorms()