Lines Matching defs:std
201 int (*set_std)(struct adv7180_state *st, unsigned int std);
264 unsigned int std)
266 return state->chip_info->set_std(state, std);
303 static int v4l2_std_to_adv7180(v4l2_std_id std)
305 if (std == V4L2_STD_PAL_60)
307 if (std == V4L2_STD_NTSC_443)
309 if (std == V4L2_STD_PAL_N)
311 if (std == V4L2_STD_PAL_M)
313 if (std == V4L2_STD_PAL_Nc)
316 if (std & V4L2_STD_PAL)
318 if (std & V4L2_STD_NTSC)
320 if (std & V4L2_STD_SECAM)
335 v4l2_std_id *std)
344 if (std)
345 *std = adv7180_std_to_v4l2(status1);
355 static int adv7180_querystd(struct v4l2_subdev *sd, v4l2_std_id *std)
373 __adv7180_status(state, NULL, std);
435 static int adv7180_s_std(struct v4l2_subdev *sd, v4l2_std_id std)
443 /* Make sure we can support this std */
444 ret = v4l2_std_to_adv7180(std);
448 state->curr_norm = std;
987 static int adv7180_set_std(struct adv7180_state *state, unsigned int std)
990 (std << 4) | state->input);
1062 static int adv7182_set_std(struct adv7180_state *state, unsigned int std)
1066 (std << 4) | ADV7182_REG_INPUT_RESERVED);