/linux-master/drivers/message/fusion/ |
H A D | mptspi.c | 1361 int scale; local 1470 scale = ioc->req_sz/ioc->SGE_size; 1472 numSGE = (scale - 1) * 1473 (ioc->facts.MaxChainDepth-1) + scale + 1476 numSGE = 1 + (scale - 1) * 1477 (ioc->facts.MaxChainDepth-1) + scale +
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | mlx5_ib.h | 90 * page_offset_quantized * (page_size/scale) = page_offset 95 unsigned int page_offset_bits, u64 pgoff_bitmask, unsigned int scale, 99 scale, page_offset_quantized) \ 105 GENMASK(31, order_base_2(scale)), scale, \ 110 scale, page_offset_quantized) \ 115 __mlx5_bit_sz(typ, page_offset_fld), 0, scale, \
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_audio.c | 981 DECLARE_TLV_DB_MINMAX(scale, 0, 0); 983 if (size < sizeof(scale)) 987 scale[2] = (prm->volume_min * 100) / 256; 988 scale[3] = (prm->volume_max * 100) / 256; 989 if (copy_to_user(_tlv, scale, sizeof(scale)))
|
/linux-master/arch/m68k/fpsp040/ |
H A D | scale.S | 2 | scale.sa 3.3 7/30/91 15 | Output: The function returns scale(X,Y) to fp0.
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | ti-sn65dsi86.c | 1412 unsigned int scale; local 1463 * possible PWM_PRE_DIV is used. Finally the scale is 1490 scale = div64_u64(period * pdata->pwm_refclk_freq, (u64)NSEC_PER_SEC * pre_div) - 1; 1505 if (backlight > scale) 1506 backlight = scale; 1514 ti_sn65dsi86_write_u16(pdata, SN_BACKLIGHT_SCALE_REG, scale); 1542 u16 scale; local 1549 ret = ti_sn65dsi86_read_u16(pdata, SN_BACKLIGHT_SCALE_REG, &scale); 1567 state->period = DIV_ROUND_UP_ULL((u64)NSEC_PER_SEC * pre_div * (scale + 1),
|
/linux-master/sound/pci/ctxfi/ |
H A D | ctamixer.c | 175 unsigned int scale, struct sum *sum) 178 amixer_set_y(amixer, scale); 174 amixer_setup(struct amixer *amixer, struct rsc *input, unsigned int scale, struct sum *sum) argument
|
/linux-master/net/ipv4/ |
H A D | tcp_cubic.c | 64 /* Note parameters that are used for precomputing scale factors are read-only */ 72 MODULE_PARM_DESC(bic_scale, "scale (scaled by 1024) value for bic function (bic_scale/1024)"); 302 u32 scale = beta_scale; local 304 delta = (cwnd * scale) >> 3;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_cubic.c | 360 __u32 scale = beta_scale; local 364 delta = (cwnd * scale) >> 3;
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | stv0367.c | 3014 p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 3018 p->strength.stat[0].scale = FE_SCALE_DECIBEL; 3047 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 3051 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; 3069 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 3073 p->block_error.stat[0].scale = FE_SCALE_COUNTER; 3105 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 3111 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 3230 p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 3232 p->cnr.stat[0].scale [all...] |
/linux-master/drivers/video/fbdev/nvidia/ |
H A D | nv_type.h | 61 u32 scale; member in struct:_riva_hw_state
|
/linux-master/arch/x86/events/amd/ |
H A D | power.c | 172 EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3");
|
/linux-master/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.h | 279 int scale; /* member in struct:lis3lv02d
|
/linux-master/drivers/gpu/drm/i2c/ |
H A D | ch7006_priv.h | 95 int scale; member in struct:ch7006_priv
|
/linux-master/drivers/video/backlight/ |
H A D | rt4831-backlight.c | 172 .scale = BACKLIGHT_SCALE_LINEAR };
|
H A D | ktz8866.c | 158 props.scale = BACKLIGHT_SCALE_LINEAR;
|
/linux-master/drivers/input/mouse/ |
H A D | psmouse.h | 121 void (*set_scale)(struct psmouse *psmouse, enum psmouse_scale scale);
|
/linux-master/drivers/media/tuners/ |
H A D | tda18250.c | 435 unsigned int uval, exp, lopd, scale; local 446 scale = uval & 0x0f; 447 fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); 486 "lopd=%d scale=%u fvco=%lu, rdiv=%d ndiv=%d icp=%d", 487 lopd, scale, fvco, *rdiv, *ndiv, *icp);
|
H A D | si2157.c | 315 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 813 c->strength.stat[0].scale = FE_SCALE_DECIBEL; 868 c->strength.stat[0].scale = FE_SCALE_DECIBEL; 874 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
|
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 245 struct v4l2_area in_size, scale; local 278 scale.width = compose->width; 279 scale.height = compose->height; 284 mxc_isi_channel_config(pipe, input, &in_size, &scale, &crop,
|
/linux-master/include/linux/iio/common/ |
H A D | st_sensors.h | 196 * @fs: Full scale register and full scale list available. 302 int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale);
|
/linux-master/arch/x86/math-emu/ |
H A D | fpu_trig.c | 1495 long scale; local 1522 scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl; 1523 scale += exponent16(st0_ptr); 1525 setexponent16(st0_ptr, scale);
|
/linux-master/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 331 unsigned int bpp, bppshift, scale; local 339 scale = ((1 << bppshift) * 3) - 1; 342 scale = (1 << bppshift) - 1; 371 crtcext3 |= scale;
|
/linux-master/tools/perf/util/ |
H A D | stat.h | 70 bool scale; member in struct:perf_stat_config
|
/linux-master/drivers/hwmon/ |
H A D | ltc2992.c | 408 static int ltc2992_get_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long *val) argument 417 *val = DIV_ROUND_CLOSEST(reg_val * scale, 1000); 422 static int ltc2992_set_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long val) argument 424 val = DIV_ROUND_CLOSEST(val * 1000, scale);
|
/linux-master/drivers/media/platform/chips-media/coda/ |
H A D | coda-jpeg.c | 993 * u8 qtab[64], scale [50,190] 995 static void coda_scale_quant_table(u8 *q_tab, int scale) argument 1001 temp = DIV_ROUND_CLOSEST((unsigned int)q_tab[i] * scale, 100); 1012 unsigned int scale; local 1027 scale = 5000 / quality; 1029 scale = 200 - 2 * quality; 1033 coda_scale_quant_table(ctx->params.jpeg_qmat_tab[0], scale); 1037 coda_scale_quant_table(ctx->params.jpeg_qmat_tab[1], scale);
|