Searched refs:scale (Results 76 - 100 of 327) sorted by relevance

1234567891011>>

/linux-master/drivers/media/dvb-frontends/
H A Drtl2832.c354 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
356 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
358 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
360 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
679 c->strength.stat[0].scale = FE_SCALE_RELATIVE;
682 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
722 c->cnr.stat[0].scale = FE_SCALE_DECIBEL;
725 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
740 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER;
742 c->post_bit_count.stat[0].scale
[all...]
H A Dcx24120.c326 if (c->cnr.stat[0].scale != FE_SCALE_DECIBEL)
339 if (c->post_bit_error.stat[0].scale != FE_SCALE_COUNTER) {
432 if (c->strength.stat[0].scale != FE_SCALE_RELATIVE)
638 c->strength.stat[0].scale = FE_SCALE_RELATIVE;
641 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
653 c->cnr.stat[0].scale = FE_SCALE_DECIBEL;
656 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
661 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
662 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
663 c->block_error.stat[0].scale
[all...]
H A Dtc90522.c252 stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE;
278 stats->stat[0].scale = FE_SCALE_DECIBEL;
288 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE;
291 stats->stat[i].scale = FE_SCALE_COUNTER;
301 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE;
304 stats->stat[i].scale = FE_SCALE_COUNTER;
410 stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE;
438 stats->stat[0].scale = FE_SCALE_DECIBEL;
448 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE;
451 stats->stat[i].scale
[all...]
H A Dsi2168.c163 c->cnr.stat[0].scale = FE_SCALE_DECIBEL;
167 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
195 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER;
197 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER;
200 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
201 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
218 c->block_error.stat[0].scale = FE_SCALE_COUNTER;
221 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
521 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
523 c->post_bit_error.stat[0].scale
[all...]
/linux-master/drivers/iio/proximity/
H A Dirsd200.c50 * Quantization scale value for threshold. Used for conversion from/to register
169 int scale; local
172 /* Set quantization scale. */
174 scale = IRS_THR_QUANT_SCALE;
177 scale = -IRS_THR_QUANT_SCALE;
189 *val = ((int)regval) * scale;
199 int scale; local
202 /* Set quantization scale. */
207 scale = IRS_THR_QUANT_SCALE;
213 scale
[all...]
/linux-master/include/linux/
H A Dclocksource.h231 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq);
233 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq);
301 * CPUs, scale the number of retries with the number of online
/linux-master/tools/perf/util/
H A Dpmu.h181 double scale; member in struct:perf_pmu_info
258 int perf_pmu__convert_scale(const char *scale, char **end, double *sval);
/linux-master/include/linux/mfd/wm8350/
H A Dcomparator.h168 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale,
/linux-master/net/ipv4/
H A Dtcp_htcp.c185 u32 scale = (HZ << 3) / (10 * minRTT); local
188 scale = min(max(scale, 1U << 2), 10U << 3);
189 factor = (factor << 3) / scale;
/linux-master/include/linux/iio/common/
H A Dcros_ec_sensors_core.h75 u16 scale; member in struct:cros_ec_sensors_core_state::calib_data
/linux-master/arch/arm/mach-omap2/
H A Dvoltage.h57 * @scale: function used to scale the voltage of the voltagedomain
83 int (*scale) (struct voltagedomain *voltdm, member in struct:voltagedomain
/linux-master/drivers/hwmon/
H A Dmax197.c45 * @scale: Need to scale.
53 bool scale; member in struct:max197_data
194 if (data->scale) {
284 data->scale = true;
287 data->scale = false;
H A Dmax127.c96 long scale, weight; local
105 scale = (ctrl_byte & MAX127_CTRL_RNG) ? MAX127_FULL_RANGE :
114 return raw * scale / 4096;
/linux-master/drivers/pwm/
H A Dpwm-sifive.c86 int scale; local
93 * (1 << (PWM_SIFIVE_CMPWIDTH + scale)) * 10^9/rate = period
96 scale = clamp(ilog2(scale_pow) - PWM_SIFIVE_CMPWIDTH, 0, 0xf);
99 FIELD_PREP(PWM_SIFIVE_PWMCFG_SCALE, scale);
102 /* As scale <= 15 the shift operation cannot overflow. */
103 num = (unsigned long long)NSEC_PER_SEC << (PWM_SIFIVE_CMPWIDTH + scale);
/linux-master/tools/testing/selftests/kvm/lib/
H A Dtest_util.c44 char *scale; local
49 base = strtoull(size, &scale, 0);
53 switch (tolower(*scale)) {
71 TEST_ASSERT(false, "Unknown size letter %c", *scale);
/linux-master/drivers/iio/position/
H A Diqs624-pos.c137 unsigned int scale = 1; local
151 &scale);
156 *val = scale * IQS624_POS_SCALE1;
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c148 GRPH_PRESCALE_SCALE_R, params->scale,
152 GRPH_PRESCALE_SCALE_G, params->scale,
156 GRPH_PRESCALE_SCALE_B, params->scale,
/linux-master/drivers/gpu/drm/
H A Ddrm_rect.c136 int scale = 0; local
147 scale = src / dst;
149 return scale;
162 * If the scale is below 1 << 16, round down. If the scale is above
163 * 1 << 16, round up. This will calculate the scale with the most
197 * If the scale is below 1 << 16, round down. If the scale is above
198 * 1 << 16, round up. This will calculate the scale with the most
/linux-master/drivers/iio/pressure/
H A Dabp060mg.c88 int scale; member in struct:abp_state
148 *val = state->scale;
170 state->scale = cfg->max - cfg->min;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmem.c61 unsigned int page_offset_bits, u64 pgoff_bitmask, unsigned int scale,
76 * page_offset fits into the mailbox field. Once page_size < scale this
80 while (page_offset & ~(u64)(page_offset_mask * (page_size / scale))) {
93 (unsigned long)page_offset / (page_size / scale);
59 __mlx5_umem_find_best_quantized_pgoff( struct ib_umem *umem, unsigned long pgsz_bitmap, unsigned int page_offset_bits, u64 pgoff_bitmask, unsigned int scale, unsigned int *page_offset_quantized) argument
/linux-master/drivers/iio/
H A Dinkern.c597 unsigned int scale)
633 * If no channel scaling is available apply consumer scale to
636 *processed = raw * scale;
642 *processed = raw64 * scale_val * scale;
649 *processed += div_s64(raw64 * (s64)scale_val2 * scale,
657 *processed += div_s64(raw64 * (s64)scale_val2 * scale,
661 *processed = div_s64(raw64 * (s64)scale_val * scale,
665 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2;
675 int *processed, unsigned int scale)
684 scale);
595 iio_convert_raw_to_processed_unlocked(struct iio_channel *chan, int raw, int *processed, unsigned int scale) argument
674 iio_convert_raw_to_processed(struct iio_channel *chan, int raw, int *processed, unsigned int scale) argument
707 iio_read_channel_processed_scale(struct iio_channel *chan, int *val, unsigned int scale) argument
[all...]
/linux-master/drivers/iio/magnetometer/
H A Drm3100-core.c80 int scale; member in struct:rm3100_data
310 * The scale of this sensor depends on the cycle count value, these
312 * 200. scale = output / gain * 10^4.
316 data->scale = 500;
319 data->scale = 263;
327 data->scale = 133;
412 *val2 = data->scale;
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c165 if (asyw->set.scale) wndw->func->scale_set(wndw, asyw);
325 asyw->scale.sx = asyw->state.src_x >> 16;
326 asyw->scale.sy = asyw->state.src_y >> 16;
327 asyw->scale.sw = asyw->state.src_w >> 16;
328 asyw->scale.sh = asyw->state.src_h >> 16;
329 asyw->scale.dw = asyw->state.crtc_w;
330 asyw->scale.dh = asyw->state.crtc_h;
331 if (memcmp(&armw->scale, &asyw->scale, sizeof(asyw->scale)))
[all...]
/linux-master/drivers/iio/dac/
H A Dad5766.c24 #define AD5766_DITHER_SCALE(ch, scale) (scale << (ch * 2))
82 * Available dither scale strings corresponding to "dither_scale" field in
325 u32 scale; local
327 scale = st->dither_scale & AD5766_DITHER_SCALE_MASK(chan->channel);
329 return (scale >> (chan->channel * 2));
334 unsigned int scale)
341 st->dither_scale |= AD5766_DITHER_SCALE(chan->channel, scale);
332 ad5766_set_dither_scale(struct iio_dev *dev, const struct iio_chan_spec *chan, unsigned int scale) argument
/linux-master/drivers/thermal/
H A Drcar_gen3_thermal.c71 int scale; member in struct:rcar_thermal_info
141 DIV_ROUND_CLOSEST((priv->ptat[1] - priv->ptat[2]) * priv->info->scale,
148 tsc->coef.below.a = priv->info->scale * (priv->ptat[2] - priv->ptat[1]);
149 tsc->coef.above.a = priv->info->scale * (priv->ptat[0] - priv->ptat[1]);
178 * division precision is lost as we will scale up from whole degrees
374 .scale = 157,
381 .scale = 167,
388 .scale = 167,

Completed in 192 milliseconds

1234567891011>>