Lines Matching refs:std
58 v4l2_std_id std; member
83 .std = V4L2_STD_PAL,
89 .std = V4L2_STD_NTSC,
107 static const struct timblogiw_tvnorm *timblogiw_get_norm(const v4l2_std_id std) in timblogiw_get_norm() argument
111 if (timblogiw_tvnorms[i].std & std) in timblogiw_get_norm()
327 static int timblogiw_g_std(struct file *file, void *priv, v4l2_std_id *std) in timblogiw_g_std() argument
334 *std = fh->cur_norm->std; in timblogiw_g_std()
338 static int timblogiw_s_std(struct file *file, void *priv, v4l2_std_id std) in timblogiw_s_std() argument
350 err = v4l2_subdev_call(lw->sd_enc, video, s_std, std); in timblogiw_s_std()
353 fh->cur_norm = timblogiw_get_norm(std); in timblogiw_s_std()
376 inp->std = 0; in timblogiw_enuminput()
378 inp->std |= timblogiw_tvnorms[i].std; in timblogiw_enuminput()
436 static int timblogiw_querystd(struct file *file, void *priv, v4l2_std_id *std) in timblogiw_querystd() argument
445 return v4l2_subdev_call(lw->sd_enc, video, querystd, std); in timblogiw_querystd()
447 *std = fh->cur_norm->std; in timblogiw_querystd()
613 v4l2_std_id std; in timblogiw_open() local
658 timblogiw_querystd(file, fh, &std); in timblogiw_open()
659 fh->cur_norm = timblogiw_get_norm(std); in timblogiw_open()