Lines Matching refs:norm
52 .norm = V4L2_STD_525_60,
57 .norm = V4L2_STD_625_50,
63 static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm)
69 if (norm_params[i].norm & norm) {
80 usbtv->norm = norm;
124 static uint16_t usbtv_norm_to_16f_reg(v4l2_std_id norm)
127 if (norm & V4L2_STD_NTSC)
130 if (norm & V4L2_STD_PAL)
133 if (norm & V4L2_STD_SECAM)
135 if (norm & V4L2_STD_NTSC_443)
137 if (norm & (V4L2_STD_PAL_M | V4L2_STD_PAL_60))
139 if (norm & V4L2_STD_PAL_Nc)
145 static int usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm)
239 ret = usbtv_configure_for_norm(usbtv, norm);
249 if (norm & ntsc_mask)
251 else if (norm & pal_mask)
253 else if (norm & V4L2_STD_SECAM)
262 { USBTV_BASE + 0x016f, usbtv_norm_to_16f_reg(norm) }
340 ret = usbtv_select_norm(usbtv, usbtv->norm);
659 static int usbtv_g_std(struct file *file, void *priv, v4l2_std_id *norm)
662 *norm = usbtv->norm;
666 static int usbtv_s_std(struct file *file, void *priv, v4l2_std_id norm)
671 if (norm & USBTV_TV_STD)
672 ret = usbtv_select_norm(usbtv, norm);