norm              309 arch/arc/include/asm/arcregs.h 		unsigned int swap:1, norm:1, minmax:1, barrel:1, crc:1, swape:1, pad1:2,
norm              123 drivers/gpu/drm/i2c/ch7006_drv.c 	const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm];
norm              128 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode;
norm              234 drivers/gpu/drm/i2c/ch7006_drv.c 		    ~mode->valid_norms & 1<<priv->norm)
norm              268 drivers/gpu/drm/i2c/ch7006_drv.c 				      priv->norm);
norm              322 drivers/gpu/drm/i2c/ch7006_drv.c 		priv->norm = val;
norm              454 drivers/gpu/drm/i2c/ch7006_drv.c 	priv->norm = TV_NORM_PAL;
norm              469 drivers/gpu/drm/i2c/ch7006_drv.c 				priv->norm = i;
norm              182 drivers/gpu/drm/i2c/ch7006_mode.c 		if (~mode->valid_norms & 1<<priv->norm)
norm              205 drivers/gpu/drm/i2c/ch7006_mode.c 	const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm];
norm              211 drivers/gpu/drm/i2c/ch7006_mode.c 	if (norm->black_level < 339*fixed1/1000) {
norm              221 drivers/gpu/drm/i2c/ch7006_mode.c 	black_level = round_fixed(norm->black_level*26625)/gain;
norm              236 drivers/gpu/drm/i2c/ch7006_mode.c 	const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm];
norm              241 drivers/gpu/drm/i2c/ch7006_mode.c 			       * (norm->subc_freq >> 24));
norm              331 drivers/gpu/drm/i2c/ch7006_mode.c 	const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm];
norm              346 drivers/gpu/drm/i2c/ch7006_mode.c 	scale = norm->vtotal*fixed1;
norm              352 drivers/gpu/drm/i2c/ch7006_mode.c 	hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale)
norm              353 drivers/gpu/drm/i2c/ch7006_mode.c 			   * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4;
norm              358 drivers/gpu/drm/i2c/ch7006_mode.c 	vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale)
norm              359 drivers/gpu/drm/i2c/ch7006_mode.c 		   + norm->voffset) * priv->vmargin / 100 / 2;
norm               92 drivers/gpu/drm/i2c/ch7006_priv.h 	enum ch7006_tv_norm norm;
norm              788 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_std(struct file *file, void *fh, v4l2_std_id *norm)
norm              793 drivers/media/common/saa7146/saa7146_video.c 	*norm = vv->standard->id;
norm               42 drivers/media/i2c/adv7170.c 	v4l2_std_id norm;
norm              208 drivers/media/i2c/adv7170.c 	encoder->norm = std;
norm              356 drivers/media/i2c/adv7170.c 	encoder->norm = V4L2_STD_NTSC;
norm               39 drivers/media/i2c/adv7175.c 	v4l2_std_id norm;
norm              226 drivers/media/i2c/adv7175.c 	encoder->norm = std;
norm              243 drivers/media/i2c/adv7175.c 		if (encoder->norm & V4L2_STD_NTSC)
norm              247 drivers/media/i2c/adv7175.c 		if (encoder->norm & V4L2_STD_SECAM)
norm              259 drivers/media/i2c/adv7175.c 		if (encoder->norm & V4L2_STD_NTSC)
norm              272 drivers/media/i2c/adv7175.c 		if (encoder->norm & V4L2_STD_NTSC)
norm              411 drivers/media/i2c/adv7175.c 	encoder->norm = V4L2_STD_NTSC;
norm              449 drivers/media/i2c/adv7180.c static int adv7180_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm              453 drivers/media/i2c/adv7180.c 	*norm = state->curr_norm;
norm              797 drivers/media/i2c/adv7180.c static int adv7180_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm              799 drivers/media/i2c/adv7180.c 	*norm = V4L2_STD_ALL;
norm              184 drivers/media/i2c/adv748x/adv748x-afe.c static int adv748x_afe_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm              188 drivers/media/i2c/adv748x/adv748x-afe.c 	*norm = afe->curr_norm;
norm              248 drivers/media/i2c/adv748x/adv748x-afe.c static int adv748x_afe_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm              250 drivers/media/i2c/adv748x/adv748x-afe.c 	*norm = V4L2_STD_ALL;
norm               99 drivers/media/i2c/adv7842.c 	v4l2_std_id norm;
norm             2089 drivers/media/i2c/adv7842.c 		if (state->norm & V4L2_STD_525_60)
norm             2938 drivers/media/i2c/adv7842.c static int adv7842_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm             2948 drivers/media/i2c/adv7842.c 	if (norm & V4L2_STD_625_50)
norm             2950 drivers/media/i2c/adv7842.c 	else if (norm & V4L2_STD_525_60)
norm             2955 drivers/media/i2c/adv7842.c 	if (norm & V4L2_STD_ALL) {
norm             2956 drivers/media/i2c/adv7842.c 		state->norm = norm;
norm             2962 drivers/media/i2c/adv7842.c static int adv7842_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm             2971 drivers/media/i2c/adv7842.c 	*norm = state->norm;
norm               45 drivers/media/i2c/bt819.c 	v4l2_std_id norm;
norm              175 drivers/media/i2c/bt819.c 	struct timing *timing = &timing_data[(decoder->norm & V4L2_STD_525_60) ? 1 : 0];
norm              189 drivers/media/i2c/bt819.c 	init[0x15 * 2 - 1] = (decoder->norm & V4L2_STD_625_50) ? 115 : 93;	/* Chroma burst delay */
norm              279 drivers/media/i2c/bt819.c 	decoder->norm = std;
norm              421 drivers/media/i2c/bt819.c 	decoder->norm = V4L2_STD_NTSC;
norm               45 drivers/media/i2c/bt856.c 	v4l2_std_id norm;
norm               96 drivers/media/i2c/bt856.c 	if (encoder->norm & V4L2_STD_NTSC)
norm              124 drivers/media/i2c/bt856.c 	encoder->norm = std;
norm              202 drivers/media/i2c/bt856.c 	encoder->norm = V4L2_STD_NTSC;
norm              212 drivers/media/i2c/bt856.c 	if (encoder->norm & V4L2_STD_NTSC)
norm              188 drivers/media/i2c/ks0127.c 	v4l2_std_id	norm;
norm              480 drivers/media/i2c/ks0127.c 		if (ks->norm & V4L2_STD_525_60)
norm              541 drivers/media/i2c/ks0127.c 	ks->norm = std;
norm               46 drivers/media/i2c/saa7110.c 	v4l2_std_id norm;
norm              242 drivers/media/i2c/saa7110.c 		       status, (unsigned long long)decoder->norm);
norm              262 drivers/media/i2c/saa7110.c 	if (decoder->norm != std) {
norm              263 drivers/media/i2c/saa7110.c 		decoder->norm = std;
norm              381 drivers/media/i2c/saa7110.c 	decoder->norm = V4L2_STD_PAL;
norm               38 drivers/media/i2c/saa7185.c 	v4l2_std_id norm;
norm              212 drivers/media/i2c/saa7185.c 	if (encoder->norm & V4L2_STD_NTSC)
norm              229 drivers/media/i2c/saa7185.c 	encoder->norm = std;
norm              310 drivers/media/i2c/saa7185.c 	encoder->norm = V4L2_STD_NTSC;
norm              139 drivers/media/i2c/ths7303.c static int ths7303_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              143 drivers/media/i2c/ths7303.c 	if (norm & (V4L2_STD_ALL & ~V4L2_STD_SECAM)) {
norm               64 drivers/media/i2c/tvp5150.c 	v4l2_std_id norm;	/* Current set standard */
norm              660 drivers/media/i2c/tvp5150.c 	v4l2_std_id std = decoder->norm;
norm              703 drivers/media/i2c/tvp5150.c 	v4l2_std_id std = decoder->norm;
norm              768 drivers/media/i2c/tvp5150.c 	*std = decoder->norm;
norm              777 drivers/media/i2c/tvp5150.c 	if (decoder->norm == std)
norm              786 drivers/media/i2c/tvp5150.c 	decoder->norm = std;
norm              918 drivers/media/i2c/tvp5150.c 	if (decoder->norm == V4L2_STD_ALL)
norm              921 drivers/media/i2c/tvp5150.c 		std = decoder->norm;
norm             1034 drivers/media/i2c/tvp5150.c 	if (decoder->norm == V4L2_STD_ALL)
norm             1037 drivers/media/i2c/tvp5150.c 		std = decoder->norm;
norm             1090 drivers/media/i2c/tvp5150.c 		if (decoder->norm == V4L2_STD_ALL)
norm             1093 drivers/media/i2c/tvp5150.c 			std = decoder->norm;
norm             1132 drivers/media/i2c/tvp5150.c 	if (decoder->norm == V4L2_STD_ALL) {
norm             1760 drivers/media/i2c/tvp5150.c 	core->norm = V4L2_STD_ALL;	/* Default is autodetect */
norm               32 drivers/media/i2c/tw2804.c 	int norm;
norm              145 drivers/media/i2c/tw2804.c 			state->norm & V4L2_STD_525_60 ? "60 Hz" : "50 Hz");
norm              250 drivers/media/i2c/tw2804.c static int tw2804_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              254 drivers/media/i2c/tw2804.c 	bool is_60hz = norm & V4L2_STD_525_60;
norm              270 drivers/media/i2c/tw2804.c 	dec->norm = norm;
norm              364 drivers/media/i2c/tw2804.c 	state->norm = V4L2_STD_NTSC;
norm               30 drivers/media/i2c/tw9903.c 	v4l2_std_id norm;
norm              114 drivers/media/i2c/tw9903.c static int tw9903_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              117 drivers/media/i2c/tw9903.c 	bool is_60hz = norm & V4L2_STD_525_60;
norm              134 drivers/media/i2c/tw9903.c 	dec->norm = norm;
norm              163 drivers/media/i2c/tw9903.c 	bool is_60hz = dec->norm & V4L2_STD_525_60;
norm              228 drivers/media/i2c/tw9903.c 	dec->norm = V4L2_STD_NTSC;
norm               21 drivers/media/i2c/tw9906.c 	v4l2_std_id norm;
norm               85 drivers/media/i2c/tw9906.c static int tw9906_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm               88 drivers/media/i2c/tw9906.c 	bool is_60hz = norm & V4L2_STD_525_60;
norm              105 drivers/media/i2c/tw9906.c 	dec->norm = norm;
norm              133 drivers/media/i2c/tw9906.c 	bool is_60hz = dec->norm & V4L2_STD_525_60;
norm              196 drivers/media/i2c/tw9906.c 	dec->norm = V4L2_STD_NTSC;
norm              235 drivers/media/i2c/tw9910.c 	v4l2_std_id			norm;
norm              428 drivers/media/i2c/tw9910.c static const struct tw9910_scale_ctrl *tw9910_select_norm(v4l2_std_id norm,
norm              436 drivers/media/i2c/tw9910.c 	if (norm & V4L2_STD_NTSC) {
norm              439 drivers/media/i2c/tw9910.c 	} else if (norm & V4L2_STD_PAL) {
norm              501 drivers/media/i2c/tw9910.c static int tw9910_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm              506 drivers/media/i2c/tw9910.c 	*norm = priv->norm;
norm              511 drivers/media/i2c/tw9910.c static int tw9910_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              521 drivers/media/i2c/tw9910.c 	if (!(norm & (V4L2_STD_NTSC | V4L2_STD_PAL)))
norm              524 drivers/media/i2c/tw9910.c 	priv->norm = norm;
norm              525 drivers/media/i2c/tw9910.c 	if (norm & V4L2_STD_525_60) {
norm              657 drivers/media/i2c/tw9910.c 	priv->scale = tw9910_select_norm(priv->norm, *width, *height);
norm              737 drivers/media/i2c/tw9910.c 	if (priv->norm & V4L2_STD_NTSC) {
norm              760 drivers/media/i2c/tw9910.c 		priv->scale = tw9910_select_norm(priv->norm, 640, 480);
norm              822 drivers/media/i2c/tw9910.c 	scale = tw9910_select_norm(priv->norm, mf->width, mf->height);
norm              871 drivers/media/i2c/tw9910.c 	priv->norm = V4L2_STD_NTSC;
norm              900 drivers/media/i2c/tw9910.c static int tw9910_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm)
norm              902 drivers/media/i2c/tw9910.c 	*norm = V4L2_STD_NTSC | V4L2_STD_PAL;
norm               71 drivers/media/i2c/vp27smpx.c static int vp27smpx_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm               37 drivers/media/i2c/vpx3220.c 	v4l2_std_id norm;
norm              271 drivers/media/i2c/vpx3220.c 	if (decoder->norm & V4L2_STD_NTSC)
norm              273 drivers/media/i2c/vpx3220.c 	else if (decoder->norm & V4L2_STD_PAL)
norm              275 drivers/media/i2c/vpx3220.c 	else if (decoder->norm & V4L2_STD_SECAM)
norm              361 drivers/media/i2c/vpx3220.c 	decoder->norm = std;
norm              478 drivers/media/i2c/vpx3220.c 	decoder->norm = V4L2_STD_PAL;
norm             1108 drivers/media/pci/bt8xx/bttv-driver.c bttv_crop_reset(struct bttv_crop *c, unsigned int norm)
norm             1110 drivers/media/pci/bt8xx/bttv-driver.c 	c->rect = bttv_tvnorms[norm].cropcap.defrect;
norm             1116 drivers/media/pci/bt8xx/bttv-driver.c set_tvnorm(struct bttv *btv, unsigned int norm)
norm             1121 drivers/media/pci/bt8xx/bttv-driver.c 	BUG_ON(norm >= BTTV_TVNORMS);
norm             1124 drivers/media/pci/bt8xx/bttv-driver.c 	tvnorm = &bttv_tvnorms[norm];
norm             1128 drivers/media/pci/bt8xx/bttv-driver.c 		bttv_crop_reset(&btv->crop[0], norm);
norm             1137 drivers/media/pci/bt8xx/bttv-driver.c 	btv->tvnorm = norm;
norm             1161 drivers/media/pci/bt8xx/bttv-driver.c set_input(struct bttv *btv, unsigned int input, unsigned int norm)
norm             1181 drivers/media/pci/bt8xx/bttv-driver.c 	set_tvnorm(btv, norm);
norm             1537 drivers/media/pci/bt8xx/bttv-driver.c 	int norm;
norm             1553 drivers/media/pci/bt8xx/bttv-driver.c 		norm = btv->tvnorm;
norm             1557 drivers/media/pci/bt8xx/bttv-driver.c 		if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) {
norm             1561 drivers/media/pci/bt8xx/bttv-driver.c 		c.rect = bttv_tvnorms[norm].cropcap.defrect;
norm             1563 drivers/media/pci/bt8xx/bttv-driver.c 		norm = btv->tvnorm;
norm             1595 drivers/media/pci/bt8xx/bttv-driver.c 	    buf->tvnorm != norm || buf->fmt != fmt ||
norm             1603 drivers/media/pci/bt8xx/bttv-driver.c 		buf->tvnorm    = norm;
norm              407 drivers/media/pci/bt8xx/bttv-vbi.c void bttv_vbi_fmt_reset(struct bttv_vbi_fmt *f, unsigned int norm)
norm              413 drivers/media/pci/bt8xx/bttv-vbi.c 	tvnorm = &bttv_tvnorms[norm];
norm              189 drivers/media/pci/bt8xx/bttvp.h void bttv_vbi_fmt_reset(struct bttv_vbi_fmt *f, unsigned int norm);
norm              840 drivers/media/pci/cx18/cx18-av-core.c static int cx18_av_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              848 drivers/media/pci/cx18/cx18-av-core.c 	if (state->radio == 0 && state->std == norm)
norm              852 drivers/media/pci/cx18/cx18-av-core.c 	state->std = norm;
norm              119 drivers/media/pci/cx18/cx18-gpio.c static int gpiomux_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              106 drivers/media/pci/cx23885/cx23885-video.c int cx23885_set_tvnorm(struct cx23885_dev *dev, v4l2_std_id norm)
norm              115 drivers/media/pci/cx23885/cx23885-video.c 		(unsigned int)norm,
norm              116 drivers/media/pci/cx23885/cx23885-video.c 		v4l2_norm_to_name(norm));
norm              118 drivers/media/pci/cx23885/cx23885-video.c 	if (dev->tvnorm == norm)
norm              121 drivers/media/pci/cx23885/cx23885-video.c 	if (dev->tvnorm != norm) {
norm              127 drivers/media/pci/cx23885/cx23885-video.c 	dev->tvnorm = norm;
norm              129 drivers/media/pci/cx23885/cx23885-video.c 	dev->height = norm_maxh(norm);
norm              132 drivers/media/pci/cx23885/cx23885-video.c 	call_all(dev, video, s_std, norm);
norm              583 drivers/media/pci/cx23885/cx23885.h int cx23885_set_tvnorm(struct cx23885_dev *dev, v4l2_std_id norm);
norm              631 drivers/media/pci/cx23885/cx23885.h static inline unsigned int norm_maxh(v4l2_std_id norm)
norm              633 drivers/media/pci/cx23885/cx23885.h 	return (norm & V4L2_STD_525_60) ? 480 : 576;
norm              617 drivers/media/pci/cx88/cx88-core.c static inline unsigned int norm_swidth(v4l2_std_id norm)
norm              619 drivers/media/pci/cx88/cx88-core.c 	return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 754 : 922;
norm              622 drivers/media/pci/cx88/cx88-core.c static inline unsigned int norm_hdelay(v4l2_std_id norm)
norm              624 drivers/media/pci/cx88/cx88-core.c 	return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 135 : 186;
norm              627 drivers/media/pci/cx88/cx88-core.c static inline unsigned int norm_vdelay(v4l2_std_id norm)
norm              629 drivers/media/pci/cx88/cx88-core.c 	return (norm & V4L2_STD_625_50) ? 0x24 : 0x18;
norm              632 drivers/media/pci/cx88/cx88-core.c static inline unsigned int norm_fsc8(v4l2_std_id norm)
norm              634 drivers/media/pci/cx88/cx88-core.c 	if (norm & V4L2_STD_PAL_M)
norm              637 drivers/media/pci/cx88/cx88-core.c 	if (norm & (V4L2_STD_PAL_Nc))
norm              640 drivers/media/pci/cx88/cx88-core.c 	if (norm & V4L2_STD_NTSC) // All NTSC/M and variants
norm              653 drivers/media/pci/cx88/cx88-core.c static inline unsigned int norm_htotal(v4l2_std_id norm)
norm              655 drivers/media/pci/cx88/cx88-core.c 	unsigned int fsc4 = norm_fsc8(norm) / 2;
norm              658 drivers/media/pci/cx88/cx88-core.c 	return (norm & V4L2_STD_625_50) ?
norm              663 drivers/media/pci/cx88/cx88-core.c static inline unsigned int norm_vbipack(v4l2_std_id norm)
norm              665 drivers/media/pci/cx88/cx88-core.c 	return (norm & V4L2_STD_625_50) ? 511 : 400;
norm              817 drivers/media/pci/cx88/cx88-core.c 	v4l2_std_id norm = core->tvnorm;
norm              823 drivers/media/pci/cx88/cx88-core.c 	if (V4L2_STD_PAL_BG & norm) {
norm              826 drivers/media/pci/cx88/cx88-core.c 	} else if (V4L2_STD_PAL_DK & norm) {
norm              829 drivers/media/pci/cx88/cx88-core.c 	} else if (V4L2_STD_PAL_I & norm) {
norm              832 drivers/media/pci/cx88/cx88-core.c 	} else if (V4L2_STD_SECAM_L & norm) {
norm              836 drivers/media/pci/cx88/cx88-core.c 		   norm) {
norm              839 drivers/media/pci/cx88/cx88-core.c 	} else if (V4L2_STD_SECAM_DK & norm) {
norm              842 drivers/media/pci/cx88/cx88-core.c 	} else if ((V4L2_STD_NTSC_M & norm) ||
norm              843 drivers/media/pci/cx88/cx88-core.c 		   (V4L2_STD_PAL_M  & norm)) {
norm              846 drivers/media/pci/cx88/cx88-core.c 	} else if (V4L2_STD_NTSC_M_JP & norm) {
norm              868 drivers/media/pci/cx88/cx88-core.c int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm)
norm              878 drivers/media/pci/cx88/cx88-core.c 	if (norm == core->tvnorm)
norm              885 drivers/media/pci/cx88/cx88-core.c 	core->tvnorm = norm;
norm              886 drivers/media/pci/cx88/cx88-core.c 	fsc8       = norm_fsc8(norm);
norm              892 drivers/media/pci/cx88/cx88-core.c 	if (norm & V4L2_STD_NTSC_M_JP) {
norm              895 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_NTSC_443) {
norm              898 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_PAL_M) {
norm              901 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_PAL_N) {
norm              904 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_PAL_Nc) {
norm              907 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_PAL_60) {
norm              910 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_NTSC) {
norm              913 drivers/media/pci/cx88/cx88-core.c 	} else if (norm & V4L2_STD_SECAM) {
norm              936 drivers/media/pci/cx88/cx88-core.c 		 norm & V4L2_STD_SECAM ? cxiformat : cxiformat | 0x400);
norm              974 drivers/media/pci/cx88/cx88-core.c 	tmp64 = norm_htotal(norm) * (u64)vdec_clock;
norm              984 drivers/media/pci/cx88/cx88-core.c 	cx_write(MO_VBI_PACKET, (10 << 11) | norm_vbipack(norm));
norm              993 drivers/media/pci/cx88/cx88-core.c 	call_all(core, video, s_std, norm);
norm               88 drivers/media/pci/cx88/cx88.h static inline unsigned int norm_maxw(v4l2_std_id norm)
norm               93 drivers/media/pci/cx88/cx88.h static inline unsigned int norm_maxh(v4l2_std_id norm)
norm               95 drivers/media/pci/cx88/cx88.h 	return (norm & V4L2_STD_525_60) ? 480 : 576;
norm              640 drivers/media/pci/cx88/cx88.h int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm);
norm              326 drivers/media/pci/dt3155/dt3155.c static int dt3155_g_std(struct file *filp, void *p, v4l2_std_id *norm)
norm              330 drivers/media/pci/dt3155/dt3155.c 	*norm = pd->std;
norm              334 drivers/media/pci/dt3155/dt3155.c static int dt3155_s_std(struct file *filp, void *p, v4l2_std_id norm)
norm              338 drivers/media/pci/dt3155/dt3155.c 	if (pd->std == norm)
norm              342 drivers/media/pci/dt3155/dt3155.c 	pd->std = norm;
norm              385 drivers/media/pci/saa7134/saa7134-go7007.c static int saa7134_go7007_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              391 drivers/media/pci/saa7134/saa7134-go7007.c 	return saa7134_s_std_internal(dev, NULL, norm);
norm               42 drivers/media/pci/saa7134/saa7134-vbi.c 	struct saa7134_tvnorm *norm = dev->tvnorm;
norm               45 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start     &  0xff);
norm               46 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start     >> 8);
norm               47 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_H_STOP1(task),  norm->h_stop      &  0xff);
norm               48 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_H_STOP2(task),  norm->h_stop      >> 8);
norm               49 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 &  0xff);
norm               50 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8);
norm               51 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_V_STOP1(task),  norm->vbi_v_stop_0  &  0xff);
norm               52 drivers/media/pci/saa7134/saa7134-vbi.c 	saa_writeb(SAA7134_VBI_V_STOP2(task),  norm->vbi_v_stop_0  >> 8);
norm              361 drivers/media/pci/saa7134/saa7134-video.c static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm)
norm              363 drivers/media/pci/saa7134/saa7134-video.c 	video_dbg("set tv norm = %s\n", norm->name);
norm              364 drivers/media/pci/saa7134/saa7134-video.c 	dev->tvnorm = norm;
norm              367 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_bounds.left    = norm->h_start;
norm              368 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_defrect.left   = norm->h_start;
norm              369 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_bounds.width   = norm->h_stop - norm->h_start +1;
norm              370 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_defrect.width  = norm->h_stop - norm->h_start +1;
norm              372 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_bounds.top     = (norm->vbi_v_stop_0+1)*2;
norm              373 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_defrect.top    = norm->video_v_start*2;
norm              374 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_bounds.height  = ((norm->id & V4L2_STD_525_60) ? 524 : 624)
norm              376 drivers/media/pci/saa7134/saa7134-video.c 	dev->crop_defrect.height = (norm->video_v_stop - norm->video_v_start +1)*2;
norm              397 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_tvnorm *norm = dev->tvnorm;
norm              400 drivers/media/pci/saa7134/saa7134-video.c 	luma_control = norm->luma_control;
norm              401 drivers/media/pci/saa7134/saa7134-video.c 	sync_control = norm->sync_control;
norm              402 drivers/media/pci/saa7134/saa7134-video.c 	chroma_ctrl1 = norm->chroma_ctrl1;
norm              424 drivers/media/pci/saa7134/saa7134-video.c 	saa_writeb(SAA7134_SOURCE_TIMING1,        norm->src_timing);
norm              438 drivers/media/pci/saa7134/saa7134-video.c 	saa_writeb(SAA7134_CHROMA_GAIN,           norm->chroma_gain);
norm              440 drivers/media/pci/saa7134/saa7134-video.c 	saa_writeb(SAA7134_CHROMA_CTRL2,          norm->chroma_ctrl2);
norm              446 drivers/media/pci/saa7134/saa7134-video.c 	saa_writeb(SAA7134_MISC_VGATE_MSB,        norm->vgate_misc);
norm             1229 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_tvnorm *norm = dev->tvnorm;
norm             1236 drivers/media/pci/saa7134/saa7134-video.c 	f->fmt.vbi.start[0] = norm->vbi_v_start_0;
norm             1237 drivers/media/pci/saa7134/saa7134-video.c 	f->fmt.vbi.count[0] = norm->vbi_v_stop_0 - norm->vbi_v_start_0 +1;
norm             1238 drivers/media/pci/saa7134/saa7134-video.c 	f->fmt.vbi.start[1] = norm->vbi_v_start_1;
norm              567 drivers/media/pci/saa7146/mxb.c static int vidioc_querystd(struct file *file, void *fh, v4l2_std_id *norm)
norm              571 drivers/media/pci/saa7146/mxb.c 	return call_all(dev, video, querystd, norm);
norm              211 drivers/media/pci/tw68/tw68-video.c static void set_tvnorm(struct tw68_dev *dev, const struct tw68_tvnorm *norm)
norm              213 drivers/media/pci/tw68/tw68-video.c 	if (norm != dev->tvnorm) {
norm              215 drivers/media/pci/tw68/tw68-video.c 		dev->height = (norm->id & V4L2_STD_525_60) ? 480 : 576;
norm              216 drivers/media/pci/tw68/tw68-video.c 		dev->tvnorm = norm;
norm              253 drivers/media/pci/tw68/tw68-video.c 	const struct tw68_tvnorm *norm = dev->tvnorm;
norm              265 drivers/media/pci/tw68/tw68-video.c 		norm->h_delay, norm->h_start, norm->h_stop,
norm              266 drivers/media/pci/tw68/tw68-video.c 		norm->v_delay, norm->video_v_start,
norm              267 drivers/media/pci/tw68/tw68-video.c 		norm->video_v_stop);
norm              271 drivers/media/pci/tw68/tw68-video.c 		hdelay = norm->h_delay0;
norm              274 drivers/media/pci/tw68/tw68-video.c 		hdelay = norm->h_delay;
norm              278 drivers/media/pci/tw68/tw68-video.c 	hdelay += norm->h_start;
norm              279 drivers/media/pci/tw68/tw68-video.c 	hactive = norm->h_stop - norm->h_start + 1;
norm              283 drivers/media/pci/tw68/tw68-video.c 	vdelay = norm->v_delay;
norm              284 drivers/media/pci/tw68/tw68-video.c 	vactive = ((norm->id & V4L2_STD_525_60) ? 524 : 624) / 2 - norm->video_v_start;
norm              466 drivers/media/platform/davinci/vpbe_venc.c static int venc_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              470 drivers/media/platform/davinci/vpbe_venc.c 	if (norm & V4L2_STD_525_60)
norm              472 drivers/media/platform/davinci/vpbe_venc.c 	else if (norm & V4L2_STD_625_50)
norm              404 drivers/media/tuners/tda9887.c 	struct tvnorm *norm = NULL;
norm              410 drivers/media/tuners/tda9887.c 			norm = &radio_mono;
norm              412 drivers/media/tuners/tda9887.c 			norm = &radio_stereo;
norm              416 drivers/media/tuners/tda9887.c 				norm = tvnorms+i;
norm              421 drivers/media/tuners/tda9887.c 	if (NULL == norm) {
norm              426 drivers/media/tuners/tda9887.c 	tuner_dbg("configure for: %s\n", norm->name);
norm              427 drivers/media/tuners/tda9887.c 	buf[1] = norm->b;
norm              428 drivers/media/tuners/tda9887.c 	buf[2] = norm->c;
norm              429 drivers/media/tuners/tda9887.c 	buf[3] = norm->e;
norm             1267 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
norm             1274 drivers/media/usb/au0828/au0828-video.c 	if (norm == dev->std)
norm             1280 drivers/media/usb/au0828/au0828-video.c 	dev->std = norm;
norm             1292 drivers/media/usb/au0828/au0828-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, norm);
norm             1299 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
norm             1306 drivers/media/usb/au0828/au0828-video.c 	*norm = dev->std;
norm             1534 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_g_std(struct file *file, void *fh0, v4l2_std_id *norm)
norm             1539 drivers/media/usb/cx231xx/cx231xx-417.c 	*norm = dev->encodernorm.id;
norm             1558 drivers/media/usb/cx231xx/cx231xx-417.c 		dev->norm = V4L2_STD_NTSC;
norm             1563 drivers/media/usb/cx231xx/cx231xx-417.c 		dev->norm = V4L2_STD_PAL_B;
norm             1567 drivers/media/usb/cx231xx/cx231xx-417.c 	call_all(dev, video, s_std, dev->norm);
norm             2012 drivers/media/usb/cx231xx/cx231xx-417.c 	dev->norm = V4L2_STD_NTSC;
norm              817 drivers/media/usb/cx231xx/cx231xx-avcore.c 			status = cx231xx_dif_set_standard(dev, dev->norm);
norm              964 drivers/media/usb/cx231xx/cx231xx-avcore.c 		__func__, (unsigned int)dev->norm);
norm              969 drivers/media/usb/cx231xx/cx231xx-avcore.c 	if (dev->norm & (V4L2_STD_NTSC | V4L2_STD_PAL_M)) {
norm              996 drivers/media/usb/cx231xx/cx231xx-avcore.c 	} else if (dev->norm & V4L2_STD_SECAM) {
norm             1530 drivers/media/usb/cx231xx/cx231xx-avcore.c 	standard = dev->norm;
norm             1732 drivers/media/usb/cx231xx/cx231xx-avcore.c 		dev->norm = standard;
norm             2138 drivers/media/usb/cx231xx/cx231xx-avcore.c 	if (dev->norm & (V4L2_STD_SECAM_L | V4L2_STD_SECAM_B |
norm               98 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              138 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              178 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              219 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              249 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              290 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              318 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              346 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              376 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              411 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL_M,
norm              449 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC_M,
norm              488 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL_M,
norm              517 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              575 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              610 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              640 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              666 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              707 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              746 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              785 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              815 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              839 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              870 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_NTSC,
norm              896 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              931 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_PAL,
norm              971 drivers/media/usb/cx231xx/cx231xx-cards.c 		.norm = V4L2_STD_ALL,
norm             1449 drivers/media/usb/cx231xx/cx231xx-cards.c 	dev->norm = dev->board.norm;
norm              410 drivers/media/usb/cx231xx/cx231xx-dvb.c 			params.std = dev->norm;
norm              164 drivers/media/usb/cx231xx/cx231xx-vbi.c 	height = ((dev->norm & V4L2_STD_625_50) ?
norm              214 drivers/media/usb/cx231xx/cx231xx-vbi.c 	height = ((dev->norm & V4L2_STD_625_50) ?
norm              401 drivers/media/usb/cx231xx/cx231xx-vbi.c 	dma_q->lines_per_field = ((dev->norm & V4L2_STD_625_50) ?
norm              690 drivers/media/usb/cx231xx/cx231xx-vbi.c 	height = ((dev->norm & V4L2_STD_625_50) ?
norm             1042 drivers/media/usb/cx231xx/cx231xx-video.c 	*id = dev->norm;
norm             1046 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
norm             1059 drivers/media/usb/cx231xx/cx231xx-video.c 	if (dev->norm == norm)
norm             1065 drivers/media/usb/cx231xx/cx231xx-video.c 	dev->norm = norm;
norm             1069 drivers/media/usb/cx231xx/cx231xx-video.c 	dev->height = (dev->norm & V4L2_STD_625_50) ? 576 : 480;
norm             1071 drivers/media/usb/cx231xx/cx231xx-video.c 	call_all(dev, video, s_std, dev->norm);
norm             1215 drivers/media/usb/cx231xx/cx231xx-video.c 		call_all(dev, video, s_std, dev->norm);
norm             1308 drivers/media/usb/cx231xx/cx231xx-video.c 		if (dev->norm & (V4L2_STD_MN | V4L2_STD_NTSC_443))
norm             1310 drivers/media/usb/cx231xx/cx231xx-video.c 		else if (dev->norm & V4L2_STD_B)
norm             1312 drivers/media/usb/cx231xx/cx231xx-video.c 		else if (dev->norm & (V4L2_STD_PAL_DK | V4L2_STD_SECAM_DK))
norm             1314 drivers/media/usb/cx231xx/cx231xx-video.c 		else if (dev->norm & V4L2_STD_GH)
norm             1316 drivers/media/usb/cx231xx/cx231xx-video.c 		else if (dev->norm & V4L2_STD_PAL_I)
norm             1318 drivers/media/usb/cx231xx/cx231xx-video.c 		else if (dev->norm & V4L2_STD_SECAM_L)
norm             1320 drivers/media/usb/cx231xx/cx231xx-video.c 		else if (dev->norm & V4L2_STD_SECAM_LC)
norm             1477 drivers/media/usb/cx231xx/cx231xx-video.c 	bool is_50hz = dev->norm & V4L2_STD_625_50;
norm             1597 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.start[0] = (dev->norm & V4L2_STD_625_50) ?
norm             1599 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.count[0] = (dev->norm & V4L2_STD_625_50) ?
norm             1601 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.start[1] = (dev->norm & V4L2_STD_625_50) ?
norm             1621 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.start[0] = (dev->norm & V4L2_STD_625_50) ?
norm             1623 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.count[0] = (dev->norm & V4L2_STD_625_50) ?
norm             1625 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.start[1] = (dev->norm & V4L2_STD_625_50) ?
norm             2183 drivers/media/usb/cx231xx/cx231xx-video.c 	dev->norm = V4L2_STD_PAL;
norm             2194 drivers/media/usb/cx231xx/cx231xx-video.c 	call_all(dev, video, s_std, dev->norm);
norm              330 drivers/media/usb/cx231xx/cx231xx.h 	v4l2_std_id norm;	/* tv norm */
norm              629 drivers/media/usb/cx231xx/cx231xx.h 	v4l2_std_id norm;	/* selected tv norm */
norm              996 drivers/media/usb/cx231xx/cx231xx.h 		return (dev->norm & V4L2_STD_625_50) ? 576 : 480;
norm              724 drivers/media/usb/dvb-usb/cxusb-analog.c static u32 cxusb_medion_norm2field_order(v4l2_std_id norm)
norm              726 drivers/media/usb/dvb-usb/cxusb-analog.c 	bool is625 = norm & V4L2_STD_625_50;
norm              727 drivers/media/usb/dvb-usb/cxusb-analog.c 	bool is525 = norm & V4L2_STD_525_60;
norm              746 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_std_id norm;
norm              752 drivers/media/usb/dvb-usb/cxusb-analog.c 	field = cxusb_medion_norm2field_order(cxdev->norm);
norm              756 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, g_std, &norm);
norm              762 drivers/media/usb/dvb-usb/cxusb-analog.c 		field = cxusb_medion_norm2field_order(norm);
norm             1130 drivers/media/usb/dvb-usb/cxusb-analog.c 				 v4l2_std_id norm)
norm             1138 drivers/media/usb/dvb-usb/cxusb-analog.c 		      (unsigned long)norm);
norm             1141 drivers/media/usb/dvb-usb/cxusb-analog.c 	if (norm == V4L2_STD_UNKNOWN)
norm             1146 drivers/media/usb/dvb-usb/cxusb-analog.c 		ret = v4l2_subdev_call(cxdev->cx25840, video, s_std, norm);
norm             1154 drivers/media/usb/dvb-usb/cxusb-analog.c 	if ((norm & ~V4L2_STD_PAL) != 0)
norm             1157 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->tda9887, video, s_std, norm);
norm             1165 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->tuner, video, s_std, norm);
norm             1173 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, s_std, norm);
norm             1182 drivers/media/usb/dvb-usb/cxusb-analog.c 	cxdev->norm = norm;
norm             1193 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_std_id norm;
norm             1206 drivers/media/usb/dvb-usb/cxusb-analog.c 	norm = cxdev->norm & cxusb_medion_inputs[i].input.std;
norm             1207 drivers/media/usb/dvb-usb/cxusb-analog.c 	if (norm == 0)
norm             1208 drivers/media/usb/dvb-usb/cxusb-analog.c 		norm = cxusb_medion_inputs[i].input.std;
norm             1210 drivers/media/usb/dvb-usb/cxusb-analog.c 	cxusb_medion_set_norm(cxdev, norm);
norm             1296 drivers/media/usb/dvb-usb/cxusb-analog.c 		v4l2_subdev_call(cxdev->cx25840, video, s_std, cxdev->norm);
norm             1339 drivers/media/usb/dvb-usb/cxusb-analog.c 		v4l2_subdev_call(cxdev->cx25840, video, s_std, cxdev->norm);
norm             1347 drivers/media/usb/dvb-usb/cxusb-analog.c 			      v4l2_std_id *norm)
norm             1352 drivers/media/usb/dvb-usb/cxusb-analog.c 	*norm = cxdev->norm;
norm             1354 drivers/media/usb/dvb-usb/cxusb-analog.c 	if (*norm == V4L2_STD_UNKNOWN)
norm             1361 drivers/media/usb/dvb-usb/cxusb-analog.c 			      v4l2_std_id norm)
norm             1366 drivers/media/usb/dvb-usb/cxusb-analog.c 	return cxusb_medion_set_norm(cxdev, norm);
norm             1370 drivers/media/usb/dvb-usb/cxusb-analog.c 				 v4l2_std_id *norm)
norm             1386 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, querystd, norm);
norm             1395 drivers/media/usb/dvb-usb/cxusb-analog.c 		      (unsigned int)cxdev->input, (unsigned long)*norm);
norm             1396 drivers/media/usb/dvb-usb/cxusb-analog.c 	*norm &= norm_mask;
norm             1494 drivers/media/usb/dvb-usb/cxusb-analog.c 	cxdev->norm = V4L2_STD_PAL;
norm             1506 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->tda9887, video, s_std, cxdev->norm);
norm             1507 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->tuner, video, s_std, cxdev->norm);
norm             1508 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->cx25840, video, s_std, cxdev->norm);
norm              137 drivers/media/usb/dvb-usb/cxusb.h 	v4l2_std_id norm;
norm              159 drivers/media/usb/em28xx/em28xx-video.c 	return (v4l2->norm & V4L2_STD_625_50) ? 576 : 480;
norm              245 drivers/media/usb/em28xx/em28xx-video.c 		if (v4l2->norm & V4L2_STD_525_60) {
norm              248 drivers/media/usb/em28xx/em28xx-video.c 		} else if (v4l2->norm & V4L2_STD_625_50) {
norm              331 drivers/media/usb/em28xx/em28xx-video.c 	if (v4l2->norm & V4L2_STD_525_60)
norm             1555 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
norm             1559 drivers/media/usb/em28xx/em28xx-video.c 	*norm = dev->v4l2->norm;
norm             1564 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm)
norm             1568 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, video, querystd, norm);
norm             1573 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
norm             1579 drivers/media/usb/em28xx/em28xx-video.c 	if (norm == v4l2->norm)
norm             1585 drivers/media/usb/em28xx/em28xx-video.c 	v4l2->norm = norm;
norm             1589 drivers/media/usb/em28xx/em28xx-video.c 	f.fmt.pix.height = (norm & V4L2_STD_525_60) ? 480 : 576;
norm             1599 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm);
norm             1624 drivers/media/usb/em28xx/em28xx-video.c 		v4l2_video_std_frame_period(v4l2->norm,
norm             2071 drivers/media/usb/em28xx/em28xx-video.c 	if (v4l2->norm & V4L2_STD_525_60) {
norm             2075 drivers/media/usb/em28xx/em28xx-video.c 	} else if (v4l2->norm & V4L2_STD_625_50) {
norm             2688 drivers/media/usb/em28xx/em28xx-video.c 	v4l2->norm = V4L2_STD_PAL;
norm             2689 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm);
norm              578 drivers/media/usb/em28xx/em28xx.h 	v4l2_std_id norm;	/* selected tv norm */
norm              344 drivers/media/usb/go7007/s2250-board.c static int s2250_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
norm              351 drivers/media/usb/go7007/s2250-board.c 	if (norm & V4L2_STD_625_50) {
norm              359 drivers/media/usb/go7007/s2250-board.c 	state->std = norm;
norm              429 drivers/media/usb/gspca/pac7302.c 	unsigned int norm;
norm              432 drivers/media/usb/gspca/pac7302.c 	norm = k * (rgb_ctrl_val - PAC7302_RGB_BALANCE_MIN)
norm              435 drivers/media/usb/gspca/pac7302.c 	return 64 * norm * norm / (k*k)  +  32 * norm / k  +  32;
norm              110 drivers/media/usb/stk1160/stk1160-v4l.c 	if (dev->norm & V4L2_STD_525_60) {
norm              378 drivers/media/usb/stk1160/stk1160-v4l.c 	base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576;
norm              500 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm)
norm              503 drivers/media/usb/stk1160/stk1160-v4l.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, querystd, norm);
norm              507 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
norm              511 drivers/media/usb/stk1160/stk1160-v4l.c 	*norm = dev->norm;
norm              515 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
norm              520 drivers/media/usb/stk1160/stk1160-v4l.c 	if (dev->norm == norm)
norm              532 drivers/media/usb/stk1160/stk1160-v4l.c 	dev->height = (norm & V4L2_STD_525_60) ? 480 : 576;
norm              533 drivers/media/usb/stk1160/stk1160-v4l.c 	dev->norm = norm;
norm              541 drivers/media/usb/stk1160/stk1160-v4l.c 			dev->norm);
norm              821 drivers/media/usb/stk1160/stk1160-v4l.c 	dev->norm = V4L2_STD_NTSC_M;
norm              830 drivers/media/usb/stk1160/stk1160-v4l.c 			dev->norm);
norm              141 drivers/media/usb/stk1160/stk1160.h 	v4l2_std_id norm;	  /* current norm */
norm             1102 drivers/media/usb/tm6000/tm6000-cards.c 	dev->norm = V4L2_STD_NTSC_M;
norm             1108 drivers/media/usb/tm6000/tm6000-cards.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm);
norm              353 drivers/media/usb/tm6000/tm6000-stds.c 	if ((dev->norm & V4L2_STD_NTSC) == V4L2_STD_NTSC_M_KR) {
norm              355 drivers/media/usb/tm6000/tm6000-stds.c 	} else if ((dev->norm & V4L2_STD_NTSC) == V4L2_STD_NTSC_M_JP) {
norm              357 drivers/media/usb/tm6000/tm6000-stds.c 	} else if (dev->norm & V4L2_STD_MN) {
norm              362 drivers/media/usb/tm6000/tm6000-stds.c 		if ((dev->norm & V4L2_STD_SECAM) == V4L2_STD_SECAM_L)
norm              369 drivers/media/usb/tm6000/tm6000-stds.c 		if (dev->norm & V4L2_STD_DK)
norm              376 drivers/media/usb/tm6000/tm6000-stds.c 		if (dev->norm & V4L2_STD_DK) {
norm              378 drivers/media/usb/tm6000/tm6000-stds.c 		} else if (dev->norm & V4L2_STD_PAL_I) {
norm              380 drivers/media/usb/tm6000/tm6000-stds.c 		} else if (dev->norm & V4L2_STD_SECAM_L) {
norm              389 drivers/media/usb/tm6000/tm6000-stds.c 		if (dev->norm & V4L2_STD_DK) {
norm              437 drivers/media/usb/tm6000/tm6000-stds.c 	if (dev->norm & V4L2_STD_525_60)
norm              595 drivers/media/usb/tm6000/tm6000-stds.c 			if (dev->norm & svideo_stds[i].id) {
norm              603 drivers/media/usb/tm6000/tm6000-stds.c 			if (dev->norm & composite_stds[i].id) {
norm             1029 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
norm             1035 drivers/media/usb/tm6000/tm6000-video.c 	dev->norm = norm;
norm             1044 drivers/media/usb/tm6000/tm6000-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm);
norm             1049 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
norm             1054 drivers/media/usb/tm6000/tm6000-video.c 	*norm = dev->norm;
norm             1116 drivers/media/usb/tm6000/tm6000-video.c 	rc = vidioc_s_std(file, priv, dev->norm);
norm              170 drivers/media/usb/tm6000/tm6000.h 	v4l2_std_id                     norm;           /* Current norm */
norm               52 drivers/media/usb/usbtv/usbtv-video.c 		.norm = V4L2_STD_525_60,
norm               57 drivers/media/usb/usbtv/usbtv-video.c 		.norm = V4L2_STD_625_50,
norm               63 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm)
norm               69 drivers/media/usb/usbtv/usbtv-video.c 		if (norm_params[i].norm & norm) {
norm               80 drivers/media/usb/usbtv/usbtv-video.c 		usbtv->norm = norm;
norm              124 drivers/media/usb/usbtv/usbtv-video.c static uint16_t usbtv_norm_to_16f_reg(v4l2_std_id norm)
norm              127 drivers/media/usb/usbtv/usbtv-video.c 	if (norm & V4L2_STD_NTSC)
norm              130 drivers/media/usb/usbtv/usbtv-video.c 	if (norm & V4L2_STD_PAL)
norm              133 drivers/media/usb/usbtv/usbtv-video.c 	if (norm & V4L2_STD_SECAM)
norm              135 drivers/media/usb/usbtv/usbtv-video.c 	if (norm & V4L2_STD_NTSC_443)
norm              137 drivers/media/usb/usbtv/usbtv-video.c 	if (norm & (V4L2_STD_PAL_M | V4L2_STD_PAL_60))
norm              143 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm)
norm              237 drivers/media/usb/usbtv/usbtv-video.c 	ret = usbtv_configure_for_norm(usbtv, norm);
norm              246 drivers/media/usb/usbtv/usbtv-video.c 		if (norm & ntsc_mask)
norm              248 drivers/media/usb/usbtv/usbtv-video.c 		else if (norm & pal_mask)
norm              250 drivers/media/usb/usbtv/usbtv-video.c 		else if (norm & V4L2_STD_SECAM)
norm              259 drivers/media/usb/usbtv/usbtv-video.c 			{ USBTV_BASE + 0x016f, usbtv_norm_to_16f_reg(norm) }
norm              337 drivers/media/usb/usbtv/usbtv-video.c 	ret = usbtv_select_norm(usbtv, usbtv->norm);
norm              656 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_g_std(struct file *file, void *priv, v4l2_std_id *norm)
norm              659 drivers/media/usb/usbtv/usbtv-video.c 	*norm = usbtv->norm;
norm              663 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_s_std(struct file *file, void *priv, v4l2_std_id norm)
norm              668 drivers/media/usb/usbtv/usbtv-video.c 	if (norm & USBTV_TV_STD)
norm              669 drivers/media/usb/usbtv/usbtv-video.c 		ret = usbtv_select_norm(usbtv, norm);
norm               75 drivers/media/usb/usbtv/usbtv.h 	v4l2_std_id norm;
norm              111 drivers/media/usb/usbtv/usbtv.h 	v4l2_std_id norm;
norm             1892 drivers/media/v4l2-core/v4l2-ioctl.c 	v4l2_std_id id = *(v4l2_std_id *)arg, norm;
norm             1898 drivers/media/v4l2-core/v4l2-ioctl.c 	norm = id & vfd->tvnorms;
norm             1899 drivers/media/v4l2-core/v4l2-ioctl.c 	if (vfd->tvnorms && !norm)	/* Check if std is supported */
norm             1903 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_std(file, fh, norm);
norm              295 drivers/staging/most/video/video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
norm              297 drivers/staging/most/video/video.c 	*norm = V4L2_STD_UNKNOWN;
norm              361 drivers/video/fbdev/matrox/matroxfb_g450.c static void cve2_init_TVdata(int norm, struct mavenregs* data, const struct output_desc** outd) {
norm              493 drivers/video/fbdev/matrox/matroxfb_g450.c 	if (norm == MATROXFB_OUTPUT_MODE_PAL) {
norm              696 fs/ext4/dir.c  	unsigned char *norm;
norm              702 fs/ext4/dir.c  	norm = kmalloc(PATH_MAX, GFP_ATOMIC);
norm              703 fs/ext4/dir.c  	if (!norm)
norm              706 fs/ext4/dir.c  	len = utf8_casefold(um, str, norm, PATH_MAX);
norm              712 fs/ext4/dir.c  	str->hash = full_name_hash(dentry, norm, len);
norm              714 fs/ext4/dir.c  	kfree(norm);
norm             1088 fs/f2fs/dir.c  	unsigned char *norm;
norm             1094 fs/f2fs/dir.c  	norm = f2fs_kmalloc(sbi, PATH_MAX, GFP_ATOMIC);
norm             1095 fs/f2fs/dir.c  	if (!norm)
norm             1098 fs/f2fs/dir.c  	len = utf8_casefold(um, str, norm, PATH_MAX);
norm             1104 fs/f2fs/dir.c  	str->hash = full_name_hash(dentry, norm, len);
norm             1106 fs/f2fs/dir.c  	kvfree(norm);
norm              443 include/media/v4l2-ioctl.h 	int (*vidioc_g_std)(struct file *file, void *fh, v4l2_std_id *norm);
norm              444 include/media/v4l2-ioctl.h 	int (*vidioc_s_std)(struct file *file, void *fh, v4l2_std_id norm);
norm              418 include/media/v4l2-subdev.h 	int (*g_std)(struct v4l2_subdev *sd, v4l2_std_id *norm);
norm              419 include/media/v4l2-subdev.h 	int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
norm             1401 kernel/rcu/tree.c 		rdp->cpu_no_qs.b.norm = need_gp;
norm             1958 kernel/rcu/tree.c 	if (rdp->cpu_no_qs.b.norm || rdp->gp_seq != rnp->gp_seq ||
norm             1967 kernel/rcu/tree.c 		rdp->cpu_no_qs.b.norm = true;	/* need qs for new gp. */
norm             2013 kernel/rcu/tree.c 	if (rdp->cpu_no_qs.b.norm)
norm             2807 kernel/rcu/tree.c 	if (rdp->core_needs_qs && !rdp->cpu_no_qs.b.norm)
norm             3046 kernel/rcu/tree.c 	rdp->cpu_no_qs.b.norm = true;
norm              142 kernel/rcu/tree.h 		u8 norm;
norm              266 kernel/rcu/tree_plugin.h 		__this_cpu_write(rcu_data.cpu_no_qs.b.norm, false);
norm              707 kernel/rcu/tree_plugin.h 	    __this_cpu_read(rcu_data.cpu_no_qs.b.norm) &&
norm              804 kernel/rcu/tree_plugin.h 	__this_cpu_write(rcu_data.cpu_no_qs.b.norm, false);
norm              815 kernel/time/ntp.c 	struct pps_normtime norm = {
norm              820 kernel/time/ntp.c 	if (norm.nsec > (NSEC_PER_SEC >> 1)) {
norm              821 kernel/time/ntp.c 		norm.nsec -= NSEC_PER_SEC;
norm              822 kernel/time/ntp.c 		norm.sec++;
norm              825 kernel/time/ntp.c 	return norm;
norm              220 lib/xz/xz_dec_bcj.c 	uint64_t norm;
norm              235 lib/xz/xz_dec_bcj.c 			norm = instr >> bit_res;
norm              237 lib/xz/xz_dec_bcj.c 			if (((norm >> 37) & 0x0F) == 0x05
norm              238 lib/xz/xz_dec_bcj.c 					&& ((norm >> 9) & 0x07) == 0) {
norm              239 lib/xz/xz_dec_bcj.c 				addr = (norm >> 13) & 0x0FFFFF;
norm              240 lib/xz/xz_dec_bcj.c 				addr |= ((uint32_t)(norm >> 36) & 1) << 20;
norm              245 lib/xz/xz_dec_bcj.c 				norm &= ~((uint64_t)0x8FFFFF << 13);
norm              246 lib/xz/xz_dec_bcj.c 				norm |= (uint64_t)(addr & 0x0FFFFF) << 13;
norm              247 lib/xz/xz_dec_bcj.c 				norm |= (uint64_t)(addr & 0x100000)
norm              251 lib/xz/xz_dec_bcj.c 				instr |= norm << bit_res;
norm              605 lib/zstd/compress.c 	S16 *norm;
norm              612 lib/zstd/compress.c 		norm = (S16 *)((U32 *)zc->tmpCounters + spaceUsed32);
norm              670 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
norm              672 lib/zstd/compress.c 				size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */
norm              677 lib/zstd/compress.c 			FSE_buildCTable_wksp(CTable_LitLength, norm, max, tableLog, workspace, workspaceSize);
norm              702 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
norm              704 lib/zstd/compress.c 				size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */
norm              709 lib/zstd/compress.c 			FSE_buildCTable_wksp(CTable_OffsetBits, norm, max, tableLog, workspace, workspaceSize);
norm              734 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
norm              736 lib/zstd/compress.c 				size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */
norm              741 lib/zstd/compress.c 			FSE_buildCTable_wksp(CTable_MatchLength, norm, max, tableLog, workspace, workspaceSize);
norm              773 lib/zstd/decompress.c 		S16 *norm = (S16 *)workspace;
norm              781 lib/zstd/decompress.c 			size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize);
norm              786 lib/zstd/decompress.c 			FSE_buildDTable_wksp(DTableSpace, norm, max, tableLog, workspace, workspaceSize);
norm              519 lib/zstd/fse_compress.c static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 maxSymbolValue)
norm              532 lib/zstd/fse_compress.c 			norm[s] = 0;
norm              536 lib/zstd/fse_compress.c 			norm[s] = -1;
norm              542 lib/zstd/fse_compress.c 			norm[s] = 1;
norm              548 lib/zstd/fse_compress.c 		norm[s] = NOT_YET_ASSIGNED;
norm              556 lib/zstd/fse_compress.c 			if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) {
norm              557 lib/zstd/fse_compress.c 				norm[s] = 1;
norm              574 lib/zstd/fse_compress.c 		norm[maxV] += (short)ToDistribute;
norm              581 lib/zstd/fse_compress.c 			if (norm[s] > 0)
norm              582 lib/zstd/fse_compress.c 				ToDistribute--, norm[s]++;
norm              592 lib/zstd/fse_compress.c 			if (norm[s] == NOT_YET_ASSIGNED) {
norm              599 lib/zstd/fse_compress.c 				norm[s] = (short)weight;
norm               93 lib/zstd/huf_compress.c 	S16 *norm;
norm              102 lib/zstd/huf_compress.c 	norm = (S16 *)((U32 *)workspace + spaceUsed32);
norm              124 lib/zstd/huf_compress.c 	CHECK_F(FSE_normalizeCount(norm, tableLog, count, wtSize, maxSymbolValue));
norm              128 lib/zstd/huf_compress.c 		CHECK_V_F(hSize, FSE_writeNCount(op, oend - op, norm, maxSymbolValue, tableLog));
norm              133 lib/zstd/huf_compress.c 	CHECK_F(FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, workspace, workspaceSize));
norm             2831 tools/perf/util/probe-event.c 	const char *norm, *ver;
norm             2843 tools/perf/util/probe-event.c 		norm = arch__normalize_symbol_name(sym->name);
norm             2844 tools/perf/util/probe-event.c 		if (!norm)
norm             2849 tools/perf/util/probe-event.c 			ver = strchr(norm, '@');
norm             2851 tools/perf/util/probe-event.c 				buf = strndup(norm, ver - norm);
norm             2854 tools/perf/util/probe-event.c 				norm = buf;
norm             2858 tools/perf/util/probe-event.c 		if (strglobmatch(norm, name)) {