Lines Matching defs:std
196 int (*set_std)(struct adv7180_state *st, unsigned int std);
257 unsigned int std)
259 return state->chip_info->set_std(state, std);
296 static int v4l2_std_to_adv7180(v4l2_std_id std)
298 if (std == V4L2_STD_PAL_60)
300 if (std == V4L2_STD_NTSC_443)
302 if (std == V4L2_STD_PAL_N)
304 if (std == V4L2_STD_PAL_M)
306 if (std == V4L2_STD_PAL_Nc)
309 if (std & V4L2_STD_PAL)
311 if (std & V4L2_STD_NTSC)
313 if (std & V4L2_STD_SECAM)
328 v4l2_std_id *std)
337 if (std)
338 *std = adv7180_std_to_v4l2(status1);
348 static int adv7180_querystd(struct v4l2_subdev *sd, v4l2_std_id *std)
366 __adv7180_status(state, NULL, std);
428 static int adv7180_s_std(struct v4l2_subdev *sd, v4l2_std_id std)
436 /* Make sure we can support this std */
437 ret = v4l2_std_to_adv7180(std);
441 state->curr_norm = std;
924 static int adv7180_set_std(struct adv7180_state *state, unsigned int std)
927 (std << 4) | state->input);
983 static int adv7182_set_std(struct adv7180_state *state, unsigned int std)
985 return adv7180_write(state, ADV7182_REG_INPUT_VIDSEL, std << 4);