Lines Matching refs:norm
541 static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm)
543 dprintk("set tv norm = %s\n",norm->name);
544 dev->tvnorm = norm;
547 dev->crop_bounds.left = norm->h_start;
548 dev->crop_defrect.left = norm->h_start;
549 dev->crop_bounds.width = norm->h_stop - norm->h_start +1;
550 dev->crop_defrect.width = norm->h_stop - norm->h_start +1;
552 dev->crop_bounds.top = (norm->vbi_v_stop_0+1)*2;
553 dev->crop_defrect.top = norm->video_v_start*2;
554 dev->crop_bounds.height = ((norm->id & V4L2_STD_525_60) ? 524 : 624)
556 dev->crop_defrect.height = (norm->video_v_stop - norm->video_v_start +1)*2;
576 struct saa7134_tvnorm *norm = dev->tvnorm;
579 luma_control = norm->luma_control;
580 sync_control = norm->sync_control;
596 saa_writeb(SAA7134_SOURCE_TIMING1, norm->src_timing);
609 saa_writeb(SAA7134_CHROMA_CTRL1, norm->chroma_ctrl1);
610 saa_writeb(SAA7134_CHROMA_GAIN, norm->chroma_gain);
612 saa_writeb(SAA7134_CHROMA_CTRL2, norm->chroma_ctrl2);
618 saa_writeb(SAA7134_MISC_VGATE_MSB, norm->vgate_misc);
629 /* Set the correct norm for the saa6752hs. This function
1556 struct saa7134_tvnorm *norm = dev->tvnorm;
1562 f->fmt.vbi.start[0] = norm->vbi_v_start_0;
1563 f->fmt.vbi.count[0] = norm->vbi_v_stop_0 - norm->vbi_v_start_0 +1;
1564 f->fmt.vbi.start[1] = norm->vbi_v_start_1;
2389 static int radio_s_std(struct file *file, void *fh, v4l2_std_id *norm)
2604 dprintk("DCSDT: pll: %s, sync: %s, norm: %s\n",