/linux-2.6.39/drivers/media/video/cx88/ |
D | cx88-core.c | 649 static unsigned int inline norm_swidth(v4l2_std_id norm) in norm_swidth() argument 651 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 754 : 922; in norm_swidth() 654 static unsigned int inline norm_hdelay(v4l2_std_id norm) in norm_hdelay() argument 656 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 135 : 186; in norm_hdelay() 659 static unsigned int inline norm_vdelay(v4l2_std_id norm) in norm_vdelay() argument 661 return (norm & V4L2_STD_625_50) ? 0x24 : 0x18; in norm_vdelay() 664 static unsigned int inline norm_fsc8(v4l2_std_id norm) in norm_fsc8() argument 666 if (norm & V4L2_STD_PAL_M) in norm_fsc8() 669 if (norm & (V4L2_STD_PAL_Nc)) in norm_fsc8() 672 if (norm & V4L2_STD_NTSC) // All NTSC/M and variants in norm_fsc8() [all …]
|
/linux-2.6.39/drivers/media/video/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() 123 struct saa7134_tvnorm *norm = dev->tvnorm; in buffer_prepare() local [all …]
|
D | saa7134-video.c | 541 static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm) in set_tvnorm() argument 543 dprintk("set tv norm = %s\n",norm->name); in set_tvnorm() 544 dev->tvnorm = norm; in set_tvnorm() 547 dev->crop_bounds.left = norm->h_start; in set_tvnorm() 548 dev->crop_defrect.left = norm->h_start; in set_tvnorm() 549 dev->crop_bounds.width = norm->h_stop - norm->h_start +1; in set_tvnorm() 550 dev->crop_defrect.width = norm->h_stop - norm->h_start +1; in set_tvnorm() 552 dev->crop_bounds.top = (norm->vbi_v_stop_0+1)*2; in set_tvnorm() 553 dev->crop_defrect.top = norm->video_v_start*2; in set_tvnorm() 554 dev->crop_bounds.height = ((norm->id & V4L2_STD_525_60) ? 524 : 624) in set_tvnorm() [all …]
|
/linux-2.6.39/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 …]
|
/linux-2.6.39/drivers/media/video/ |
D | saa7191.c | 56 v4l2_std_id norm; member 197 static int saa7191_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in saa7191_s_std() argument 205 if (norm & V4L2_STD_PAL) { in saa7191_s_std() 209 } else if (norm & V4L2_STD_NTSC) { in saa7191_s_std() 214 } else if (norm & V4L2_STD_SECAM) { in saa7191_s_std() 232 decoder->norm = norm; in saa7191_s_std() 236 dprintk("norm: %llx\n", norm); in saa7191_s_std() 264 static int saa7191_querystd(struct v4l2_subdev *sd, v4l2_std_id *norm) in saa7191_querystd() argument 270 v4l2_std_id old_norm = decoder->norm; in saa7191_querystd() 275 *norm = V4L2_STD_NTSC | V4L2_STD_PAL | V4L2_STD_SECAM; in saa7191_querystd() [all …]
|
D | adv7175.c | 53 v4l2_std_id norm; member 235 encoder->norm = std; in adv7175_s_std_output() 252 if (encoder->norm & V4L2_STD_NTSC) in adv7175_s_routing() 256 if (encoder->norm & V4L2_STD_SECAM) in adv7175_s_routing() 268 if (encoder->norm & V4L2_STD_NTSC) in adv7175_s_routing() 281 if (encoder->norm & V4L2_STD_NTSC) in adv7175_s_routing() 355 encoder->norm = V4L2_STD_NTSC; in adv7175_probe()
|
D | bt856.c | 59 v4l2_std_id norm; member 110 if (encoder->norm & V4L2_STD_NTSC) in bt856_init() 138 encoder->norm = std; in bt856_s_std_output() 224 encoder->norm = V4L2_STD_NTSC; in bt856_probe() 234 if (encoder->norm & V4L2_STD_NTSC) in bt856_probe()
|
D | vpx3220.c | 51 v4l2_std_id norm; member 286 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init() 288 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init() 290 else if (decoder->norm & V4L2_STD_SECAM) in vpx3220_init() 374 decoder->norm = std; in vpx3220_s_std() 507 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
|
D | saa7185.c | 52 v4l2_std_id norm; member 226 if (encoder->norm & V4L2_STD_NTSC) in saa7185_init() 243 encoder->norm = std; in saa7185_s_std_output() 332 encoder->norm = V4L2_STD_NTSC; in saa7185_probe()
|
D | saa7110.c | 60 v4l2_std_id norm; member 206 return decoder->norm; /* no change*/ in determine_norm() 256 status, (unsigned long long)decoder->norm); in saa7110_g_input_status() 276 if (decoder->norm != std) { in saa7110_s_std() 277 decoder->norm = std; in saa7110_s_std() 414 decoder->norm = V4L2_STD_PAL; in saa7110_probe()
|
D | bt819.c | 59 v4l2_std_id norm; member 190 struct timing *timing = &timing_data[(decoder->norm & V4L2_STD_525_60) ? 1 : 0]; in bt819_init() 204 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() 457 decoder->norm = V4L2_STD_NTSC; in bt819_probe()
|
D | ths7303.c | 66 static int ths7303_s_std_output(struct v4l2_subdev *sd, v4l2_std_id norm) in ths7303_s_std_output() argument 68 return ths7303_setvalue(sd, norm); in ths7303_s_std_output()
|
/linux-2.6.39/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 | 121 struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_encoder_mode_set() local 126 regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode; in ch7006_encoder_mode_set() 232 ~mode->valid_norms & 1<<priv->norm) in ch7006_encoder_get_modes() 267 priv->norm); in ch7006_encoder_create_resources() 321 priv->norm = val; in ch7006_encoder_set_property() 463 priv->norm = TV_NORM_PAL; in ch7006_encoder_init() 478 priv->norm = i; in ch7006_encoder_init()
|
/linux-2.6.39/drivers/staging/go7007/ |
D | wis-saa7113.c | 28 int norm; member 138 dec->norm = *input; in wis_saa7113_command() 139 if (dec->norm & V4L2_STD_NTSC) { in wis_saa7113_command() 142 } else if (dec->norm & V4L2_STD_PAL) { in wis_saa7113_command() 145 } else if (dec->norm * V4L2_STD_SECAM) { in wis_saa7113_command() 278 dec->norm = V4L2_STD_NTSC; in wis_saa7113_probe()
|
D | wis-tw9903.c | 28 int norm; member 122 int vscale = 256 * (dec->norm & V4L2_STD_NTSC ? 240 : 288) in wis_tw9903_command() 148 dec->norm = *input; in wis_tw9903_command() 285 dec->norm = V4L2_STD_NTSC; in wis_tw9903_probe()
|
D | wis-saa7115.c | 28 int norm; member 224 int v_scaling_increment = (dec->norm & V4L2_STD_NTSC ? in wis_saa7115_command() 281 dec->norm = *input; in wis_saa7115_command() 411 dec->norm = V4L2_STD_NTSC; in wis_saa7115_probe()
|
D | wis-tw2804.c | 29 int norm; member 178 dec->norm = *input; in wis_tw2804_command() 309 dec->norm = V4L2_STD_NTSC; in wis_tw2804_probe()
|
/linux-2.6.39/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-2.6.39/drivers/media/video/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()
|
/linux-2.6.39/drivers/media/common/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-2.6.39/drivers/media/video/cx231xx/ |
D | cx231xx-cards.c | 112 .norm = V4L2_STD_PAL, 152 .norm = V4L2_STD_NTSC, 192 .norm = V4L2_STD_PAL, 233 .norm = V4L2_STD_PAL, 263 .norm = V4L2_STD_PAL, 301 .norm = V4L2_STD_PAL, 329 .norm = V4L2_STD_NTSC, 357 .norm = V4L2_STD_NTSC, 387 .norm = V4L2_STD_NTSC, 423 .norm = V4L2_STD_PAL_M, [all …]
|
/linux-2.6.39/drivers/media/video/cx23885/ |
D | cx23885.h | 570 static inline unsigned int norm_maxw(v4l2_std_id norm) in norm_maxw() argument 572 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 720 : 768; in norm_maxw() 575 static inline unsigned int norm_maxh(v4l2_std_id norm) in norm_maxh() argument 577 return (norm & V4L2_STD_625_50) ? 576 : 480; in norm_maxh() 580 static inline unsigned int norm_swidth(v4l2_std_id norm) in norm_swidth() argument 582 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 754 : 922; in norm_swidth()
|