Lines Matching defs:std
81 v4l2_std_id std;
770 hz = (state->std & V4L2_STD_525_60) ? 5994 : 5000;
870 int is_50hz = state->std & V4L2_STD_625_50;
970 static void saa711x_set_v4lstd(struct v4l2_subdev *sd, v4l2_std_id std)
981 if (std == state->std)
984 state->std = std;
987 if (std & V4L2_STD_525_60) {
1023 if (std == V4L2_STD_PAL_M) {
1025 } else if (std == V4L2_STD_PAL_Nc) {
1027 } else if (std == V4L2_STD_PAL_60) {
1029 } else if (std == V4L2_STD_NTSC_M_JP) {
1031 } else if (std & V4L2_STD_SECAM) {
1051 int is_50hz = (state->std & V4L2_STD_625_50);
1204 if (state->std & V4L2_STD_525_60)
1269 static int saa711x_s_std(struct v4l2_subdev *sd, v4l2_std_id std)
1274 saa711x_set_v4lstd(sd, std);
1431 static int saa711x_querystd(struct v4l2_subdev *sd, v4l2_std_id *std)
1437 * The V4L2 core already initializes std with all supported
1451 *std &= V4L2_STD_NTSC;
1459 *std &= V4L2_STD_PAL | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc |
1463 *std &= V4L2_STD_SECAM;
1466 *std = V4L2_STD_UNKNOWN;
1476 *std = V4L2_STD_UNKNOWN;
1481 *std &= V4L2_STD_525_60;
1483 *std &= V4L2_STD_625_50;
1486 v4l2_dbg(1, debug, sd, "detected std mask = %08Lx\n", *std);