Searched defs:norm (Results 1 - 25 of 57) sorted by relevance

123

/drivers/media/video/
H A Dths7303.c66 static int ths7303_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm) argument
68 return ths7303_setvalue(sd, norm);
H A Dvp27smpx.c85 static int vp27smpx_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument
H A Dbt856.c59 v4l2_std_id norm; member in struct:bt856
110 if (encoder->norm & V4L2_STD_NTSC)
127 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std);
138 encoder->norm = std;
224 encoder->norm = V4L2_STD_NTSC;
234 if (encoder->norm & V4L2_STD_NTSC)
H A Dadv7170.c56 v4l2_std_id norm; member in struct:adv7170
202 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std);
217 v4l2_dbg(1, debug, sd, "illegal norm: %llx\n",
222 encoder->norm = std;
367 encoder->norm = V4L2_STD_NTSC;
H A Dadv7175.c53 v4l2_std_id norm; member in struct:adv7175
235 v4l2_dbg(1, debug, sd, "illegal norm: %llx\n",
240 encoder->norm = std;
257 if (encoder->norm & V4L2_STD_NTSC)
261 if (encoder->norm & V4L2_STD_SECAM)
273 if (encoder->norm & V4L2_STD_NTSC)
286 if (encoder->norm & V4L2_STD_NTSC)
417 encoder->norm = V4L2_STD_NTSC;
H A Dsaa7110.c60 v4l2_std_id norm; member in struct:saa7110
206 return decoder->norm; /* no change*/
255 v4l2_dbg(1, debug, sd, "status=0x%02x norm=%llx\n",
256 status, (unsigned long long)decoder->norm);
276 if (decoder->norm != std) {
277 decoder->norm = std;
414 decoder->norm = V4L2_STD_PAL;
H A Dsaa7185.c52 v4l2_std_id norm; member in struct:saa7185
160 /* 0x61 - 0x66 set according to norm */
226 if (encoder->norm & V4L2_STD_NTSC)
243 encoder->norm = std;
332 encoder->norm = V4L2_STD_NTSC;
H A Dsaa7191.c56 v4l2_std_id norm; member in struct:saa7191
197 static int saa7191_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument
205 if (norm & V4L2_STD_PAL) {
209 } else if (norm & V4L2_STD_NTSC) {
214 } else if (norm & V4L2_STD_SECAM) {
232 decoder->norm = norm;
236 dprintk("norm: %llx\n", norm);
264 static int saa7191_querystd(struct v4l2_subdev *sd, v4l2_std_id *norm) argument
[all...]
H A Dbt819.c59 v4l2_std_id norm; member in struct:bt819
190 struct timing *timing = &timing_data[(decoder->norm & V4L2_STD_525_60) ? 1 : 0];
204 init[0x15 * 2 - 1] = (decoder->norm & V4L2_STD_625_50) ? 115 : 93; /* Chroma burst delay */
253 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std);
277 v4l2_dbg(1, debug, sd, "unsupported norm %llx\n",
292 decoder->norm = std;
457 decoder->norm = V4L2_STD_NTSC;
H A Dv4l2-ioctl.c1037 /* Return norm array in a canonical way */
1086 v4l2_std_id *id = arg, norm; local
1098 norm = (*id) & vfd->tvnorms;
1099 if (vfd->tvnorms && !norm) /* Check if std is supported */
1103 ret = ops->vidioc_s_std(file, fh, &norm);
1107 vfd->current_norm = norm;
H A Dvpx3220.c51 v4l2_std_id norm; member in struct:vpx3220
286 if (decoder->norm & V4L2_STD_NTSC)
288 else if (decoder->norm & V4L2_STD_PAL)
290 else if (decoder->norm & V4L2_STD_SECAM)
357 chosen video norm */
363 v4l2_dbg(1, debug, sd, "norm switched to NTSC\n");
366 v4l2_dbg(1, debug, sd, "norm switched to PAL\n");
369 v4l2_dbg(1, debug, sd, "norm switched to SECAM\n");
374 decoder->norm = std;
507 decoder->norm
[all...]
/drivers/staging/media/go7007/
H A Dwis-saa7113.c28 int norm; member in struct:wis_saa7113
138 dec->norm = *input;
139 if (dec->norm & V4L2_STD_NTSC) {
142 } else if (dec->norm & V4L2_STD_PAL) {
145 } else if (dec->norm * V4L2_STD_SECAM) {
278 dec->norm = V4L2_STD_NTSC;
H A Dwis-tw9903.c28 int norm; member in struct:wis_tw9903
60 0x1c, 0x0f, /* video norm */
61 0x1d, 0x7f, /* video norm */
122 int vscale = 256 * (dec->norm & V4L2_STD_NTSC ? 240 : 288)
148 dec->norm = *input;
285 dec->norm = V4L2_STD_NTSC;
H A Dwis-saa7115.c28 int norm; member in struct:wis_saa7115
224 int v_scaling_increment = (dec->norm & V4L2_STD_NTSC ?
281 dec->norm = *input;
411 dec->norm = V4L2_STD_NTSC;
H A Dwis-tw2804.c29 int norm; member in struct:wis_tw2804
176 dec->norm = *input;
307 dec->norm = V4L2_STD_NTSC;
/drivers/media/video/saa7134/
H A Dsaa7134-vbi.c53 struct saa7134_tvnorm *norm = dev->tvnorm; local
56 saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff);
57 saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8);
58 saa_writeb(SAA7134_VBI_H_STOP1(task), norm->h_stop & 0xff);
59 saa_writeb(SAA7134_VBI_H_STOP2(task), norm->h_stop >> 8);
60 saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 & 0xff);
61 saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8);
62 saa_writeb(SAA7134_VBI_V_STOP1(task), norm->vbi_v_stop_0 & 0xff);
63 saa_writeb(SAA7134_VBI_V_STOP2(task), norm->vbi_v_stop_0 >> 8);
123 struct saa7134_tvnorm *norm local
[all...]
/drivers/media/video/zoran/
H A Dzr36016.c272 // (no extra offset for now, norm defines offset, default width height)
314 struct tvnorm *norm,
321 ptr->name, norm->HStart, norm->VStart,
336 ptr->xoff = (norm->HStart ? norm->HStart : 1) + cap->x;
341 ptr->yoff = norm->VStart + cap->y;
313 zr36016_set_video(struct videocodec *codec, struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument
H A Dzr36050.c601 /* set picture size (norm is ignored as the codec doesn't know about it) */
604 struct tvnorm *norm,
612 ptr->name, norm->HStart, norm->VStart,
617 * we allow invalid startx/y and norm for now ... */
603 zr36050_set_video(struct videocodec *codec, struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument
H A Dzr36060.c592 /* set picture size (norm is ignored as the codec doesn't know about it) */
595 struct tvnorm *norm,
608 * we allow invalid startx/y and norm for now ... */
661 reg = norm->Ht - 1; /* Vtotal */
665 reg = norm->Wt - 1; /* Htotal */
673 ///*CP*/ reg = (zr->params.norm == 1 ? 57 : 68);
677 reg = norm->VStart - 1; /* BVstart */
680 reg += norm->Ha / 2; /* BVend */
684 reg = norm->HStart - 1; /* BHstart */
687 reg += norm
594 zr36060_set_video(struct videocodec *codec, struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument
[all...]
/drivers/gpu/drm/i2c/
H A Dch7006_drv.c123 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local
128 regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode;
234 ~mode->valid_norms & 1<<priv->norm)
269 priv->norm);
323 priv->norm = val;
465 priv->norm = TV_NORM_PAL;
480 priv->norm = i;
486 ch7006_err(client, "Invalid TV norm setting \"%s\".\n",
541 MODULE_PARM_DESC(tv_norm, "Default TV norm
[all...]
H A Dch7006_mode.c182 if (~mode->valid_norms & 1<<priv->norm)
205 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local
211 if (norm->black_level < 339*fixed1/1000) {
221 black_level = round_fixed(norm->black_level*26625)/gain;
236 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local
241 * (norm->subc_freq >> 24));
331 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local
[all...]
/drivers/media/video/bt8xx/
H A Dbttv-vbi.c419 void bttv_vbi_fmt_reset(struct bttv_vbi_fmt *f, unsigned int norm) argument
425 tvnorm = &bttv_tvnorms[norm];
/drivers/media/video/cx18/
H A Dcx18-gpio.c133 static int gpiomux_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument
/drivers/media/video/davinci/
H A Dvpbe_venc.c438 static int venc_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm) argument
442 if (norm & V4L2_STD_525_60)
444 else if (norm & V4L2_STD_625_50)
/drivers/video/matrox/
H A Dmatroxfb_g450.c360 static void cve2_init_TVdata(int norm, struct mavenregs* data, const struct output_desc** outd) { argument
492 if (norm == MATROXFB_OUTPUT_MODE_PAL) {

Completed in 316 milliseconds

123