Lines Matching refs:std
628 v4l2_std_id std = decoder->norm; in tvp5150_set_vbi() local
632 if (std == V4L2_STD_ALL) { in tvp5150_set_vbi()
635 } else if (std & V4L2_STD_625_50) { in tvp5150_set_vbi()
675 v4l2_std_id std = decoder->norm; in tvp5150_get_vbi() local
680 if (std == V4L2_STD_ALL) { in tvp5150_get_vbi()
683 } else if (std & V4L2_STD_625_50) { in tvp5150_get_vbi()
708 static int tvp5150_set_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_set_std() argument
713 decoder->norm = std; in tvp5150_set_std()
717 if (std == V4L2_STD_NTSC_443) { in tvp5150_set_std()
719 } else if (std == V4L2_STD_PAL_M) { in tvp5150_set_std()
721 } else if (std == V4L2_STD_PAL_N || std == V4L2_STD_PAL_Nc) { in tvp5150_set_std()
725 if (std & V4L2_STD_NTSC) in tvp5150_set_std()
727 else if (std & V4L2_STD_PAL) in tvp5150_set_std()
729 else if (std & V4L2_STD_SECAM) in tvp5150_set_std()
738 static int tvp5150_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_s_std() argument
742 if (decoder->norm == std) in tvp5150_s_std()
746 if (std & V4L2_STD_525_60) in tvp5150_s_std()
752 return tvp5150_set_std(sd, std); in tvp5150_s_std()
862 v4l2_std_id std; in tvp5150_s_crop() local
880 std = tvp5150_read_std(sd); in tvp5150_s_crop()
882 std = decoder->norm; in tvp5150_s_crop()
884 if (std & V4L2_STD_525_60) in tvp5150_s_crop()
924 v4l2_std_id std; in tvp5150_cropcap() local
935 std = tvp5150_read_std(sd); in tvp5150_cropcap()
937 std = decoder->norm; in tvp5150_cropcap()
939 if (std & V4L2_STD_525_60) in tvp5150_cropcap()