Lines Matching refs:std
627 v4l2_std_id std = decoder->norm; in tvp5150_set_vbi() local
631 if (std == V4L2_STD_ALL) { in tvp5150_set_vbi()
634 } else if (std & V4L2_STD_625_50) { in tvp5150_set_vbi()
674 v4l2_std_id std = decoder->norm; in tvp5150_get_vbi() local
679 if (std == V4L2_STD_ALL) { in tvp5150_get_vbi()
682 } else if (std & V4L2_STD_625_50) { in tvp5150_get_vbi()
707 static int tvp5150_set_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_set_std() argument
712 decoder->norm = std; in tvp5150_set_std()
716 if (std == V4L2_STD_NTSC_443) { in tvp5150_set_std()
718 } else if (std == V4L2_STD_PAL_M) { in tvp5150_set_std()
720 } else if (std == V4L2_STD_PAL_N || std == V4L2_STD_PAL_Nc) { in tvp5150_set_std()
724 if (std & V4L2_STD_NTSC) in tvp5150_set_std()
726 else if (std & V4L2_STD_PAL) in tvp5150_set_std()
728 else if (std & V4L2_STD_SECAM) in tvp5150_set_std()
737 static int tvp5150_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_s_std() argument
741 if (decoder->norm == std) in tvp5150_s_std()
745 if (std & V4L2_STD_525_60) in tvp5150_s_std()
751 return tvp5150_set_std(sd, std); in tvp5150_s_std()
856 v4l2_std_id std; in tvp5150_s_crop() local
874 std = tvp5150_read_std(sd); in tvp5150_s_crop()
876 std = decoder->norm; in tvp5150_s_crop()
878 if (std & V4L2_STD_525_60) in tvp5150_s_crop()
918 v4l2_std_id std; in tvp5150_cropcap() local
929 std = tvp5150_read_std(sd); in tvp5150_cropcap()
931 std = decoder->norm; in tvp5150_cropcap()
933 if (std & V4L2_STD_525_60) in tvp5150_cropcap()