Lines Matching defs:std
28 v4l2_std_id std; /* Current set standard */
189 static int adv7183_g_std(struct v4l2_subdev *sd, v4l2_std_id *std)
193 *std = decoder->std;
197 static int adv7183_s_std(struct v4l2_subdev *sd, v4l2_std_id std)
203 if (std == V4L2_STD_PAL_60)
205 else if (std == V4L2_STD_NTSC_443)
207 else if (std == V4L2_STD_PAL_N)
209 else if (std == V4L2_STD_PAL_M)
211 else if (std == V4L2_STD_PAL_Nc)
213 else if (std & V4L2_STD_PAL)
215 else if (std & V4L2_STD_NTSC)
217 else if (std & V4L2_STD_SECAM)
223 decoder->std = std;
349 static int adv7183_querystd(struct v4l2_subdev *sd, v4l2_std_id *std)
365 *std &= V4L2_STD_NTSC;
368 *std &= V4L2_STD_NTSC_443;
371 *std &= V4L2_STD_PAL_M;
374 *std &= V4L2_STD_PAL_60;
377 *std &= V4L2_STD_PAL;
380 *std &= V4L2_STD_SECAM;
383 *std &= V4L2_STD_PAL_Nc;
386 *std &= V4L2_STD_SECAM;
389 *std = V4L2_STD_UNKNOWN;
393 /* after std detection, write back user set std */
394 adv7183_s_std(sd, decoder->std);
434 if (decoder->std & V4L2_STD_525_60) {
587 decoder->std = V4L2_STD_PAL;
600 adv7183_s_std(sd, decoder->std);