/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-core.c | 606 static inline unsigned int norm_swidth(v4l2_std_id norm) in norm_swidth() argument 608 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 754 : 922; in norm_swidth() 611 static inline unsigned int norm_hdelay(v4l2_std_id norm) in norm_hdelay() argument 613 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 135 : 186; in norm_hdelay() 616 static inline unsigned int norm_vdelay(v4l2_std_id norm) in norm_vdelay() argument 618 return (norm & V4L2_STD_625_50) ? 0x24 : 0x18; in norm_vdelay() 621 static inline unsigned int norm_fsc8(v4l2_std_id norm) in norm_fsc8() argument 623 if (norm & V4L2_STD_PAL_M) in norm_fsc8() 626 if (norm & (V4L2_STD_PAL_Nc)) in norm_fsc8() 629 if (norm & V4L2_STD_NTSC) // All NTSC/M and variants in norm_fsc8() [all …]
|
D | cx88.h | 96 static inline unsigned int norm_maxw(v4l2_std_id norm) in norm_maxw() argument 102 static inline unsigned int norm_maxh(v4l2_std_id norm) in norm_maxh() argument 104 return (norm & V4L2_STD_525_60) ? 480 : 576; in norm_maxh() 648 extern int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm);
|
/linux-4.1.27/drivers/media/i2c/ |
D | tw9906.c | 33 v4l2_std_id norm; member 97 static int tw9906_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9906_s_std() argument 100 bool is_60hz = norm & V4L2_STD_525_60; in tw9906_s_std() 117 dec->norm = norm; in tw9906_s_std() 145 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9906_log_status() 208 dec->norm = V4L2_STD_NTSC; in tw9906_probe()
|
D | tw9903.c | 42 v4l2_std_id norm; member 126 static int tw9903_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9903_s_std() argument 129 bool is_60hz = norm & V4L2_STD_525_60; in tw9903_s_std() 146 dec->norm = norm; in tw9903_s_std() 175 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9903_log_status() 240 dec->norm = V4L2_STD_NTSC; in tw9903_probe()
|
D | bt856.c | 58 v4l2_std_id norm; member 109 if (encoder->norm & V4L2_STD_NTSC) in bt856_init() 137 encoder->norm = std; in bt856_s_std_output() 215 encoder->norm = V4L2_STD_NTSC; in bt856_probe() 225 if (encoder->norm & V4L2_STD_NTSC) in bt856_probe()
|
D | adv7175.c | 52 v4l2_std_id norm; member 239 encoder->norm = std; in adv7175_s_std_output() 256 if (encoder->norm & V4L2_STD_NTSC) in adv7175_s_routing() 260 if (encoder->norm & V4L2_STD_SECAM) in adv7175_s_routing() 272 if (encoder->norm & V4L2_STD_NTSC) in adv7175_s_routing() 285 if (encoder->norm & V4L2_STD_NTSC) in adv7175_s_routing() 408 encoder->norm = V4L2_STD_NTSC; in adv7175_probe()
|
D | tw2804.c | 44 int norm; member 157 state->norm & V4L2_STD_525_60 ? "60 Hz" : "50 Hz"); in tw2804_log_status() 262 static int tw2804_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw2804_s_std() argument 266 bool is_60hz = norm & V4L2_STD_525_60; in tw2804_s_std() 282 dec->norm = norm; in tw2804_s_std() 376 state->norm = V4L2_STD_NTSC; in tw2804_probe()
|
D | saa7185.c | 51 v4l2_std_id norm; member 225 if (encoder->norm & V4L2_STD_NTSC) in saa7185_init() 242 encoder->norm = std; in saa7185_s_std_output() 323 encoder->norm = V4L2_STD_NTSC; in saa7185_probe()
|
D | vpx3220.c | 50 v4l2_std_id norm; member 284 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init() 286 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init() 288 else if (decoder->norm & V4L2_STD_SECAM) in vpx3220_init() 374 decoder->norm = std; in vpx3220_s_std() 498 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
|
D | tvp5150.c | 40 v4l2_std_id norm; /* Current set standard */ member 627 v4l2_std_id std = decoder->norm; in tvp5150_set_vbi() 674 v4l2_std_id std = decoder->norm; in tvp5150_get_vbi() 712 decoder->norm = std; in tvp5150_set_std() 741 if (decoder->norm == std) in tvp5150_s_std() 773 tvp5150_set_std(sd, decoder->norm); in tvp5150_reset() 873 if (decoder->norm == V4L2_STD_ALL) in tvp5150_s_crop() 876 std = decoder->norm; in tvp5150_s_crop() 928 if (decoder->norm == V4L2_STD_ALL) in tvp5150_cropcap() 931 std = decoder->norm; in tvp5150_cropcap() [all …]
|
D | saa7110.c | 59 v4l2_std_id norm; member 255 status, (unsigned long long)decoder->norm); in saa7110_g_input_status() 275 if (decoder->norm != std) { in saa7110_s_std() 276 decoder->norm = std; in saa7110_s_std() 405 decoder->norm = V4L2_STD_PAL; in saa7110_probe()
|
D | bt819.c | 58 v4l2_std_id norm; member 188 struct timing *timing = &timing_data[(decoder->norm & V4L2_STD_525_60) ? 1 : 0]; in bt819_init() 202 init[0x15 * 2 - 1] = (decoder->norm & V4L2_STD_625_50) ? 115 : 93; /* Chroma burst delay */ in bt819_init() 292 decoder->norm = std; in bt819_s_std() 445 decoder->norm = V4L2_STD_NTSC; in bt819_probe()
|
D | adv7170.c | 55 v4l2_std_id norm; member 221 encoder->norm = std; in adv7170_s_std_output() 354 encoder->norm = V4L2_STD_NTSC; in adv7170_probe()
|
D | ths7303.c | 139 static int ths7303_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm) in ths7303_s_std_output() argument 143 if (norm & (V4L2_STD_ALL & ~V4L2_STD_SECAM)) { in ths7303_s_std_output()
|
D | ks0127.c | 201 v4l2_std_id norm; member 493 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing() 554 ks->norm = std; in ks0127_s_std()
|
D | vp27smpx.c | 84 static int vp27smpx_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in vp27smpx_s_std() argument
|
D | adv7842.c | 75 v4l2_std_id norm; member 1896 if (state->norm & V4L2_STD_525_60) in adv7842_g_mbus_fmt() 2484 static int adv7842_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in adv7842_s_std() argument 2494 if (norm & V4L2_STD_625_50) in adv7842_s_std() 2496 else if (norm & V4L2_STD_525_60) in adv7842_s_std() 2501 if (norm & V4L2_STD_ALL) { in adv7842_s_std() 2502 state->norm = norm; in adv7842_s_std() 2508 static int adv7842_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) in adv7842_g_std() argument 2517 *norm = state->norm; in adv7842_g_std()
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-vbi.c | 53 struct saa7134_tvnorm *norm = dev->tvnorm; in task_init() local 56 saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff); in task_init() 57 saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8); in task_init() 58 saa_writeb(SAA7134_VBI_H_STOP1(task), norm->h_stop & 0xff); in task_init() 59 saa_writeb(SAA7134_VBI_H_STOP2(task), norm->h_stop >> 8); in task_init() 60 saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 & 0xff); in task_init() 61 saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8); in task_init() 62 saa_writeb(SAA7134_VBI_V_STOP1(task), norm->vbi_v_stop_0 & 0xff); in task_init() 63 saa_writeb(SAA7134_VBI_V_STOP2(task), norm->vbi_v_stop_0 >> 8); in task_init()
|
D | saa7134-video.c | 386 static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm) in set_tvnorm() argument 388 dprintk("set tv norm = %s\n",norm->name); in set_tvnorm() 389 dev->tvnorm = norm; in set_tvnorm() 392 dev->crop_bounds.left = norm->h_start; in set_tvnorm() 393 dev->crop_defrect.left = norm->h_start; in set_tvnorm() 394 dev->crop_bounds.width = norm->h_stop - norm->h_start +1; in set_tvnorm() 395 dev->crop_defrect.width = norm->h_stop - norm->h_start +1; in set_tvnorm() 397 dev->crop_bounds.top = (norm->vbi_v_stop_0+1)*2; in set_tvnorm() 398 dev->crop_defrect.top = norm->video_v_start*2; in set_tvnorm() 399 dev->crop_bounds.height = ((norm->id & V4L2_STD_525_60) ? 524 : 624) in set_tvnorm() [all …]
|
D | saa7134-go7007.c | 392 static int saa7134_go7007_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in saa7134_go7007_s_std() argument 398 return saa7134_s_std_internal(dev, NULL, norm); in saa7134_go7007_s_std()
|
/linux-4.1.27/drivers/media/usb/usbtv/ |
D | usbtv-video.c | 38 .norm = V4L2_STD_525_60, 43 .norm = V4L2_STD_PAL, 49 static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_configure_for_norm() argument 55 if (norm_params[i].norm & norm) { in usbtv_configure_for_norm() 66 usbtv->norm = params->norm; in usbtv_configure_for_norm() 110 static int usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_select_norm() argument 149 ret = usbtv_configure_for_norm(usbtv, norm); in usbtv_select_norm() 152 if (norm & V4L2_STD_525_60) in usbtv_select_norm() 154 else if (norm & V4L2_STD_PAL) in usbtv_select_norm() 240 ret = usbtv_select_norm(usbtv, usbtv->norm); in usbtv_setup_capture() [all …]
|
D | usbtv.h | 58 v4l2_std_id norm; member 93 v4l2_std_id norm; member
|
/linux-4.1.27/arch/m68k/fpsp040/ |
D | tbldo.S | 58 .long sint |$01-0 fint norm 67 .long ssinh |$02-0 fsinh norm 76 .long sintrz |$03-0 fintrz norm 103 .long sslognp1 |$06-0 flognp1 norm 121 .long setoxm1 |$08-0 fetoxm1 norm 130 .long stanh |$09-0 ftanh norm 139 .long satan |$0a-0 fatan norm 157 .long sasin |$0c-0 fasin norm 166 .long satanh |$0d-0 fatanh norm 175 .long ssin |$0e-0 fsin norm [all …]
|
D | do_func.S | 255 .long smod | 00,00 norm,norm = normal 256 .long smod_oper | 00,01 norm,zero = nan with operr 257 .long smod_fpn | 00,10 norm,inf = fpn 258 .long smod_snan | 00,11 norm,nan = nan 259 .long smod_zro | 01,00 zero,norm = +-zero 263 .long smod_oper | 10,00 inf,norm = nan with operr 267 .long smod_dnan | 11,00 nan,norm = nan 287 | ;00 = norm or denorm 415 .long sscale | 00,00 norm,norm = result 416 .long sscale | 00,01 norm,zero = fpn [all …]
|
D | res_func.S | 59 btstb #7,DTAG(%a6) |if dop = norm=000, zero=001, 64 | ;set dtag to norm 87 btstb #7,STAG(%a6) |if sop = norm=000, zero=001, 604 | condition exists with a very large norm and a denorm. One 652 | if(dest is norm) 658 | if(dest is norm) 733 rts |then ; it is either a zero of norm, 825 | can be used to add the norm and 1.0 with the sign of the 1000 | can be used to subtract from the norm 1.0 with the sign of the 1093 | norm sign. [all …]
|
D | get_op.S | 47 | routine which converts the unnorm to a norm (called mk_norm) 50 | norm. The instruction is then restored back into the '040 661 | For a norm, check if the exp <= $3fff; if so, set etemp_15
|
D | bindec.S | 178 clrb BINDEC_FLG(%a6) |clr norm/denorm flag 181 beq A2_str |if zero, input is norm 200 bgts pos_exp |if greater than zero, it is a norm 243 beqs A3_cont |if clr, continue with norm 660 tstb BINDEC_FLG(%a6) |check if input was norm 661 beqs A13_con |if norm, continue with checking
|
D | decbin.S | 101 .global norm 476 | norm: 481 norm: label
|
D | kernel_ex.S | 346 orb #norm_tag,DTAG(%a6) |set up dtag for norm
|
D | scale.S | 170 movel %d2,-(%a7) |free d2 for norm
|
/linux-4.1.27/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 97 if (dev->norm & V4L2_STD_525_60) { in stk1160_set_std() 363 static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm) in vidioc_querystd() argument 366 v4l2_device_call_all(&dev->v4l2_dev, 0, video, querystd, norm); in vidioc_querystd() 370 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm) in vidioc_g_std() argument 374 *norm = dev->norm; in vidioc_g_std() 378 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm) in vidioc_s_std() argument 383 if (dev->norm == norm) in vidioc_s_std() 394 dev->norm = norm; in vidioc_s_std() 397 if (dev->norm & V4L2_STD_525_60) { in vidioc_s_std() 400 } else if (dev->norm & V4L2_STD_625_50) { in vidioc_s_std() [all …]
|
D | stk1160.h | 151 v4l2_std_id norm; /* current norm */ member
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | tw9910.c | 234 v4l2_std_id norm; member 426 static const struct tw9910_scale_ctrl *tw9910_select_norm(v4l2_std_id norm, in tw9910_select_norm() argument 434 if (norm & V4L2_STD_NTSC) { in tw9910_select_norm() 437 } else if (norm & V4L2_STD_PAL) { in tw9910_select_norm() 499 static int tw9910_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) in tw9910_g_std() argument 504 *norm = priv->norm; in tw9910_g_std() 509 static int tw9910_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9910_s_std() argument 514 if (!(norm & (V4L2_STD_NTSC | V4L2_STD_PAL))) in tw9910_s_std() 517 priv->norm = norm; in tw9910_s_std() 578 priv->scale = tw9910_select_norm(priv->norm, *width, *height); in tw9910_set_frame() [all …]
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
D | tm6000-stds.c | 367 if ((dev->norm & V4L2_STD_NTSC) == V4L2_STD_NTSC_M_KR) { in tm6000_set_audio_std() 369 } else if ((dev->norm & V4L2_STD_NTSC) == V4L2_STD_NTSC_M_JP) { in tm6000_set_audio_std() 371 } else if (dev->norm & V4L2_STD_MN) { in tm6000_set_audio_std() 376 if ((dev->norm & V4L2_STD_SECAM) == V4L2_STD_SECAM_L) in tm6000_set_audio_std() 383 if (dev->norm & V4L2_STD_DK) in tm6000_set_audio_std() 390 if (dev->norm & V4L2_STD_DK) { in tm6000_set_audio_std() 392 } else if (dev->norm & V4L2_STD_PAL_I) { in tm6000_set_audio_std() 394 } else if (dev->norm & V4L2_STD_SECAM_L) { in tm6000_set_audio_std() 403 if (dev->norm & V4L2_STD_DK) { in tm6000_set_audio_std() 451 if (dev->norm & V4L2_STD_525_60) in tm6000_get_std_res() [all …]
|
D | tm6000-video.c | 1057 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm) in vidioc_s_std() argument 1063 dev->norm = norm; in vidioc_s_std() 1072 v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm); in vidioc_s_std() 1077 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm) in vidioc_g_std() argument 1082 *norm = dev->norm; in vidioc_g_std() 1144 rc = vidioc_s_std(file, priv, dev->norm); in vidioc_s_input()
|
D | tm6000.h | 183 v4l2_std_id norm; /* Current norm */ member
|
D | tm6000-cards.c | 1117 dev->norm = V4L2_STD_NTSC_M; in tm6000_init_dev() 1123 v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm); in tm6000_init_dev()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 182 if (~mode->valid_norms & 1<<priv->norm) in ch7006_lookup_mode() 205 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_levels() local 211 if (norm->black_level < 339*fixed1/1000) { in ch7006_setup_levels() 221 black_level = round_fixed(norm->black_level*26625)/gain; in ch7006_setup_levels() 236 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_subcarrier() local 241 * (norm->subc_freq >> 24)); in ch7006_setup_subcarrier() 331 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_properties() local 346 scale = norm->vtotal*fixed1; in ch7006_setup_properties() 352 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties() 353 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties() [all …]
|
D | ch7006_drv.c | 123 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_encoder_mode_set() local 128 regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode; in ch7006_encoder_mode_set() 234 ~mode->valid_norms & 1<<priv->norm) in ch7006_encoder_get_modes() 266 priv->norm); in ch7006_encoder_create_resources() 320 priv->norm = val; in ch7006_encoder_set_property() 457 priv->norm = TV_NORM_PAL; in ch7006_encoder_init() 472 priv->norm = i; in ch7006_encoder_init()
|
D | ch7006_priv.h | 92 enum ch7006_tv_norm norm; member
|
/linux-4.1.27/drivers/media/pci/tw68/ |
D | tw68-video.c | 230 static void set_tvnorm(struct tw68_dev *dev, const struct tw68_tvnorm *norm) in set_tvnorm() argument 232 if (norm != dev->tvnorm) { in set_tvnorm() 234 dev->height = (norm->id & V4L2_STD_525_60) ? 480 : 576; in set_tvnorm() 235 dev->tvnorm = norm; in set_tvnorm() 272 const struct tw68_tvnorm *norm = dev->tvnorm; in tw68_set_scale() local 285 norm->h_delay, norm->h_start, norm->h_stop, in tw68_set_scale() 286 norm->v_delay, norm->video_v_start, in tw68_set_scale() 287 norm->video_v_stop); in tw68_set_scale() 291 hdelay = norm->h_delay0; in tw68_set_scale() 294 hdelay = norm->h_delay; in tw68_set_scale() [all …]
|
/linux-4.1.27/drivers/media/pci/zoran/ |
D | zr36060.c | 595 struct tvnorm *norm, in zr36060_set_video() argument 661 reg = norm->Ht - 1; /* Vtotal */ in zr36060_set_video() 665 reg = norm->Wt - 1; /* Htotal */ in zr36060_set_video() 677 reg = norm->VStart - 1; /* BVstart */ in zr36060_set_video() 680 reg += norm->Ha / 2; /* BVend */ in zr36060_set_video() 684 reg = norm->HStart - 1; /* BHstart */ in zr36060_set_video() 687 reg += norm->Wa; /* BHend */ in zr36060_set_video() 692 reg = cap->y + norm->VStart; /* Vstart */ in zr36060_set_video() 700 reg = cap->x + norm->HStart; /* Hstart */ in zr36060_set_video() 709 reg = norm->VStart - 4; /* SVstart */ in zr36060_set_video() [all …]
|
D | zr36016.c | 314 struct tvnorm *norm, in zr36016_set_video() argument 321 ptr->name, norm->HStart, norm->VStart, in zr36016_set_video() 336 ptr->xoff = (norm->HStart ? norm->HStart : 1) + cap->x; in zr36016_set_video() 341 ptr->yoff = norm->VStart + cap->y; in zr36016_set_video()
|
D | videocodec.h | 283 struct tvnorm * norm,
|
D | zr36050.c | 604 struct tvnorm *norm, in zr36050_set_video() argument 612 ptr->name, norm->HStart, norm->VStart, in zr36050_set_video()
|
D | zoran_device.c | 314 if ((zr->norm & V4L2_STD_NTSC) || in zr36057_adjust_vfe() 316 (zr->norm & V4L2_STD_PAL))) in zr36057_adjust_vfe() 420 if (!(zr->norm & V4L2_STD_NTSC)) in zr36057_set_vfe() 1575 decoder_call(zr, video, s_std, zr->norm); in zoran_init_hardware() 1580 encoder_call(zr, video, s_std_output, zr->norm); in zoran_init_hardware()
|
D | zoran_driver.c | 1439 v4l2_std_id norm) in zoran_set_norm() argument 1452 if (!(norm & zr->card.norms)) { in zoran_set_norm() 1455 ZR_DEVNAME(zr), __func__, norm); in zoran_set_norm() 1459 if (norm & V4L2_STD_SECAM) in zoran_set_norm() 1461 else if (norm & V4L2_STD_NTSC) in zoran_set_norm() 1472 decoder_call(zr, video, s_std, norm); in zoran_set_norm() 1473 encoder_call(zr, video, s_std_output, norm); in zoran_set_norm() 1479 zr->norm = norm; in zoran_set_norm() 2411 *std = zr->norm; in zoran_g_std()
|
D | zoran_card.c | 1003 zr->norm = V4L2_STD_PAL; in zr36057_init() 1006 zr->norm = V4L2_STD_NTSC; in zr36057_init() 1009 zr->norm = V4L2_STD_SECAM; in zr36057_init() 1017 zr->norm = V4L2_STD_PAL; in zr36057_init()
|
D | zoran.h | 301 v4l2_std_id norm; member
|
/linux-4.1.27/lib/xz/ |
D | xz_dec_bcj.c | 220 uint64_t norm; in bcj_ia64() local 235 norm = instr >> bit_res; in bcj_ia64() 237 if (((norm >> 37) & 0x0F) == 0x05 in bcj_ia64() 238 && ((norm >> 9) & 0x07) == 0) { in bcj_ia64() 239 addr = (norm >> 13) & 0x0FFFFF; in bcj_ia64() 240 addr |= ((uint32_t)(norm >> 36) & 1) << 20; in bcj_ia64() 245 norm &= ~((uint64_t)0x8FFFFF << 13); in bcj_ia64() 246 norm |= (uint64_t)(addr & 0x0FFFFF) << 13; in bcj_ia64() 247 norm |= (uint64_t)(addr & 0x100000) in bcj_ia64() 251 instr |= norm << bit_res; in bcj_ia64()
|
/linux-4.1.27/drivers/media/tuners/ |
D | tda9887.c | 403 struct tvnorm *norm = NULL; in tda9887_set_tvnorm() local 409 norm = &radio_mono; in tda9887_set_tvnorm() 411 norm = &radio_stereo; in tda9887_set_tvnorm() 415 norm = tvnorms+i; in tda9887_set_tvnorm() 420 if (NULL == norm) { in tda9887_set_tvnorm() 425 tuner_dbg("configure for: %s\n", norm->name); in tda9887_set_tvnorm() 426 buf[1] = norm->b; in tda9887_set_tvnorm() 427 buf[2] = norm->c; in tda9887_set_tvnorm() 428 buf[3] = norm->e; in tda9887_set_tvnorm()
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 110 .norm = V4L2_STD_PAL, 150 .norm = V4L2_STD_NTSC, 190 .norm = V4L2_STD_PAL, 231 .norm = V4L2_STD_PAL, 261 .norm = V4L2_STD_PAL, 302 .norm = V4L2_STD_PAL, 330 .norm = V4L2_STD_NTSC, 358 .norm = V4L2_STD_NTSC, 388 .norm = V4L2_STD_NTSC, 423 .norm = V4L2_STD_PAL_M, [all …]
|
D | cx231xx-video.c | 1056 *id = dev->norm; in vidioc_g_std() 1060 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm) in vidioc_s_std() argument 1071 if (dev->norm == norm) in vidioc_s_std() 1077 dev->norm = norm; in vidioc_s_std() 1081 dev->height = (dev->norm & V4L2_STD_625_50) ? 576 : 480; in vidioc_s_std() 1083 call_all(dev, video, s_std, dev->norm); in vidioc_s_std() 1182 call_all(dev, video, s_std, dev->norm); in cx231xx_s_input() 1275 if (dev->norm & (V4L2_STD_MN | V4L2_STD_NTSC_443)) in cx231xx_s_frequency() 1277 else if (dev->norm & V4L2_STD_B) in cx231xx_s_frequency() 1279 else if (dev->norm & (V4L2_STD_PAL_DK | V4L2_STD_SECAM_DK)) in cx231xx_s_frequency() [all …]
|
D | cx231xx-vbi.c | 176 height = ((dev->norm & V4L2_STD_625_50) ? in vbi_buffer_setup() 227 height = ((dev->norm & V4L2_STD_625_50) ? in vbi_buffer_prepare() 413 dma_q->lines_per_field = ((dev->norm & V4L2_STD_625_50) ? in cx231xx_init_vbi_isoc() 704 height = ((dev->norm & V4L2_STD_625_50) ? in cx231xx_is_vbi_buffer_done()
|
D | cx231xx-417.c | 1496 static int vidioc_g_std(struct file *file, void *fh0, v4l2_std_id *norm) in vidioc_g_std() argument 1501 *norm = dev->encodernorm.id; in vidioc_g_std() 1520 dev->norm = V4L2_STD_NTSC; in vidioc_s_std() 1525 dev->norm = V4L2_STD_PAL_B; in vidioc_s_std() 1529 call_all(dev, video, s_std, dev->norm); in vidioc_s_std() 1969 dev->norm = V4L2_STD_NTSC; in cx231xx_417_register()
|
D | cx231xx.h | 339 v4l2_std_id norm; /* tv norm */ member 638 v4l2_std_id norm; /* selected tv norm */ member 1001 return (dev->norm & V4L2_STD_625_50) ? 576 : 480; in norm_maxh()
|
D | cx231xx-avcore.c | 829 status = cx231xx_dif_set_standard(dev, dev->norm); in cx231xx_set_decoder_video_input() 976 __func__, (unsigned int)dev->norm); in cx231xx_do_mode_ctrl_overrides() 981 if (dev->norm & (V4L2_STD_NTSC | V4L2_STD_PAL_M)) { in cx231xx_do_mode_ctrl_overrides() 1008 } else if (dev->norm & V4L2_STD_SECAM) { in cx231xx_do_mode_ctrl_overrides() 1539 standard = dev->norm; in cx231xx_set_Colibri_For_LowIF() 1741 dev->norm = standard; in cx231xx_dif_set_standard() 2147 if (dev->norm & (V4L2_STD_SECAM_L | V4L2_STD_SECAM_B | in cx231xx_tuner_post_channel_change()
|
D | cx231xx-dvb.c | 419 params.std = dev->norm; in cx231xx_set_analog_freq()
|
/linux-4.1.27/arch/arc/lib/ |
D | strchr-700.S | 79 norm r2,r3 95 norm r3,r3 108 norm r2,r2 124 norm r3,r3
|
D | memcmp.S | 48 norm r1,r1 55 norm r1,r1 70 norm r1,r1
|
D | strlen.S | 64 norm r1,r2 74 norm r1,r1
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 166 return (v4l2->norm & V4L2_STD_625_50) ? 576 : 480; in norm_maxh() 252 if (v4l2->norm & V4L2_STD_525_60) { in em28xx_set_outfmt() 255 } else if (v4l2->norm & V4L2_STD_625_50) { in em28xx_set_outfmt() 336 if (v4l2->norm & V4L2_STD_525_60) in em28xx_resolution_set() 1365 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm) in vidioc_g_std() argument 1369 *norm = dev->v4l2->norm; in vidioc_g_std() 1374 static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm) in vidioc_querystd() argument 1378 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, video, querystd, norm); in vidioc_querystd() 1383 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm) in vidioc_s_std() argument 1389 if (norm == v4l2->norm) in vidioc_s_std() [all …]
|
D | em28xx.h | 540 v4l2_std_id norm; /* selected tv norm */ member
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885.h | 581 int cx23885_set_tvnorm(struct cx23885_dev *dev, v4l2_std_id norm); 629 static inline unsigned int norm_maxw(v4l2_std_id norm) in norm_maxw() argument 631 return (norm & V4L2_STD_525_60) ? 720 : 768; in norm_maxw() 634 static inline unsigned int norm_maxh(v4l2_std_id norm) in norm_maxh() argument 636 return (norm & V4L2_STD_525_60) ? 480 : 576; in norm_maxh()
|
D | cx23885-video.c | 115 int cx23885_set_tvnorm(struct cx23885_dev *dev, v4l2_std_id norm) in cx23885_set_tvnorm() argument 119 (unsigned int)norm, in cx23885_set_tvnorm() 120 v4l2_norm_to_name(norm)); in cx23885_set_tvnorm() 122 if (dev->tvnorm != norm) { in cx23885_set_tvnorm() 128 dev->tvnorm = norm; in cx23885_set_tvnorm() 130 call_all(dev, video, s_std, norm); in cx23885_set_tvnorm()
|
/linux-4.1.27/kernel/time/ |
D | ntp.c | 732 struct pps_normtime norm = { in pps_normalize_ts() local 737 if (norm.nsec > (NSEC_PER_SEC >> 1)) { in pps_normalize_ts() 738 norm.nsec -= NSEC_PER_SEC; in pps_normalize_ts() 739 norm.sec++; in pps_normalize_ts() 742 return norm; in pps_normalize_ts()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | pac7302.c | 443 unsigned int norm; in rgbbalance_ctrl_to_reg_value() local 446 norm = k * (rgb_ctrl_val - PAC7302_RGB_BALANCE_MIN) in rgbbalance_ctrl_to_reg_value() 449 return 64 * norm * norm / (k*k) + 32 * norm / k + 32; in rgbbalance_ctrl_to_reg_value()
|
/linux-4.1.27/drivers/staging/media/dt3155v4l/ |
D | dt3155v4l.c | 601 dt3155_ioc_querystd(struct file *filp, void *p, v4l2_std_id *norm) in dt3155_ioc_querystd() argument 603 *norm = DT3155_CURRENT_NORM; in dt3155_ioc_querystd() 608 dt3155_ioc_g_std(struct file *filp, void *p, v4l2_std_id *norm) in dt3155_ioc_g_std() argument 610 *norm = DT3155_CURRENT_NORM; in dt3155_ioc_g_std() 615 dt3155_ioc_s_std(struct file *filp, void *p, v4l2_std_id norm) in dt3155_ioc_s_std() argument 617 if (norm & DT3155_CURRENT_NORM) in dt3155_ioc_s_std()
|
/linux-4.1.27/drivers/media/platform/ |
D | timblogiw.c | 96 static int timblogiw_bytes_per_line(const struct timblogiw_tvnorm *norm) in timblogiw_bytes_per_line() argument 98 return norm->width * 2; in timblogiw_bytes_per_line() 102 static int timblogiw_frame_size(const struct timblogiw_tvnorm *norm) in timblogiw_frame_size() argument 104 return norm->height * timblogiw_bytes_per_line(norm); in timblogiw_frame_size()
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | s2250-board.c | 352 static int s2250_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in s2250_s_std() argument 359 if (norm & V4L2_STD_625_50) { in s2250_s_std() 367 state->std = norm; in s2250_s_std()
|
/linux-4.1.27/Documentation/zh_CN/video4linux/ |
D | v4l2-framework.txt | 339 err = sd->ops->core->g_std(sd, &norm); 343 err = v4l2_subdev_call(sd, core, g_std, &norm); 351 v4l2_device_call_all(v4l2_dev, 0, core, g_std, &norm); 356 err = v4l2_device_call_until_err(v4l2_dev, 0, core, g_std, &norm);
|
/linux-4.1.27/drivers/media/platform/davinci/ |
D | vpbe_venc.c | 480 static int venc_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm) in venc_s_std_output() argument 484 if (norm & V4L2_STD_525_60) in venc_s_std_output() 486 else if (norm & V4L2_STD_625_50) in venc_s_std_output()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 1139 bttv_crop_reset(struct bttv_crop *c, unsigned int norm) in bttv_crop_reset() argument 1141 c->rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_crop_reset() 1147 set_tvnorm(struct bttv *btv, unsigned int norm) in set_tvnorm() argument 1152 BUG_ON(norm >= BTTV_TVNORMS); in set_tvnorm() 1155 tvnorm = &bttv_tvnorms[norm]; in set_tvnorm() 1159 bttv_crop_reset(&btv->crop[0], norm); in set_tvnorm() 1168 btv->tvnorm = norm; in set_tvnorm() 1192 set_input(struct bttv *btv, unsigned int input, unsigned int norm) in set_input() argument 1212 set_tvnorm(btv, norm); in set_input() 1568 int norm; in bttv_prepare_buffer() local [all …]
|
D | bttv-vbi.c | 419 void bttv_vbi_fmt_reset(struct bttv_vbi_fmt *f, unsigned int norm) in bttv_vbi_fmt_reset() argument 425 tvnorm = &bttv_tvnorms[norm]; in bttv_vbi_fmt_reset()
|
D | bttvp.h | 201 void bttv_vbi_fmt_reset(struct bttv_vbi_fmt *f, unsigned int norm);
|
/linux-4.1.27/include/media/ |
D | v4l2-ioctl.h | 136 int (*vidioc_g_std) (struct file *file, void *fh, v4l2_std_id *norm); 137 int (*vidioc_s_std) (struct file *file, void *fh, v4l2_std_id norm);
|
D | v4l2-subdev.h | 317 int (*g_std)(struct v4l2_subdev *sd, v4l2_std_id *norm); 318 int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
|
/linux-4.1.27/arch/arc/kernel/ |
D | setup.c | 61 cpu->extn.norm = read_aux_reg(ARC_REG_NORM_BCR) > 1 ? 1 : 0; /* 2,3 */ in read_arc_build_cfg_regs() 196 IS_AVAIL1(cpu->extn.norm, "norm "), in arc_cpu_mumbojumbo()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | arcregs.h | 328 unsigned int swap:1, norm:1, minmax:1, barrel:1, crc:1, pad1:3, member
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-video.c | 1196 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm) in vidioc_s_std() argument 1203 if (norm == dev->std) in vidioc_s_std() 1209 dev->std = norm; in vidioc_s_std() 1221 v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, norm); in vidioc_s_std() 1228 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm) in vidioc_g_std() argument 1235 *norm = dev->std; in vidioc_g_std()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 360 static void cve2_init_TVdata(int norm, struct mavenregs* data, const struct output_desc** outd) { in cve2_init_TVdata() argument 492 if (norm == MATROXFB_OUTPUT_MODE_PAL) { in cve2_init_TVdata()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 582 static int mxr_s_std(struct file *file, void *fh, v4l2_std_id norm) in mxr_s_std() argument 599 ret = v4l2_subdev_call(to_outsd(mdev), video, s_std_output, norm); in mxr_s_std() 608 static int mxr_g_std(struct file *file, void *fh, v4l2_std_id *norm) in mxr_g_std() argument 616 ret = v4l2_subdev_call(to_outsd(mdev), video, g_std_output, norm); in mxr_g_std()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-av-core.c | 856 static int cx18_av_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in cx18_av_s_std() argument 864 if (state->radio == 0 && state->std == norm) in cx18_av_s_std() 868 state->std = norm; in cx18_av_s_std()
|
D | cx18-gpio.c | 133 static int gpiomux_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in gpiomux_s_std() argument
|
/linux-4.1.27/drivers/media/pci/saa7146/ |
D | mxb.c | 578 static int vidioc_querystd(struct file *file, void *fh, v4l2_std_id *norm) in vidioc_querystd() argument 582 return call_all(dev, video, querystd, norm); in vidioc_querystd()
|
/linux-4.1.27/Documentation/block/ |
D | biovecs.txt | 87 norm, not all drivers would respect bi_idx and those would break. Now,
|
/linux-4.1.27/Documentation/video4linux/ |
D | Zoran | 219 For information about the colorsystems and TV norm take a look in the 333 the current TV standard (norm). Therefore, the software which 335 first set the correct norm. Well, it seems logically correct: TV
|
D | v4l2-framework.txt | 371 err = sd->ops->core->g_std(sd, &norm); 375 err = v4l2_subdev_call(sd, core, g_std, &norm); 383 v4l2_device_call_all(v4l2_dev, 0, core, g_std, &norm); 388 err = v4l2_device_call_until_err(v4l2_dev, 0, core, g_std, &norm);
|
/linux-4.1.27/Documentation/ |
D | pi-futex.txt | 34 lockless structures are rather the exception than the norm - the current
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
D | fpsp.S | 1484 # here, we count on norm not to alter a0... 1485 bsr.l norm # normalize mantissa 7636 bsr.l norm # normalize 8496 mov.l (%a0),%d3 # D3 is exponent of smallest norm. # 10217 bsr.l norm # normalize mantissa 12024 # norm() - normalize mantissa for EXOP on denorm # 13140 bne.b ftst_not_norm # optimize on non-norm input 13338 bne.b fintrz_not_norm # optimize on non-norm input 13418 # norm() - normalize denorm mantissa to provide EXOP # 13435 # Simply clear sign for extended precision norm. Ext prec denorm # [all …]
|
D | ilsp.S | 435 mov.l DDNORMAL(%a6), %d7 # get norm shift count
|
D | fplsp.S | 7561 bsr.l norm # normalize exponent 8558 # satanh(): computes the inverse hyperbolic tangent of a norm input # 9249 # the src value. then, jump to the norm part of the routine. 9258 bsr.l norm # normalize the DENORM 9798 bsr.l unnorm_fix # convert to norm,denorm,or zero 10045 bsr.l norm # normalize mantissa 10835 global norm 10836 norm: label 10886 # norm() - normalize the mantissa # 10893 # a0 = input operand has been converted to a norm, denorm, or # [all …]
|
D | pfpsp.S | 1483 # here, we count on norm not to alter a0... 1484 bsr.l norm # normalize mantissa
|
/linux-4.1.27/drivers/media/common/saa7146/ |
D | saa7146_video.c | 807 static int vidioc_g_std(struct file *file, void *fh, v4l2_std_id *norm) in vidioc_g_std() argument 812 *norm = vv->standard->id; in vidioc_g_std()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 1519 v4l2_std_id id = *(v4l2_std_id *)arg, norm; in v4l_s_std() local 1521 norm = id & vfd->tvnorms; in v4l_s_std() 1522 if (vfd->tvnorms && !norm) /* Check if std is supported */ in v4l_s_std() 1526 return ops->vidioc_s_std(file, fh, norm); in v4l_s_std()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | compress_offload.txt | 10 returned values in frames are the norm, making it a challenge to
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-iio | 1264 user (which is the norm or magnitude of the velocity vector).
|