/linux-master/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 619 static inline unsigned int norm_swidth(v4l2_std_id norm) argument 621 if (norm & (V4L2_STD_NTSC | V4L2_STD_PAL_M)) 624 if (norm & V4L2_STD_PAL_Nc) 630 static inline unsigned int norm_hdelay(v4l2_std_id norm) argument 632 if (norm & (V4L2_STD_NTSC | V4L2_STD_PAL_M)) 635 if (norm & V4L2_STD_PAL_Nc) 641 static inline unsigned int norm_vdelay(v4l2_std_id norm) argument 643 return (norm & V4L2_STD_625_50) ? 0x24 : 0x18; 646 static inline unsigned int norm_fsc8(v4l2_std_id norm) argument 648 if (norm 667 norm_htotal(v4l2_std_id norm) argument 677 norm_vbipack(v4l2_std_id norm) argument 831 v4l2_std_id norm = core->tvnorm; local 882 cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm) argument [all...] |
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-vbi.c | 42 struct saa7134_tvnorm *norm = dev->tvnorm; local 45 saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff); 46 saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8); 47 saa_writeb(SAA7134_VBI_H_STOP1(task), norm->h_stop & 0xff); 48 saa_writeb(SAA7134_VBI_H_STOP2(task), norm->h_stop >> 8); 49 saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 & 0xff); 50 saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8); 51 saa_writeb(SAA7134_VBI_V_STOP1(task), norm->vbi_v_stop_0 & 0xff); 52 saa_writeb(SAA7134_VBI_V_STOP2(task), norm->vbi_v_stop_0 >> 8);
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_compress_sequences.c | 74 S16 norm[MaxSeq + 1]; local 76 FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)), ""); 77 return FSE_writeNCount(wksp, sizeof(wksp), norm, max, tableLog); 91 unsigned norm = (unsigned)((256 * count[s]) / total); local 92 if (count[s] != 0 && norm == 0) 93 norm = 1; 95 cost += count[s] * kInverseProbabilityLog256[norm]; 136 * table described by norm. The max symbol support by norm is assumed >= max. 137 * norm mus 139 ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog, unsigned const* count, unsigned const max) argument 238 S16 norm[MaxSeq + 1]; member in struct:__anon208 [all...] |
H A D | fse_compress.c | 387 static size_t FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 maxSymbolValue, short lowProbCount) argument 400 norm[s]=0; 404 norm[s] = lowProbCount; 410 norm[s] = 1; 416 norm[s]=NOT_YET_ASSIGNED; 427 if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) { 428 norm[s] = 1; 443 norm[maxV] += (short)ToDistribute; 450 if (norm[s] > 0) { ToDistribute--; norm[ [all...] |
H A D | zstd_compress_sequences.h | 52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
|
/linux-master/arch/m68k/fpsp040/ |
H A 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...] |
H A 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 336 .long srem | 00,00 norm,nor [all...] |
/linux-master/drivers/media/i2c/ |
H A D | tw9903.c | 30 v4l2_std_id norm; member in struct:tw9903 63 0x1c, 0x0f, /* video norm */ 64 0x1d, 0x7f, /* video norm */ 114 static int tw9903_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument 117 bool is_60hz = norm & V4L2_STD_525_60; 134 dec->norm = norm; 163 bool is_60hz = dec->norm & V4L2_STD_525_60; 227 dec->norm = V4L2_STD_NTSC;
|
H A D | tw9906.c | 21 v4l2_std_id norm; member in struct:tw9906 85 static int tw9906_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument 88 bool is_60hz = norm & V4L2_STD_525_60; 105 dec->norm = norm; 133 bool is_60hz = dec->norm & V4L2_STD_525_60; 195 dec->norm = V4L2_STD_NTSC;
|
H A D | bt856.c | 45 v4l2_std_id norm; member in struct:bt856 96 if (encoder->norm & V4L2_STD_NTSC) 113 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); 124 encoder->norm = std; 201 encoder->norm = V4L2_STD_NTSC; 211 if (encoder->norm & V4L2_STD_NTSC)
|
H A D | tw9910.c | 235 v4l2_std_id norm; member in struct:tw9910_priv 428 static const struct tw9910_scale_ctrl *tw9910_select_norm(v4l2_std_id norm, argument 436 if (norm & V4L2_STD_NTSC) { 439 } else if (norm & V4L2_STD_PAL) { 484 dev_err(&client->dev, "norm select error\n"); 501 static int tw9910_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) argument 506 *norm = priv->norm; 511 static int tw9910_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument 521 if (!(norm 898 tw9910_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm) argument [all...] |
H A D | isl7998x.c | 478 const v4l2_std_id norm; member in struct:isl7998x_video_std 520 v4l2_std_id norm; member in struct:isl7998x 525 /* protect fmt, norm, enabled */ 550 static unsigned int isl7998x_norm_to_val(v4l2_std_id norm) argument 555 if (isl7998x_std_res[i].norm & norm) 563 static const struct isl7998x_mode *isl7998x_norm_to_mode(v4l2_std_id norm) argument 568 if (isl7998x_std_res[i].norm & norm) 633 static int isl7998x_set_standard(struct isl7998x *isl7998x, v4l2_std_id norm) argument 771 isl7998x_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) argument 782 isl7998x_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) argument [all...] |
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 52 .norm = V4L2_STD_525_60, 57 .norm = V4L2_STD_625_50, 63 static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm) argument 69 if (norm_params[i].norm & norm) { 80 usbtv->norm = norm; 124 static uint16_t usbtv_norm_to_16f_reg(v4l2_std_id norm) argument 127 if (norm & V4L2_STD_NTSC) 130 if (norm 145 usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) argument 659 usbtv_g_std(struct file *file, void *priv, v4l2_std_id *norm) argument 666 usbtv_s_std(struct file *file, void *priv, v4l2_std_id norm) argument [all...] |
H A D | usbtv.h | 76 v4l2_std_id norm; member in struct:usbtv_norm_params 112 v4l2_std_id norm; member in struct:usbtv
|
/linux-master/drivers/powercap/ |
H A D | arm_scmi_powercap.c | 100 u64 power_limit_uw, u32 *norm) 111 *norm = clamp_t(u32, val, spz->info->min_power_cap, 113 *norm = rounddown(*norm, spz->info->power_cap_step); 115 val = (scale_mw) ? *norm * 1000 : *norm; 155 u64 time_us, u32 *norm) 162 *norm = clamp_t(u32, time_us, spz->info->min_pai, spz->info->max_pai); 163 *norm = rounddown(*norm, sp 99 scmi_powercap_normalize_cap(const struct scmi_powercap_zone *spz, u64 power_limit_uw, u32 *norm) argument 154 scmi_powercap_normalize_time(const struct scmi_powercap_zone *spz, u64 time_us, u32 *norm) argument [all...] |
/linux-master/drivers/media/usb/stk1160/ |
H A D | stk1160-v4l.c | 110 if (dev->norm & V4L2_STD_525_60) { 382 base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576; 504 static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm) argument 507 v4l2_device_call_all(&dev->v4l2_dev, 0, video, querystd, norm); 511 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm) argument 515 *norm = dev->norm; 519 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm) argument 524 if (dev->norm == norm) [all...] |
/linux-master/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 181 if (~mode->valid_norms & 1<<priv->norm) 204 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local 210 if (norm->black_level < 339*fixed1/1000) { 220 black_level = round_fixed(norm->black_level*26625)/gain; 235 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local 240 * (norm->subc_freq >> 24)); 330 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local [all...] |
H A D | ch7006_drv.c | 125 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; local 130 regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode; 236 ~mode->valid_norms & 1<<priv->norm) 270 priv->norm); 324 priv->norm = val; 454 priv->norm = TV_NORM_PAL; 469 priv->norm = i; 475 ch7006_err(client, "Invalid TV norm setting \"%s\".\n", 533 MODULE_PARM_DESC(tv_norm, "Default TV norm [all...] |
/linux-master/lib/xz/ |
H A D | xz_dec_bcj.c | 220 uint64_t norm; local 235 norm = instr >> bit_res; 237 if (((norm >> 37) & 0x0F) == 0x05 238 && ((norm >> 9) & 0x07) == 0) { 239 addr = (norm >> 13) & 0x0FFFFF; 240 addr |= ((uint32_t)(norm >> 36) & 1) << 20; 245 norm &= ~((uint64_t)0x8FFFFF << 13); 246 norm |= (uint64_t)(addr & 0x0FFFFF) << 13; 247 norm |= (uint64_t)(addr & 0x100000) 251 instr |= norm << bit_re [all...] |
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | cxusb-analog.c | 724 static u32 cxusb_medion_norm2field_order(v4l2_std_id norm) argument 726 bool is625 = norm & V4L2_STD_625_50; 727 bool is525 = norm & V4L2_STD_525_60; 746 v4l2_std_id norm; local 752 field = cxusb_medion_norm2field_order(cxdev->norm); 756 ret = v4l2_subdev_call(cxdev->cx25840, video, g_std, &norm); 762 field = cxusb_medion_norm2field_order(norm); 1130 v4l2_std_id norm) 1138 (unsigned long)norm); 1141 if (norm 1129 cxusb_medion_set_norm(struct cxusb_medion_dev *cxdev, v4l2_std_id norm) argument 1193 v4l2_std_id norm; local 1346 cxusb_medion_g_std(struct file *file, void *fh, v4l2_std_id *norm) argument 1360 cxusb_medion_s_std(struct file *file, void *fh, v4l2_std_id norm) argument 1369 cxusb_medion_querystd(struct file *file, void *fh, v4l2_std_id *norm) argument [all...] |
/linux-master/drivers/media/tuners/ |
H A D | tda9887.c | 404 struct tvnorm *norm = NULL; local 410 norm = &radio_mono; 412 norm = &radio_stereo; 416 norm = tvnorms+i; 421 if (NULL == norm) { 426 tuner_dbg("configure for: %s\n", norm->name); 427 buf[1] = norm->b; 428 buf[2] = norm->c; 429 buf[3] = norm->e;
|
/linux-master/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 211 static void set_tvnorm(struct tw68_dev *dev, const struct tw68_tvnorm *norm) argument 213 if (norm != dev->tvnorm) { 215 dev->height = (norm->id & V4L2_STD_525_60) ? 480 : 576; 216 dev->tvnorm = norm; 245 * getting current norm (as well as debug print) 253 const struct tw68_tvnorm *norm = dev->tvnorm; local 265 norm->h_delay, norm->h_start, norm->h_stop, 266 norm [all...] |
/linux-master/drivers/media/pci/zoran/ |
H A D | zr36016.c | 172 // (no extra offset for now, norm defines offset, default width height) 213 static int zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm, argument 220 ptr->name, norm->h_start, norm->v_start, 239 ptr->xoff = (norm->h_start ? norm->h_start : 1) + cap->x; 246 ptr->yoff = norm->v_start + cap->y;
|
/linux-master/arch/arc/lib/ |
H A D | strchr-700.S | 8 presence of the norm instruction makes it easier to operate on whole 76 norm r2,r3 92 norm r3,r3 105 norm r2,r2 121 norm r3,r3
|
H A D | strlen.S | 61 norm r1,r2 71 norm r1,r1
|