scale 91 arch/arm/mach-imx/mmdc.c PMU_EVENT_ATTR_STRING(read-bytes.scale, mmdc_pmu_read_bytes_scale, "0.000001"); scale 94 arch/arm/mach-imx/mmdc.c PMU_EVENT_ATTR_STRING(write-bytes.scale, mmdc_pmu_write_bytes_scale, "0.000001"); scale 81 arch/arm/mach-omap2/voltage.c if (!voltdm->scale) { scale 107 arch/arm/mach-omap2/voltage.c ret = voltdm->scale(voltdm, volt); scale 262 arch/arm/mach-omap2/voltage.c voltdm->scale = omap_vc_bypass_scale; scale 267 arch/arm/mach-omap2/voltage.c voltdm->scale = omap_vp_forceupdate_scale; scale 83 arch/arm/mach-omap2/voltage.h int (*scale) (struct voltagedomain *voltdm, scale 656 arch/m68k/math-emu/fp_arith.c int scale, oldround; scale 683 arch/m68k/math-emu/fp_arith.c scale = fp_conv_ext2long(src); scale 687 arch/m68k/math-emu/fp_arith.c scale += dest->exp; scale 689 arch/m68k/math-emu/fp_arith.c if (scale >= 0x7fff) { scale 691 arch/m68k/math-emu/fp_arith.c } else if (scale <= 0) { scale 693 arch/m68k/math-emu/fp_arith.c fp_denormalize(dest, -scale); scale 695 arch/m68k/math-emu/fp_arith.c dest->exp = scale; scale 157 arch/m68k/math-emu/fp_decode.h move.w %d2,%d1 | scale factor scale 370 arch/mips/alchemy/common/clock.c int scale, int maxdiv, unsigned long *rv) scale 378 arch/mips/alchemy/common/clock.c if (scale == 2) { /* only div-by-multiple-of-2 possible */ scale 383 arch/mips/alchemy/common/clock.c div2 = (div1 / scale) - 1; /* value to write to register */ scale 390 arch/mips/alchemy/common/clock.c div1 = ((div2 + 1) * scale); scale 396 arch/mips/alchemy/common/clock.c int scale, int maxdiv) scale 430 arch/mips/alchemy/common/clock.c tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, NULL); scale 451 arch/mips/alchemy/common/clock.c for (j = (maxdiv == 4) ? 1 : scale; j <= maxdiv; j += scale) { scale 457 arch/mips/alchemy/common/clock.c tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, scale 706 arch/mips/alchemy/common/clock.c int scale, maxdiv; scale 709 arch/mips/alchemy/common/clock.c scale = 1; scale 712 arch/mips/alchemy/common/clock.c scale = 2; scale 716 arch/mips/alchemy/common/clock.c return alchemy_clk_fgcs_detr(hw, req, scale, maxdiv); scale 923 arch/mips/alchemy/common/clock.c int scale = c->dt[2] == 3 ? 1 : 2; /* au1300 check */ scale 925 arch/mips/alchemy/common/clock.c return alchemy_clk_fgcs_detr(hw, req, scale, 4); scale 56 arch/powerpc/include/asm/imc-pmu.h char *scale; scale 1077 arch/powerpc/kernel/time.c u64 scale; scale 1108 arch/powerpc/kernel/time.c scale = res.result_low; scale 1110 arch/powerpc/kernel/time.c scale = (scale >> 1) | (res.result_high << 63); scale 1113 arch/powerpc/kernel/time.c tb_to_ns_scale = scale; scale 156 arch/powerpc/kernel/vecemu.c static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) scale 164 arch/powerpc/kernel/vecemu.c exp = exp - 127 + scale; scale 169 arch/powerpc/kernel/vecemu.c if (x + (scale << 23) != 0xcf000000) scale 178 arch/powerpc/kernel/vecemu.c static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) scale 187 arch/powerpc/kernel/vecemu.c exp = exp - 127 + scale; scale 140 arch/powerpc/perf/imc-pmu.c static int imc_parse_event(struct device_node *np, const char *scale, scale 160 arch/powerpc/perf/imc-pmu.c s = scale; scale 163 arch/powerpc/perf/imc-pmu.c event->scale = kstrdup(s, GFP_KERNEL); scale 164 arch/powerpc/perf/imc-pmu.c if (!event->scale) scale 180 arch/powerpc/perf/imc-pmu.c kfree(event->scale); scale 198 arch/powerpc/perf/imc-pmu.c kfree(events[i].scale); scale 289 arch/powerpc/perf/imc-pmu.c if (pmu->events[i].scale) { scale 291 arch/powerpc/perf/imc-pmu.c dev_str = device_str_attr_create(ev_scale_str, pmu->events[i].scale); scale 480 arch/sparc/kernel/visemul.c unsigned long rs1, rs2, gsr, scale, rd_val; scale 483 arch/sparc/kernel/visemul.c scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f); scale 493 arch/sparc/kernel/visemul.c int scaled = src << scale; scale 516 arch/sparc/kernel/visemul.c s64 scaled = src << scale; scale 539 arch/sparc/kernel/visemul.c s64 scaled = src << scale; scale 176 arch/x86/events/amd/power.c EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3"); scale 299 arch/x86/events/intel/core.c EVENT_ATTR_STR_HT(topdown-total-slots.scale, td_total_slots_scale, "4", "2"); scale 309 arch/x86/events/intel/core.c EVENT_ATTR_STR_HT(topdown-recovery-bubbles.scale, td_recovery_bubbles_scale, scale 1437 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-total-slots.scale, td_total_slots_scale_slm, "2"); scale 1441 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-fetch-bubbles.scale, td_fetch_bubbles_scale_slm, "2"); scale 1593 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-total-slots.scale, td_total_slots_scale_glm, "3"); scale 413 arch/x86/events/intel/rapl.c RAPL_EVENT_ATTR_STR(energy-cores.scale, rapl_cores_scale, "2.3283064365386962890625e-10"); scale 414 arch/x86/events/intel/rapl.c RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10"); scale 415 arch/x86/events/intel/rapl.c RAPL_EVENT_ATTR_STR(energy-ram.scale, rapl_ram_scale, "2.3283064365386962890625e-10"); scale 416 arch/x86/events/intel/rapl.c RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10"); scale 417 arch/x86/events/intel/rapl.c RAPL_EVENT_ATTR_STR(energy-psys.scale, rapl_psys_scale, "2.3283064365386962890625e-10"); scale 370 arch/x86/events/intel/uncore_snb.c INTEL_UNCORE_EVENT_DESC(data_reads.scale, "6.103515625e-5"), scale 374 arch/x86/events/intel/uncore_snb.c INTEL_UNCORE_EVENT_DESC(data_writes.scale, "6.103515625e-5"), scale 653 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"), scale 656 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(cas_count_write.scale, "6.103515625e-5"), scale 2784 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"), scale 2787 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(cas_count_write.scale, "6.103515625e-5"), scale 3614 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port0.scale, "3.814697266e-6"), scale 3617 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port1.scale, "3.814697266e-6"), scale 3620 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port2.scale, "3.814697266e-6"), scale 3623 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port3.scale, "3.814697266e-6"), scale 3626 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_out_port0.scale, "3.814697266e-6"), scale 3629 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_out_port1.scale, "3.814697266e-6"), scale 3632 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_out_port2.scale, "3.814697266e-6"), scale 3635 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_out_port3.scale, "3.814697266e-6"), scale 4227 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port0.scale, "3.814697266e-6"), scale 4230 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port1.scale, "3.814697266e-6"), scale 4233 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port2.scale, "3.814697266e-6"), scale 4236 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port3.scale, "3.814697266e-6"), scale 4239 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port4.scale, "3.814697266e-6"), scale 4242 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port5.scale, "3.814697266e-6"), scale 4245 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port6.scale, "3.814697266e-6"), scale 4248 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(bw_in_port7.scale, "3.814697266e-6"), scale 4468 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"), scale 4471 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(cas_count_write.scale, "6.103515625e-5"), scale 4510 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(read.scale, "3.814697266e-6"), scale 4513 arch/x86/events/intel/uncore_snbep.c INTEL_UNCORE_EVENT_DESC(write.scale, "3.814697266e-6"), scale 352 arch/x86/kernel/apb_timer.c int i, scale; scale 394 arch/x86/kernel/apb_timer.c scale = (int)div_u64((t2 - t1), loop >> shift); scale 395 arch/x86/kernel/apb_timer.c khz = (scale * (apbt_freq / 1000)) >> shift; scale 1266 arch/x86/kvm/emulate.c int index_reg, base_reg, scale; scale 1359 arch/x86/kvm/emulate.c scale = sib >> 6; scale 1372 arch/x86/kvm/emulate.c modrm_ea += reg_read(ctxt, index_reg) << scale; scale 1760 arch/x86/kvm/x86.c static int set_tsc_khz(struct kvm_vcpu *vcpu, u32 user_tsc_khz, bool scale) scale 1765 arch/x86/kvm/x86.c if (!scale) { scale 1490 arch/x86/math-emu/fpu_trig.c long scale; scale 1517 arch/x86/math-emu/fpu_trig.c scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl; scale 1518 arch/x86/math-emu/fpu_trig.c scale += exponent16(st0_ptr); scale 1520 arch/x86/math-emu/fpu_trig.c setexponent16(st0_ptr, scale); scale 328 block/blk-iolatency.c unsigned long scale = scale_amount(qd, up); scale 337 block/blk-iolatency.c if (scale + old > DEFAULT_SCALE_COOKIE) scale 343 block/blk-iolatency.c atomic_add(scale, &lat_info->scale_cookie); scale 355 block/blk-iolatency.c atomic_sub(scale, &lat_info->scale_cookie); scale 368 block/blk-iolatency.c unsigned long scale = scale_amount(qd, up); scale 379 block/blk-iolatency.c old += scale; scale 214 block/blk-throttle.c unsigned int scale; scale 285 block/blk-throttle.c if (td->scale < 4096 && time_after_eq(jiffies, scale 286 block/blk-throttle.c td->low_upgrade_time + td->scale * td->throtl_slice)) scale 287 block/blk-throttle.c td->scale = (jiffies - td->low_upgrade_time) / td->throtl_slice; scale 289 block/blk-throttle.c return low + (low >> 1) * td->scale; scale 1800 block/blk-throttle.c tg->bio_cnt, ret, tg->td->scale); scale 1900 block/blk-throttle.c td->scale = 0; scale 1918 block/blk-throttle.c td->scale /= 2; scale 1920 block/blk-throttle.c throtl_log(&td->service_queue, "downgrade, scale %d", td->scale); scale 1921 block/blk-throttle.c if (td->scale) { scale 1922 block/blk-throttle.c td->low_upgrade_time = jiffies - td->scale * td->throtl_slice; scale 107 drivers/acpi/sbs.c int scale = 1; scale 109 drivers/acpi/sbs.c scale *= 10; scale 110 drivers/acpi/sbs.c return scale; scale 29 drivers/base/arch_topology.c unsigned long scale; scale 32 drivers/base/arch_topology.c scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; scale 35 drivers/base/arch_topology.c per_cpu(freq_scale, i) = scale; scale 76 drivers/clk/clk-fractional-divider.c unsigned long scale; scale 83 drivers/clk/clk-fractional-divider.c scale = fls_long(*parent_rate / rate - 1); scale 84 drivers/clk/clk-fractional-divider.c if (scale > fd->nwidth) scale 85 drivers/clk/clk-fractional-divider.c rate <<= scale - fd->nwidth; scale 242 drivers/clk/clk-xgene.c u64 ret, scale; scale 259 drivers/clk/clk-xgene.c scale = (val & fd->mask) >> fd->shift; scale 261 drivers/clk/clk-xgene.c scale = fd->denom - scale; scale 263 drivers/clk/clk-xgene.c scale++; scale 267 drivers/clk/clk-xgene.c ret *= scale; scale 278 drivers/clk/clk-xgene.c u64 ret, scale; scale 285 drivers/clk/clk-xgene.c scale = DIV_ROUND_UP_ULL(ret, *parent_rate); scale 287 drivers/clk/clk-xgene.c ret = (u64)*parent_rate * scale; scale 298 drivers/clk/clk-xgene.c u64 scale, ret; scale 308 drivers/clk/clk-xgene.c scale = DIV_ROUND_UP_ULL(ret, (u64)parent_rate); scale 312 drivers/clk/clk-xgene.c scale = fd->denom - scale; scale 314 drivers/clk/clk-xgene.c scale--; scale 323 drivers/clk/clk-xgene.c val |= (scale << fd->shift); scale 2816 drivers/clk/clk.c unsigned int scale) scale 2825 drivers/clk/clk.c ret = mult_frac(scale, duty->num, duty->den); scale 2840 drivers/clk/clk.c int clk_get_scaled_duty_cycle(struct clk *clk, unsigned int scale) scale 2845 drivers/clk/clk.c return clk_core_get_scaled_duty_cycle(clk->core, scale); scale 186 drivers/clk/rockchip/clk.c unsigned long scale; scale 200 drivers/clk/rockchip/clk.c scale = fls_long(*parent_rate / rate - 1); scale 201 drivers/clk/rockchip/clk.c if (scale > fd->nwidth) scale 202 drivers/clk/rockchip/clk.c rate <<= scale - fd->nwidth; scale 840 drivers/clk/tegra/clk-dfll.c int scale; scale 842 drivers/clk/tegra/clk-dfll.c scale = DIV_ROUND_CLOSEST(rate / 1000 * DFLL_FREQ_REQ_SCALE_MAX, scale 844 drivers/clk/tegra/clk-dfll.c if (!scale) { scale 849 drivers/clk/tegra/clk-dfll.c req->scale_bits = scale - 1; scale 767 drivers/counter/104-quad-8.c unsigned int *const scale = priv->quadrature_scale + id; scale 782 drivers/counter/104-quad-8.c *scale = 0; scale 795 drivers/counter/104-quad-8.c *scale = 0; scale 799 drivers/counter/104-quad-8.c *scale = 1; scale 803 drivers/counter/104-quad-8.c *scale = 2; scale 1007 drivers/crypto/chelsio/chtls/chtls_cm.c u8 scale; scale 1010 drivers/crypto/chelsio/chtls/chtls_cm.c scale = linkspeed / SPEED_10000; scale 1013 drivers/crypto/chelsio/chtls/chtls_cm.c if (scale) scale 1014 drivers/crypto/chelsio/chtls/chtls_cm.c csk->rcv_win *= scale; scale 1017 drivers/crypto/chelsio/chtls/chtls_cm.c if (scale) scale 1018 drivers/crypto/chelsio/chtls/chtls_cm.c csk->snd_win *= scale; scale 147 drivers/firmware/arm_scmi/sensors.c s->scale = SENSOR_SCALE(attrh); scale 149 drivers/firmware/arm_scmi/sensors.c if (s->scale & SENSOR_SCALE_SIGN) scale 150 drivers/firmware/arm_scmi/sensors.c s->scale |= SENSOR_SCALE_EXTEND; scale 3557 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bool scale = dm_state ? (dm_state->scaling != RMX_OFF) : false; scale 3628 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!scale || mode_refresh != preferred_refresh) scale 544 drivers/gpu/drm/amd/display/dc/dc_hw_types.h int scale; scale 150 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c GRPH_PRESCALE_SCALE_R, params->scale, scale 154 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c GRPH_PRESCALE_SCALE_G, params->scale, scale 158 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c GRPH_PRESCALE_SCALE_B, params->scale, scale 250 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c prescale_params->scale = 0x2082; scale 254 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c prescale_params->scale = 0x2020; scale 258 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c prescale_params->scale = 0x2008; scale 262 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c prescale_params->scale = 0x2000; scale 498 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c REG_UPDATE(CURSOR0_FP_SCALE_BIAS, CUR0_FP_SCALE, attr->scale); scale 3050 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c opt_attr.scale = hw_scale; scale 54 drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h uint16_t scale; scale 131 drivers/gpu/drm/drm_rect.c int scale = 0; scale 142 drivers/gpu/drm/drm_rect.c scale = src / dst; scale 144 drivers/gpu/drm/drm_rect.c return scale; scale 609 drivers/gpu/drm/exynos/exynos_drm_ipp.c bool scale = false; scale 636 drivers/gpu/drm/exynos/exynos_drm_ipp.c scale = true; scale 641 drivers/gpu/drm/exynos/exynos_drm_ipp.c (!(ipp->capabilities & DRM_EXYNOS_IPP_CAP_SCALE) && scale) || scale 233 drivers/gpu/drm/i2c/ch7006_drv.c if (~mode->valid_scales & 1<<priv->scale || scale 276 drivers/gpu/drm/i2c/ch7006_drv.c priv->scale); scale 351 drivers/gpu/drm/i2c/ch7006_drv.c priv->scale = val; scale 457 drivers/gpu/drm/i2c/ch7006_drv.c priv->scale = 1; scale 480 drivers/gpu/drm/i2c/ch7006_drv.c priv->scale = ch7006_scale; scale 538 drivers/gpu/drm/i2c/ch7006_drv.c module_param_named(scale, ch7006_scale, int, 0600); scale 539 drivers/gpu/drm/i2c/ch7006_drv.c MODULE_PARM_DESC(scale, "Default scale.\n" scale 106 drivers/gpu/drm/i2c/ch7006_mode.c subc, scale, scale_mask, norm_mask, e_hd, e_vd) { \ scale 129 drivers/gpu/drm/i2c/ch7006_mode.c .dispmode = bitfs(CH7006_DISPMODE_SCALING_RATIO, scale) | \ scale 136 drivers/gpu/drm/i2c/ch7006_mode.c subc, scale, scale_mask, norm_mask) \ scale 137 drivers/gpu/drm/i2c/ch7006_mode.c __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \ scale 336 drivers/gpu/drm/i2c/ch7006_mode.c uint64_t scale, aspect; scale 346 drivers/gpu/drm/i2c/ch7006_mode.c scale = norm->vtotal*fixed1; scale 347 drivers/gpu/drm/i2c/ch7006_mode.c do_div(scale, mode->vtotal); scale 352 drivers/gpu/drm/i2c/ch7006_mode.c hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) scale 358 drivers/gpu/drm/i2c/ch7006_mode.c vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) scale 96 drivers/gpu/drm/i2c/ch7006_priv.h int scale; scale 325 drivers/gpu/drm/i915/display/intel_ddi.c u8 scale; /* scale value */ scale 2263 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].scale, scale 5367 drivers/gpu/drm/i915/display/intel_display.c u16 skl_scaler_calc_phase(int sub, int scale, bool chroma_cosited) scale 5375 drivers/gpu/drm/i915/display/intel_display.c phase += scale / (2 * sub); scale 521 drivers/gpu/drm/i915/display/intel_display.h u16 skl_scaler_calc_phase(int sub, int scale, bool chroma_center); scale 268 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum port port, u32 margin, u32 scale, scale 287 drivers/gpu/drm/i915/display/intel_dpio_phy.c val |= margin << MARGIN_000_SHIFT | scale << UNIQ_TRANS_SCALE_SHIFT; scale 21 drivers/gpu/drm/i915/display/intel_dpio_phy.h enum port port, u32 margin, u32 scale, scale 489 drivers/gpu/drm/i915/display/intel_panel.c return scale(user_level, 0, user_max, scale 501 drivers/gpu/drm/i915/display/intel_panel.c hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); scale 513 drivers/gpu/drm/i915/display/intel_panel.c return scale(hw_level, panel->backlight.min, panel->backlight.max, scale 1565 drivers/gpu/drm/i915/display/intel_panel.c return scale(min, 0, 255, 0, panel->backlight.max); scale 380 drivers/gpu/drm/nouveau/dispnv04/dfp.c uint32_t diff, scale; scale 388 drivers/gpu/drm/nouveau/dispnv04/dfp.c scale = (1 << 12) * adjusted_mode->vdisplay / output_mode->vdisplay; scale 390 drivers/gpu/drm/nouveau/dispnv04/dfp.c XLATE(scale, divide_by_2, NV_PRAMDAC_FP_DEBUG_1_XSCALE_VALUE); scale 404 drivers/gpu/drm/nouveau/dispnv04/dfp.c scale = (1 << 12) * adjusted_mode->hdisplay / output_mode->hdisplay; scale 406 drivers/gpu/drm/nouveau/dispnv04/dfp.c XLATE(scale, divide_by_2, NV_PRAMDAC_FP_DEBUG_1_YSCALE_VALUE); scale 218 drivers/gpu/drm/nouveau/dispnv50/atom.h } scale; scale 239 drivers/gpu/drm/nouveau/dispnv50/atom.h bool scale:1; scale 49 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c evo_data(push, asyw->scale.sy << 16 | asyw->scale.sx); scale 50 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c evo_data(push, asyw->scale.sh << 16 | asyw->scale.sw); scale 51 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c evo_data(push, asyw->scale.dw); scale 152 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.scale) wndw->func->scale_set(wndw, asyw); scale 279 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->scale.sx = asyw->state.src_x >> 16; scale 280 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->scale.sy = asyw->state.src_y >> 16; scale 281 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->scale.sw = asyw->state.src_w >> 16; scale 282 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->scale.sh = asyw->state.src_h >> 16; scale 283 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->scale.dw = asyw->state.crtc_w; scale 284 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->scale.dh = asyw->state.crtc_h; scale 285 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (memcmp(&armw->scale, &asyw->scale, sizeof(asyw->scale))) scale 286 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->set.scale = true; scale 62 drivers/gpu/drm/radeon/radeon_legacy_crtc.c u32 scale, inc, crtc_more_cntl; scale 136 drivers/gpu/drm/radeon/radeon_legacy_crtc.c scale = ((xres + inc) * RADEON_HORZ_STRETCH_RATIO_MAX) scale 138 drivers/gpu/drm/radeon/radeon_legacy_crtc.c fp_horz_stretch |= (((scale) & RADEON_HORZ_STRETCH_RATIO_MASK) | scale 148 drivers/gpu/drm/radeon/radeon_legacy_crtc.c scale = ((yres + inc) * RADEON_VERT_STRETCH_RATIO_MAX) scale 150 drivers/gpu/drm/radeon/radeon_legacy_crtc.c fp_vert_stretch |= (((scale) & RADEON_VERT_STRETCH_RATIO_MASK) | scale 665 drivers/gpu/drm/sti/sti_hqvdp.c static void sti_hqvdp_update_hvsrc(enum sti_hvsrc_orient orient, int scale, scale 672 drivers/gpu/drm/sti/sti_hqvdp.c if (scale < SCALE_MAX_FOR_LEG_LUT_F) { scale 677 drivers/gpu/drm/sti/sti_hqvdp.c } else if (scale < SCALE_MAX_FOR_LEG_LUT_E) { scale 682 drivers/gpu/drm/sti/sti_hqvdp.c } else if (scale < SCALE_MAX_FOR_LEG_LUT_D) { scale 687 drivers/gpu/drm/sti/sti_hqvdp.c } else if (scale < SCALE_MAX_FOR_LEG_LUT_C) { scale 692 drivers/gpu/drm/sti/sti_hqvdp.c } else if (scale == SCALE_MAX_FOR_LEG_LUT_C) { scale 108 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c unsigned int scale, int_part, float_part; scale 110 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c scale = step >> (SUN8I_UI_SCALER_SCALE_FRAC - 3); scale 111 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c int_part = scale >> 3; scale 112 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c float_part = scale & 0x7; scale 848 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c unsigned int scale, int_part, float_part; scale 850 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c scale = step >> (SUN8I_VI_SCALER_SCALE_FRAC - 3); scale 851 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c int_part = scale >> 3; scale 852 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c float_part = scale & 0x7; scale 396 drivers/gpu/drm/vc4/vc4_plane.c u32 scale, recip; scale 398 drivers/gpu/drm/vc4/vc4_plane.c scale = (1 << 16) * src / dst; scale 403 drivers/gpu/drm/vc4/vc4_plane.c recip = ~0 / scale; scale 406 drivers/gpu/drm/vc4/vc4_plane.c VC4_SET_FIELD(scale, SCALER_TPZ0_SCALE) | scale 414 drivers/gpu/drm/vc4/vc4_plane.c u32 scale = (1 << 16) * src / dst; scale 418 drivers/gpu/drm/vc4/vc4_plane.c VC4_SET_FIELD(scale, SCALER_PPF_SCALE) | scale 25 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 42 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 59 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 76 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 94 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 125 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 136 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 148 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 159 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 183 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 194 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 205 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 3, scale 216 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 247 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 258 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 270 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 281 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 1, scale 305 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 316 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 327 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 3, scale 338 drivers/gpu/ipu-v3/ipu-ic-csc.c .scale = 2, scale 195 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[0] & 0x1fe0) >> 5) | (csc->params.scale << 8) | scale 81 drivers/hwmon/adm1025.c #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) scale 82 drivers/hwmon/adm1025.c #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ scale 83 drivers/hwmon/adm1025.c (val) >= (scale) * 255 / 192 ? 255 : \ scale 84 drivers/hwmon/adm1025.c ((val) * 192 + (scale) / 2) / (scale)) scale 108 drivers/hwmon/lm87.c #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) scale 109 drivers/hwmon/lm87.c #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ scale 110 drivers/hwmon/lm87.c (val) >= (scale) * 255 / 192 ? 255 : \ scale 111 drivers/hwmon/lm87.c ((val) * 192 + (scale) / 2) / (scale)) scale 53 drivers/hwmon/max197.c bool scale; scale 194 drivers/hwmon/max197.c if (data->scale) { scale 284 drivers/hwmon/max197.c data->scale = true; scale 287 drivers/hwmon/max197.c data->scale = false; scale 477 drivers/hwmon/nct6683.c int scale = 16; scale 481 drivers/hwmon/nct6683.c scale <<= 1; scale 482 drivers/hwmon/nct6683.c return reg * scale; scale 487 drivers/hwmon/nct6683.c int scale = 16; scale 491 drivers/hwmon/nct6683.c scale <<= 1; scale 493 drivers/hwmon/nct6683.c return clamp_val(DIV_ROUND_CLOSEST(val, scale), 0, 127); scale 33 drivers/hwmon/scmi-hwmon.c s8 scale = sensor->scale; scale 40 drivers/hwmon/scmi-hwmon.c scale += 3; scale 44 drivers/hwmon/scmi-hwmon.c scale += 6; scale 50 drivers/hwmon/scmi-hwmon.c if (scale == 0) scale 53 drivers/hwmon/scmi-hwmon.c if (abs(scale) > 19) scale 56 drivers/hwmon/scmi-hwmon.c f = __pow10(abs(scale)); scale 57 drivers/hwmon/scmi-hwmon.c if (scale > 0) scale 19 drivers/hwmon/scpi-hwmon.c unsigned int scale; scale 59 drivers/hwmon/scpi-hwmon.c if (scpi_scale[sensor->info.class] != sensor->scale) { scale 61 drivers/hwmon/scpi-hwmon.c do_div(*value, sensor->scale); scale 129 drivers/hwmon/scpi-hwmon.c const u32 *scale; scale 170 drivers/hwmon/scpi-hwmon.c scale = of_id->data; scale 219 drivers/hwmon/scpi-hwmon.c sensor->scale = scale[sensor->info.class]; scale 119 drivers/iio/accel/bma180.c int scale; scale 270 drivers/iio/accel/bma180.c data->scale = val; scale 491 drivers/iio/accel/bma180.c *val2 = data->scale; scale 146 drivers/iio/accel/bmc150-accel-core.c int scale; scale 500 drivers/iio/accel/bmc150-accel-core.c if (data->chip_info->scale_table[i].scale == val) { scale 614 drivers/iio/accel/bmc150-accel-core.c *val2 = si->scale; scale 265 drivers/iio/accel/kxcjk-1013.c u16 scale; scale 720 drivers/iio/accel/kxcjk-1013.c if (KXCJK1013_scale_table[i].scale == val) { scale 782 drivers/iio/accel/kxcjk-1013.c *val2 = KXCJK1013_scale_table[data->range].scale; scale 77 drivers/iio/accel/kxsd9.c u8 scale; scale 118 drivers/iio/accel/kxsd9.c st->scale = i; scale 346 drivers/iio/accel/kxsd9.c st->scale); scale 435 drivers/iio/accel/kxsd9.c st->scale = KXSD9_CTRL_C_FS_2G; scale 73 drivers/iio/accel/mxc4005.c int scale; scale 179 drivers/iio/accel/mxc4005.c return mxc4005_scale_table[i].scale; scale 189 drivers/iio/accel/mxc4005.c if (mxc4005_scale_table[i].scale == val) { scale 198 drivers/iio/accel/sca3000.c unsigned int scale; scale 229 drivers/iio/accel/sca3000.c .scale = 7357, scale 240 drivers/iio/accel/sca3000.c .scale = 9810, scale 250 drivers/iio/accel/sca3000.c .scale = 19620, scale 263 drivers/iio/accel/sca3000.c .scale = 61313, scale 753 drivers/iio/accel/sca3000.c *val2 = st->info->scale; scale 617 drivers/iio/adc/at91-sama5d2_adc.c u32 scale, result, pos; scale 631 drivers/iio/adc/at91-sama5d2_adc.c scale = (val >> 16) & AT91_SAMA5D2_XYZ_MASK; scale 632 drivers/iio/adc/at91-sama5d2_adc.c if (scale == 0) { scale 636 drivers/iio/adc/at91-sama5d2_adc.c result /= scale; scale 30 drivers/iio/adc/hx711.c int scale; scale 64 drivers/iio/adc/hx711.c return hx711_gain_to_scale[i].scale; scale 68 drivers/iio/adc/hx711.c static int hx711_get_scale_to_gain(int scale) scale 73 drivers/iio/adc/hx711.c if (hx711_gain_to_scale[i].scale == scale) scale 409 drivers/iio/adc/hx711.c hx711_gain_to_scale[i].scale); scale 541 drivers/iio/adc/hx711.c hx711_gain_to_scale[i].scale = scale 163 drivers/iio/adc/sc27xx_adc.c static int sc27xx_adc_get_ratio(int channel, int scale) scale 170 drivers/iio/adc/sc27xx_adc.c return scale ? SC27XX_VOLT_RATIO(400, 1025) : scale 178 drivers/iio/adc/sc27xx_adc.c return scale ? SC27XX_VOLT_RATIO(100, 125) : scale 189 drivers/iio/adc/sc27xx_adc.c int scale, int *val) scale 211 drivers/iio/adc/sc27xx_adc.c tmp = (scale << SC27XX_ADC_SCALE_SHIFT) & SC27XX_ADC_SCALE_MASK; scale 262 drivers/iio/adc/sc27xx_adc.c int channel, int scale, scale 265 drivers/iio/adc/sc27xx_adc.c u32 ratio = sc27xx_adc_get_ratio(channel, scale); scale 284 drivers/iio/adc/sc27xx_adc.c int scale, int raw_adc) scale 308 drivers/iio/adc/sc27xx_adc.c sc27xx_adc_volt_ratio(data, channel, scale, &numerator, &denominator); scale 314 drivers/iio/adc/sc27xx_adc.c int channel, int scale, int *val) scale 318 drivers/iio/adc/sc27xx_adc.c ret = sc27xx_adc_read(data, channel, scale, &raw_adc); scale 322 drivers/iio/adc/sc27xx_adc.c *val = sc27xx_adc_convert_volt(data, channel, scale, raw_adc); scale 331 drivers/iio/adc/sc27xx_adc.c int scale = data->channel_scale[chan->channel]; scale 337 drivers/iio/adc/sc27xx_adc.c ret = sc27xx_adc_read(data, chan->channel, scale, &tmp); scale 348 drivers/iio/adc/sc27xx_adc.c ret = sc27xx_adc_read_processed(data, chan->channel, scale, scale 359 drivers/iio/adc/sc27xx_adc.c *val = scale; scale 418 drivers/iio/adc/sun4i-gpadc-iio.c int val, scale, offset; scale 423 drivers/iio/adc/sun4i-gpadc-iio.c sun4i_gpadc_temp_scale(info->indio_dev, &scale); scale 426 drivers/iio/adc/sun4i-gpadc-iio.c *temp = (val + offset) * scale; scale 409 drivers/iio/adc/ti-ads1015.c int scale, int uscale) scale 412 drivers/iio/adc/ti-ads1015.c int fullscale = div_s64((scale * 1000000LL + uscale) << scale 84 drivers/iio/adc/ti-ads8688.c unsigned int scale; scale 92 drivers/iio/adc/ti-ads8688.c .scale = 76295, scale 97 drivers/iio/adc/ti-ads8688.c .scale = 38148, scale 102 drivers/iio/adc/ti-ads8688.c .scale = 19074, scale 107 drivers/iio/adc/ti-ads8688.c .scale = 38148, scale 112 drivers/iio/adc/ti-ads8688.c .scale = 19074, scale 124 drivers/iio/adc/ti-ads8688.c ads8688_range_def[0].scale * st->vref_mv, scale 125 drivers/iio/adc/ti-ads8688.c ads8688_range_def[1].scale * st->vref_mv, scale 126 drivers/iio/adc/ti-ads8688.c ads8688_range_def[2].scale * st->vref_mv); scale 263 drivers/iio/adc/ti-ads8688.c scale_mv *= ads8688_range_def[st->range[chan->channel]].scale; scale 297 drivers/iio/adc/ti-ads8688.c unsigned int scale = 0; scale 305 drivers/iio/adc/ti-ads8688.c if (offset == 0 && val2 == ads8688_range_def[0].scale * st->vref_mv) { scale 312 drivers/iio/adc/ti-ads8688.c if (val2 == ads8688_range_def[i].scale * st->vref_mv && scale 340 drivers/iio/adc/ti-ads8688.c scale = ads8688_range_def[st->range[chan->channel]].scale; scale 345 drivers/iio/adc/ti-ads8688.c scale == ads8688_range_def[i].scale) { scale 89 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[i].scale = scale 90 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.resp->sensor_scale.scale[i]; scale 92 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val = st->core.calib[idx].scale >> 15; scale 93 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val2 = ((st->core.calib[idx].scale & 0x7FFF) * 1000000LL) / scale 178 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[idx].scale = val; scale 185 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_scale.scale[i] = scale 186 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[i].scale; scale 141 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c state->calib[i].scale = MOTION_SENSE_DEFAULT_SCALE; scale 512 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale) scale 518 drivers/iio/common/st_sensors/st_sensors_core.c if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && scale 128 drivers/iio/gyro/bmg160_core.c int scale; scale 472 drivers/iio/gyro/bmg160_core.c if (bmg160_scale_table[i].scale == val) { scale 590 drivers/iio/gyro/bmg160_core.c *val2 = bmg160_scale_table[i].scale; scale 495 drivers/iio/gyro/fxas21002c_core.c int scale; scale 503 drivers/iio/gyro/fxas21002c_core.c scale = fxas21002c_range_fs_from_value(data, fs_bits); scale 504 drivers/iio/gyro/fxas21002c_core.c if (scale < 0) { scale 505 drivers/iio/gyro/fxas21002c_core.c ret = scale; scale 509 drivers/iio/gyro/fxas21002c_core.c *val = scale; scale 477 drivers/iio/imu/adis16480.c const struct iio_chan_spec *chan, int scale) scale 482 drivers/iio/imu/adis16480.c if (scale < -0x8000 || scale >= 0x8000) scale 485 drivers/iio/imu/adis16480.c return adis_write_reg_16(&st->adis, reg, scale); scale 489 drivers/iio/imu/adis16480.c const struct iio_chan_spec *chan, int *scale) scale 500 drivers/iio/imu/adis16480.c *scale = sign_extend32(val16, 15); scale 483 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c *val = st->hw->temp.scale / 1000000; scale 484 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c *val2 = st->hw->temp.scale % 1000000; scale 114 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h int scale; scale 589 drivers/iio/inkern.c int raw, int *processed, unsigned int scale) scale 619 drivers/iio/inkern.c *processed += div_s64(raw64 * (s64)scale_val2 * scale, scale 627 drivers/iio/inkern.c *processed += div_s64(raw64 * (s64)scale_val2 * scale, scale 631 drivers/iio/inkern.c *processed = div_s64(raw64 * (s64)scale_val * scale, scale 635 drivers/iio/inkern.c *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; scale 645 drivers/iio/inkern.c int *processed, unsigned int scale) scale 656 drivers/iio/inkern.c scale); scale 71 drivers/iio/light/isl29018.c unsigned int scale; scale 87 drivers/iio/light/isl29018.c struct isl29018_scale scale; scale 119 drivers/iio/light/isl29018.c if (chip->scale.scale == isl29018_scales[int_time][i].scale && scale 120 drivers/iio/light/isl29018.c chip->scale.uscale == isl29018_scales[int_time][i].uscale) { scale 121 drivers/iio/light/isl29018.c chip->scale = isl29018_scales[new_int_time][i]; scale 130 drivers/iio/light/isl29018.c static int isl29018_set_scale(struct isl29018_chip *chip, int scale, int uscale) scale 137 drivers/iio/light/isl29018.c if (scale == isl29018_scales[chip->int_time][i].scale && scale 153 drivers/iio/light/isl29018.c chip->scale = new_scale; scale 202 drivers/iio/light/isl29018.c data_x_range = lux_data * chip->scale.scale + scale 203 drivers/iio/light/isl29018.c lux_data * chip->scale.uscale / 1000000; scale 276 drivers/iio/light/isl29018.c isl29018_scales[chip->int_time][i].scale, scale 443 drivers/iio/light/isl29018.c *val = chip->scale.scale; scale 444 drivers/iio/light/isl29018.c *val2 = chip->scale.uscale; scale 603 drivers/iio/light/isl29018.c status = isl29018_set_scale(chip, chip->scale.scale, scale 604 drivers/iio/light/isl29018.c chip->scale.uscale); scale 745 drivers/iio/light/isl29018.c chip->scale = isl29018_scales[chip->int_time][0]; scale 100 drivers/iio/light/ltr501.c int scale; scale 687 drivers/iio/light/ltr501.c *val = data->chip_info->als_gain[i].scale; scale 693 drivers/iio/light/ltr501.c *val = data->chip_info->ps_gain[i].scale; scale 725 drivers/iio/light/ltr501.c if (val == gain[i].scale && val2 == gain[i].uscale) scale 1089 drivers/iio/light/ltr501.c if (info->ps_gain[i].scale == LTR501_RESERVED_GAIN) scale 1092 drivers/iio/light/ltr501.c info->ps_gain[i].scale, scale 1111 drivers/iio/light/ltr501.c if (info->als_gain[i].scale == LTR501_RESERVED_GAIN) scale 1114 drivers/iio/light/ltr501.c info->als_gain[i].scale, scale 42 drivers/iio/light/lv0104cs.c u8 scale; scale 167 drivers/iio/light/lv0104cs.c regval |= lv0104cs_scales[lv0104cs->scale].regval; scale 200 drivers/iio/light/lv0104cs.c switch (lv0104cs->scale) { scale 253 drivers/iio/light/lv0104cs.c *val = lv0104cs_scales[lv0104cs->scale].val; scale 254 drivers/iio/light/lv0104cs.c *val2 = lv0104cs_scales[lv0104cs->scale].val2; scale 339 drivers/iio/light/lv0104cs.c lv0104cs->scale = i; scale 496 drivers/iio/light/lv0104cs.c lv0104cs->scale = LV0104CS_SCALE_1X; scale 152 drivers/iio/light/opt3001.c const struct opt3001_scale *scale = &opt3001_scales[i]; scale 160 drivers/iio/light/opt3001.c (scale->val * 1000 + scale->val2 / 1000)) { scale 80 drivers/iio/light/rpr0521.c int scale; scale 588 drivers/iio/light/rpr0521.c *val = rpr0521_gain[chan].gain[idx].scale; scale 601 drivers/iio/light/rpr0521.c if (val == rpr0521_gain[chan].gain[i].scale && scale 82 drivers/iio/light/zopt2201.c unsigned int scale; /* micro lux per count */ scale 93 drivers/iio/light/zopt2201.c unsigned int scale; /* micro W/m2 per count */ scale 115 drivers/iio/light/zopt2201.c unsigned int scale, uscale; /* scale factor as integer + micro */ scale 144 drivers/iio/light/zopt2201.c unsigned int scale, uscale; /* scale factor as integer + micro */ scale 278 drivers/iio/light/zopt2201.c *val = zopt2201_gain_als[data->gain].scale; scale 281 drivers/iio/light/zopt2201.c *val = zopt2201_gain_uvb[data->gain].scale; scale 371 drivers/iio/light/zopt2201.c if (val == zopt2201_scale_als[i].scale && scale 401 drivers/iio/light/zopt2201.c if (val == zopt2201_scale_uvb[i].scale && scale 457 drivers/iio/light/zopt2201.c zopt2201_scale_als[i].scale, scale 473 drivers/iio/light/zopt2201.c zopt2201_scale_uvb[i].scale, scale 78 drivers/iio/magnetometer/rm3100-core.c int scale; scale 322 drivers/iio/magnetometer/rm3100-core.c data->scale = 500; scale 325 drivers/iio/magnetometer/rm3100-core.c data->scale = 263; scale 333 drivers/iio/magnetometer/rm3100-core.c data->scale = 133; scale 418 drivers/iio/magnetometer/rm3100-core.c *val2 = data->scale; scale 88 drivers/iio/pressure/abp060mg.c int scale; scale 148 drivers/iio/pressure/abp060mg.c *val = state->scale; scale 170 drivers/iio/pressure/abp060mg.c state->scale = cfg->max - cfg->min; scale 110 drivers/input/keyboard/qt1050.c u32 scale; scale 327 drivers/input/keyboard/qt1050.c (button->samples << 4) | (button->scale)); scale 400 drivers/input/keyboard/qt1050.c &button.scale)) { scale 401 drivers/input/keyboard/qt1050.c button.scale = 0; scale 403 drivers/input/keyboard/qt1050.c if (is_power_of_2(button.scale)) scale 404 drivers/input/keyboard/qt1050.c button.scale = ilog2(button.scale); scale 406 drivers/input/keyboard/qt1050.c button.scale = 0; scale 401 drivers/input/mouse/focaltech.c enum psmouse_scale scale) scale 485 drivers/input/mouse/psmouse-base.c static void psmouse_set_scale(struct psmouse *psmouse, enum psmouse_scale scale) scale 488 drivers/input/mouse/psmouse-base.c scale == PSMOUSE_SCALE21 ? PSMOUSE_CMD_SETSCALE21 : scale 121 drivers/input/mouse/psmouse.h void (*set_scale)(struct psmouse *psmouse, enum psmouse_scale scale); scale 31 drivers/leds/leds-lp8788.c enum lp8788_isink_scale scale; scale 37 drivers/leds/leds-lp8788.c .scale = LP8788_ISINK_SCALE_100mA, scale 50 drivers/leds/leds-lp8788.c cfg->scale = pdata->scale; scale 60 drivers/leds/leds-lp8788.c val = cfg->scale << (cfg->num + LP8788_ISINK_SCALE_OFFSET); scale 250 drivers/macintosh/windfarm_pm81.c s32 scale; scale 427 drivers/macintosh/windfarm_pm81.c wf_smu_cpu_fans->scale = WF_SMU_CPU_FANS_SIBLING_SCALE; scale 515 drivers/macintosh/windfarm_pm81.c systarget = ((((s64)systarget) * (s64)st->scale) >> 12) scale 3707 drivers/md/md.c int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale) scale 3714 drivers/md/md.c else if (decimals < scale) { scale 3729 drivers/md/md.c *res = result * int_pow(10, scale - decimals); scale 7816 drivers/md/md.c int scale, recovery_active; scale 7870 drivers/md/md.c scale = 10; scale 7872 drivers/md/md.c while ( max_sectors/2 > (1ULL<<(scale+32))) scale 7873 drivers/md/md.c scale++; scale 7875 drivers/md/md.c res = (resync>>scale)*1000; scale 7876 drivers/md/md.c sector_div(res, (u32)((max_sectors>>scale)+1)); scale 721 drivers/md/md.h extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale); scale 136 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 137 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 150 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 151 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 152 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 153 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 251 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 252 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 257 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 258 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 306 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 307 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 312 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 313 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 341 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 376 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 377 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 380 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 381 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 396 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i + 1].scale = FE_SCALE_COUNTER; scale 397 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; scale 406 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i + 1].scale = FE_SCALE_COUNTER; scale 407 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i + 1].scale = FE_SCALE_COUNTER; scale 460 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 461 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 464 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 465 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 484 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i + 1].scale = FE_SCALE_COUNTER; scale 485 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; scale 494 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i + 1].scale = FE_SCALE_COUNTER; scale 495 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i + 1].scale = FE_SCALE_COUNTER; scale 629 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 633 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 711 drivers/media/dvb-frontends/af9013.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 715 drivers/media/dvb-frontends/af9013.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 768 drivers/media/dvb-frontends/af9013.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 770 drivers/media/dvb-frontends/af9013.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 773 drivers/media/dvb-frontends/af9013.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 775 drivers/media/dvb-frontends/af9013.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 779 drivers/media/dvb-frontends/af9013.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 780 drivers/media/dvb-frontends/af9013.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 782 drivers/media/dvb-frontends/af9013.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 783 drivers/media/dvb-frontends/af9013.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 285 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 287 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 289 drivers/media/dvb-frontends/af9033.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 291 drivers/media/dvb-frontends/af9033.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 293 drivers/media/dvb-frontends/af9033.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 295 drivers/media/dvb-frontends/af9033.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 671 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 675 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 764 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 767 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 796 drivers/media/dvb-frontends/af9033.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 800 drivers/media/dvb-frontends/af9033.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 804 drivers/media/dvb-frontends/af9033.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 808 drivers/media/dvb-frontends/af9033.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 829 drivers/media/dvb-frontends/af9033.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) { scale 326 drivers/media/dvb-frontends/cx24120.c if (c->cnr.stat[0].scale != FE_SCALE_DECIBEL) scale 339 drivers/media/dvb-frontends/cx24120.c if (c->post_bit_error.stat[0].scale != FE_SCALE_COUNTER) { scale 431 drivers/media/dvb-frontends/cx24120.c if (c->strength.stat[0].scale != FE_SCALE_RELATIVE) scale 637 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 640 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 652 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 655 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 660 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 661 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 662 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 663 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 678 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 681 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 697 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 700 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 1449 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1451 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1453 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1455 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1457 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1459 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1536 drivers/media/dvb-frontends/cx24120.c if (c->block_error.stat[0].scale != FE_SCALE_COUNTER) { scale 189 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 193 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 224 drivers/media/dvb-frontends/cxd2820r_c.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 228 drivers/media/dvb-frontends/cxd2820r_c.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 265 drivers/media/dvb-frontends/cxd2820r_c.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 269 drivers/media/dvb-frontends/cxd2820r_c.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 225 drivers/media/dvb-frontends/cxd2820r_core.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) scale 241 drivers/media/dvb-frontends/cxd2820r_core.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) scale 294 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 298 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 318 drivers/media/dvb-frontends/cxd2820r_t.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 322 drivers/media/dvb-frontends/cxd2820r_t.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 359 drivers/media/dvb-frontends/cxd2820r_t.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 363 drivers/media/dvb-frontends/cxd2820r_t.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 319 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 323 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 345 drivers/media/dvb-frontends/cxd2820r_t2.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 349 drivers/media/dvb-frontends/cxd2820r_t2.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 371 drivers/media/dvb-frontends/cxd2820r_t2.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 375 drivers/media/dvb-frontends/cxd2820r_t2.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1967 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1968 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1973 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1975 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1978 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1979 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1995 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 2004 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 2014 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 2024 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 2028 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 2063 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 2071 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 2074 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 2101 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 2106 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 3279 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3287 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3288 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3289 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3290 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3357 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 3358 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3359 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3360 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3361 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3760 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 3762 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3764 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3766 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3768 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1049 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1052 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1055 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1058 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1061 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1064 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1140 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1142 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1144 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1146 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1148 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1150 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1176 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1179 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1183 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1185 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1211 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1214 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1218 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = scale 1221 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = scale 1247 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 1250 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 1254 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1256 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1586 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 1590 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1597 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 1601 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1780 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 1784 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1791 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 1795 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1683 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 1686 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1687 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1688 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1689 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1690 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1921 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1922 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1923 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1924 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1925 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1940 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 1948 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 1958 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 1973 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1976 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1984 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 1991 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 1014 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 1017 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1018 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1019 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1020 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1021 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 4123 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 4124 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 4125 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 4126 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 4127 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 4150 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 4157 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 4167 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 4182 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 4185 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 4212 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[1 + i].scale = FE_SCALE_COUNTER; scale 4215 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[1 + i].scale = FE_SCALE_COUNTER; scale 4222 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[1 + i].scale = FE_SCALE_COUNTER; scale 4230 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 1107 drivers/media/dvb-frontends/drx39xyj/drxj.c static const u8 scale = 15; scale 1161 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((x & (((u32) (-1)) << (scale + 1))) == 0) { scale 1162 drivers/media/dvb-frontends/drx39xyj/drxj.c for (k = scale; k > 0; k--) { scale 1163 drivers/media/dvb-frontends/drx39xyj/drxj.c if (x & (((u32) 1) << scale)) scale 1168 drivers/media/dvb-frontends/drx39xyj/drxj.c for (k = scale; k < 31; k++) { scale 1169 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((x & (((u32) (-1)) << (scale + 1))) == 0) scale 1179 drivers/media/dvb-frontends/drx39xyj/drxj.c y = k * ((((u32) 1) << scale) * 200); scale 1182 drivers/media/dvb-frontends/drx39xyj/drxj.c x &= ((((u32) 1) << scale) - 1); scale 1184 drivers/media/dvb-frontends/drx39xyj/drxj.c i = (u8) (x >> (scale - index_width)); scale 1186 drivers/media/dvb-frontends/drx39xyj/drxj.c d = x & ((((u32) 1) << (scale - index_width)) - 1); scale 1189 drivers/media/dvb-frontends/drx39xyj/drxj.c ((d * (log2lut[i + 1] - log2lut[i])) >> (scale - index_width)); scale 9488 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 9618 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 9619 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 9620 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 9621 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 9622 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 9623 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 9649 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 9650 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 9651 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 9652 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 9653 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 9654 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10685 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10687 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 10701 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10702 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10703 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10704 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10705 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10706 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10707 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10712 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10714 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 10716 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 10724 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10726 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 10728 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 10735 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10737 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 10739 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 10745 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 10748 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 12011 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->pre_bit_error.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { scale 12033 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { scale 12047 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->cnr.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { scale 12062 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->block_error.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { scale 12169 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 12349 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 12350 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 12351 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 12352 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 12353 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 12354 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 12355 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 12356 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6391 drivers/media/dvb-frontends/drxk_hard.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 6392 drivers/media/dvb-frontends/drxk_hard.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6393 drivers/media/dvb-frontends/drxk_hard.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6394 drivers/media/dvb-frontends/drxk_hard.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6395 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6396 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6397 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6398 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6541 drivers/media/dvb-frontends/drxk_hard.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 6547 drivers/media/dvb-frontends/drxk_hard.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 6549 drivers/media/dvb-frontends/drxk_hard.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6553 drivers/media/dvb-frontends/drxk_hard.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6554 drivers/media/dvb-frontends/drxk_hard.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6555 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6556 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6557 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6558 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6610 drivers/media/dvb-frontends/drxk_hard.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 6612 drivers/media/dvb-frontends/drxk_hard.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 6615 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 6617 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 6620 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 6622 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 6843 drivers/media/dvb-frontends/drxk_hard.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 6844 drivers/media/dvb-frontends/drxk_hard.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6845 drivers/media/dvb-frontends/drxk_hard.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6846 drivers/media/dvb-frontends/drxk_hard.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6847 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6848 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6849 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 6850 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 290 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 292 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 294 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 680 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 681 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 682 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 694 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 697 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 711 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 712 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 714 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 715 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 786 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 787 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 788 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 800 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 803 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 817 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 818 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 820 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 821 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 191 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 194 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 197 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 276 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 278 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 281 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 282 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 713 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 715 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 717 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 938 drivers/media/dvb-frontends/m88ds3103.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) scale 1415 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 1459 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1503 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[1 + layer].scale = FE_SCALE_DECIBEL; scale 1555 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 1560 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1561 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1562 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1563 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1564 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1565 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1566 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1607 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[1 + layer].scale = FE_SCALE_COUNTER; scale 1609 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[1 + layer].scale = FE_SCALE_COUNTER; scale 1616 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1617 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1622 drivers/media/dvb-frontends/mb86a20s.c if (c->block_error.stat[1 + layer].scale != FE_SCALE_NOT_AVAILABLE) scale 1629 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[1 + layer].scale = FE_SCALE_COUNTER; scale 1631 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[1 + layer].scale = FE_SCALE_COUNTER; scale 1638 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1639 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1644 drivers/media/dvb-frontends/mb86a20s.c if (c->block_error.stat[1 + layer].scale != FE_SCALE_NOT_AVAILABLE) scale 1652 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[1 + layer].scale = FE_SCALE_COUNTER; scale 1654 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[1 + layer].scale = FE_SCALE_COUNTER; scale 1661 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1662 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; scale 1668 drivers/media/dvb-frontends/mb86a20s.c if (c->block_error.stat[1 + layer].scale != FE_SCALE_NOT_AVAILABLE) scale 1697 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1699 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1702 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1703 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1718 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1720 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1723 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1724 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1735 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 1737 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 1740 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1741 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 277 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 286 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 291 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 325 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 331 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 332 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 346 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 349 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 480 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 490 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 495 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 514 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 519 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 520 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 538 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 541 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 84 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 87 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 110 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 145 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 168 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 170 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 184 drivers/media/dvb-frontends/mn88472.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 186 drivers/media/dvb-frontends/mn88472.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 189 drivers/media/dvb-frontends/mn88472.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 190 drivers/media/dvb-frontends/mn88472.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 324 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 327 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 349 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 383 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 405 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 407 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 424 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 426 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 429 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 430 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 444 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 446 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; scale 449 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 450 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 532 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 534 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 536 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 538 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 540 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 542 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 349 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 351 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 353 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 355 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 357 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 359 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 537 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 561 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 563 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 579 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 581 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 585 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 587 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 614 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 644 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 649 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 650 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 651 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 652 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 121 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 123 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 125 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 127 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 423 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 426 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 465 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 468 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 483 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 485 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 488 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 489 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 503 drivers/media/dvb-frontends/rtl2830.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) scale 533 drivers/media/dvb-frontends/rtl2830.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) scale 354 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 356 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 358 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 360 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 679 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 682 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 721 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 724 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 739 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 741 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 744 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 745 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 759 drivers/media/dvb-frontends/rtl2832.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) scale 641 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 643 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 645 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 737 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 740 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 744 drivers/media/dvb-frontends/si2165.c if (c->post_bit_error.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { scale 751 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 752 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 792 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 793 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 803 drivers/media/dvb-frontends/si2165.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) scale 815 drivers/media/dvb-frontends/si2165.c if (c->post_bit_error.stat[0].scale != FE_SCALE_COUNTER) { scale 163 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 167 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 195 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 197 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 200 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 201 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 218 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 221 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 533 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 535 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 537 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 539 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3036 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3040 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 3069 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3073 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 3091 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3095 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 3127 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3133 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3252 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3254 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 3256 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1327 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 1330 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1344 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 1346 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; scale 1375 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 1402 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1403 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1404 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1405 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1537 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1543 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1544 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1767 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1769 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1771 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1773 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 252 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 278 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_DECIBEL; scale 288 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 291 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; scale 301 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 304 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; scale 410 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 438 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_DECIBEL; scale 448 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 451 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; scale 461 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; scale 464 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; scale 408 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 411 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 421 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 424 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 477 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 480 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; scale 485 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; scale 487 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 490 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 491 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 504 drivers/media/dvb-frontends/tda10071.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) scale 516 drivers/media/dvb-frontends/tda10071.c if (c->strength.stat[0].scale == FE_SCALE_DECIBEL) { scale 539 drivers/media/dvb-frontends/tda10071.c if (c->block_error.stat[0].scale == FE_SCALE_COUNTER) scale 1021 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1023 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1025 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 1027 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 144 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 441 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 464 drivers/media/dvb-frontends/ts2020.c if (c->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { scale 165 drivers/media/i2c/rj54n1cb0c.c unsigned short scale; scale 234 drivers/media/i2c/tw9910.c const struct tw9910_scale_ctrl *scale; scale 353 drivers/media/i2c/tw9910.c const struct tw9910_scale_ctrl *scale) scale 358 drivers/media/i2c/tw9910.c (scale->vscale & 0x0F00) >> 4 | scale 359 drivers/media/i2c/tw9910.c (scale->hscale & 0x0F00) >> 8); scale 364 drivers/media/i2c/tw9910.c scale->hscale & 0x00FF); scale 369 drivers/media/i2c/tw9910.c scale->vscale & 0x00FF); scale 431 drivers/media/i2c/tw9910.c const struct tw9910_scale_ctrl *scale; scale 437 drivers/media/i2c/tw9910.c scale = tw9910_ntsc_scales; scale 440 drivers/media/i2c/tw9910.c scale = tw9910_pal_scales; scale 447 drivers/media/i2c/tw9910.c tmp = abs(width - scale[i].width) + scale 448 drivers/media/i2c/tw9910.c abs(height - scale[i].height); scale 451 drivers/media/i2c/tw9910.c ret = scale + i; scale 483 drivers/media/i2c/tw9910.c if (!priv->scale) { scale 489 drivers/media/i2c/tw9910.c priv->scale->name, scale 490 drivers/media/i2c/tw9910.c priv->scale->width, scale 491 drivers/media/i2c/tw9910.c priv->scale->height); scale 657 drivers/media/i2c/tw9910.c priv->scale = tw9910_select_norm(priv->norm, *width, *height); scale 658 drivers/media/i2c/tw9910.c if (!priv->scale) scale 700 drivers/media/i2c/tw9910.c ret = tw9910_set_scale(client, priv->scale); scale 709 drivers/media/i2c/tw9910.c *width = priv->scale->width; scale 710 drivers/media/i2c/tw9910.c *height = priv->scale->height; scale 717 drivers/media/i2c/tw9910.c priv->scale = NULL; scale 759 drivers/media/i2c/tw9910.c if (!priv->scale) { scale 760 drivers/media/i2c/tw9910.c priv->scale = tw9910_select_norm(priv->norm, 640, 480); scale 761 drivers/media/i2c/tw9910.c if (!priv->scale) scale 765 drivers/media/i2c/tw9910.c mf->width = priv->scale->width; scale 766 drivers/media/i2c/tw9910.c mf->height = priv->scale->height; scale 806 drivers/media/i2c/tw9910.c const struct tw9910_scale_ctrl *scale; scale 822 drivers/media/i2c/tw9910.c scale = tw9910_select_norm(priv->norm, mf->width, mf->height); scale 823 drivers/media/i2c/tw9910.c if (!scale) scale 826 drivers/media/i2c/tw9910.c mf->width = scale->width; scale 827 drivers/media/i2c/tw9910.c mf->height = scale->height; scale 872 drivers/media/i2c/tw9910.c priv->scale = &tw9910_ntsc_scales[0]; scale 87 drivers/media/pci/ddbridge/ddbridge-sx8.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; scale 104 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 63 drivers/media/pci/solo6x10/solo6x10-v4l2.c int sx, int sy, int ex, int ey, int scale) scale 73 drivers/media/pci/solo6x10/solo6x10-v4l2.c SOLO_VI_WIN_SCALE(scale)); scale 205 drivers/media/platform/coda/coda-jpeg.c static void coda_scale_quant_table(u8 *q_tab, int scale) scale 211 drivers/media/platform/coda/coda-jpeg.c temp = DIV_ROUND_CLOSEST((unsigned int)q_tab[i] * scale, 100); scale 222 drivers/media/platform/coda/coda-jpeg.c unsigned int scale; scale 237 drivers/media/platform/coda/coda-jpeg.c scale = 5000 / quality; scale 239 drivers/media/platform/coda/coda-jpeg.c scale = 200 - 2 * quality; scale 243 drivers/media/platform/coda/coda-jpeg.c coda_scale_quant_table(ctx->params.jpeg_qmat_tab[0], scale); scale 247 drivers/media/platform/coda/coda-jpeg.c coda_scale_quant_table(ctx->params.jpeg_qmat_tab[1], scale); scale 31 drivers/media/platform/sti/bdisp/bdisp-hw.c bool scale; /* Scale */ scale 698 drivers/media/platform/sti/bdisp/bdisp-hw.c c->scale = true; scale 700 drivers/media/platform/sti/bdisp/bdisp-hw.c c->scale = false; scale 824 drivers/media/platform/sti/bdisp/bdisp-hw.c node->ins |= (cfg->scale || cfg->src_420 || cfg->dst_420) ? scale 929 drivers/media/platform/sti/bdisp/bdisp-hw.c if (cfg->scale) { scale 79 drivers/media/tuners/mxl301rf.c rssi->stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 103 drivers/media/tuners/mxl301rf.c rssi->stat[0].scale = FE_SCALE_DECIBEL; scale 231 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 414 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; scale 420 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 435 drivers/media/tuners/tda18250.c unsigned int uval, exp, lopd, scale; scale 446 drivers/media/tuners/tda18250.c scale = uval & 0x0f; scale 447 drivers/media/tuners/tda18250.c fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); scale 487 drivers/media/tuners/tda18250.c lopd, scale, fvco, *rdiv, *ndiv, *icp); scale 227 drivers/media/usb/dvb-usb-v2/lmedm04.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 229 drivers/media/usb/dvb-usb-v2/lmedm04.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 231 drivers/media/usb/dvb-usb-v2/lmedm04.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 233 drivers/media/usb/dvb-usb-v2/lmedm04.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 237 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 239 drivers/media/usb/dvb-usb-v2/lmedm04.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; scale 259 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; scale 263 drivers/media/usb/dvb-usb-v2/lmedm04.c c->cnr.stat[0].scale = FE_SCALE_RELATIVE; scale 902 drivers/media/usb/dvb-usb-v2/lmedm04.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) scale 918 drivers/media/usb/dvb-usb-v2/lmedm04.c if (c->cnr.stat[0].scale == FE_SCALE_RELATIVE) scale 1987 drivers/media/usb/gspca/sn9c20x.c u8 fmt, scale = 0; scale 2003 drivers/media/usb/gspca/sn9c20x.c scale = 0xc0; scale 2007 drivers/media/usb/gspca/sn9c20x.c scale = 0x80; scale 2011 drivers/media/usb/gspca/sn9c20x.c scale = 0x90; scale 2015 drivers/media/usb/gspca/sn9c20x.c scale = 0xa0; scale 2025 drivers/media/usb/gspca/sn9c20x.c reg_w1(gspca_dev, 0x1189, scale); scale 135 drivers/media/usb/s2255/s2255drv.c u32 scale; /* output video scale */ scale 843 drivers/media/usb/s2255/s2255drv.c mode.scale = SCALE_4CIFSI; scale 845 drivers/media/usb/s2255/s2255drv.c mode.scale = SCALE_4CIFS; scale 847 drivers/media/usb/s2255/s2255drv.c mode.scale = SCALE_2CIFS; scale 850 drivers/media/usb/s2255/s2255drv.c mode.scale = SCALE_1CIFS; scale 877 drivers/media/usb/s2255/s2255drv.c else if (mode.scale != vc->mode.scale) scale 913 drivers/media/usb/s2255/s2255drv.c switch (mode->scale) { scale 931 drivers/media/usb/s2255/s2255drv.c switch (mode->scale) { scale 969 drivers/media/usb/s2255/s2255drv.c dev_info(dev, "format: %d\nscale %d\n", mode->format, mode->scale); scale 4329 drivers/message/fusion/mptbase.c int scale, num_sge, numSGE; scale 4365 drivers/message/fusion/mptbase.c scale = ioc->req_sz / ioc->SGE_size; scale 4367 drivers/message/fusion/mptbase.c num_sge = scale + (ioc->req_sz - 60) / ioc->SGE_size; scale 4369 drivers/message/fusion/mptbase.c num_sge = 1 + scale + (ioc->req_sz - 64) / ioc->SGE_size; scale 4372 drivers/message/fusion/mptbase.c numSGE = (scale - 1) * (ioc->facts.MaxChainDepth-1) + scale + scale 4375 drivers/message/fusion/mptbase.c numSGE = 1 + (scale - 1) * (ioc->facts.MaxChainDepth-1) + scale 4376 drivers/message/fusion/mptbase.c scale + (ioc->req_sz - 64) / ioc->SGE_size; scale 4392 drivers/message/fusion/mptbase.c num_sge += (scale - 1); scale 1177 drivers/message/fusion/mptfc.c int scale; scale 1267 drivers/message/fusion/mptfc.c scale = ioc->req_sz/ioc->SGE_size; scale 1269 drivers/message/fusion/mptfc.c numSGE = (scale - 1) * scale 1270 drivers/message/fusion/mptfc.c (ioc->facts.MaxChainDepth-1) + scale + scale 1273 drivers/message/fusion/mptfc.c numSGE = 1 + (scale - 1) * scale 1274 drivers/message/fusion/mptfc.c (ioc->facts.MaxChainDepth-1) + scale + scale 5133 drivers/message/fusion/mptsas.c int scale; scale 5228 drivers/message/fusion/mptsas.c scale = ioc->req_sz/ioc->SGE_size; scale 5230 drivers/message/fusion/mptsas.c numSGE = (scale - 1) * scale 5231 drivers/message/fusion/mptsas.c (ioc->facts.MaxChainDepth-1) + scale + scale 5234 drivers/message/fusion/mptsas.c numSGE = 1 + (scale - 1) * scale 5235 drivers/message/fusion/mptsas.c (ioc->facts.MaxChainDepth-1) + scale + scale 1360 drivers/message/fusion/mptspi.c int scale; scale 1469 drivers/message/fusion/mptspi.c scale = ioc->req_sz/ioc->SGE_size; scale 1471 drivers/message/fusion/mptspi.c numSGE = (scale - 1) * scale 1472 drivers/message/fusion/mptspi.c (ioc->facts.MaxChainDepth-1) + scale + scale 1475 drivers/message/fusion/mptspi.c numSGE = 1 + (scale - 1) * scale 1476 drivers/message/fusion/mptspi.c (ioc->facts.MaxChainDepth-1) + scale + scale 184 drivers/mfd/wm8350-core.c int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, int vref) scale 191 drivers/mfd/wm8350-core.c && (scale != 0 || vref != 0)) scale 200 drivers/mfd/wm8350-core.c if (scale || vref) { scale 201 drivers/mfd/wm8350-core.c reg = scale << 13; scale 197 drivers/misc/lis3lv02d/lis3lv02d.c position[i] = (position[i] * lis3->scale) / LIS3_ACCURACY; scale 700 drivers/misc/lis3lv02d/lis3lv02d.c max_val = (lis3->mdps_max_val * lis3->scale) / LIS3_ACCURACY; scale 708 drivers/misc/lis3lv02d/lis3lv02d.c fuzz = (fuzz * lis3->scale) / LIS3_ACCURACY; scale 709 drivers/misc/lis3lv02d/lis3lv02d.c flat = (flat * lis3->scale) / LIS3_ACCURACY; scale 1121 drivers/misc/lis3lv02d/lis3lv02d.c lis3->scale = LIS3_SENSITIVITY_12B; scale 1132 drivers/misc/lis3lv02d/lis3lv02d.c lis3->scale = LIS3_SENSITIVITY_8B; scale 1143 drivers/misc/lis3lv02d/lis3lv02d.c lis3->scale = LIS3_SENSITIVITY_8B; scale 1153 drivers/misc/lis3lv02d/lis3lv02d.c lis3->scale = LIS3DLH_SENSITIVITY_2G; scale 279 drivers/misc/lis3lv02d/lis3lv02d.h int scale; /* scale 421 drivers/misc/xilinx_sdfec.c if (turbo.scale > XSDFEC_TURBO_SCALE_MAX) scale 428 drivers/misc/xilinx_sdfec.c turbo_write = ((turbo.scale & XSDFEC_TURBO_SCALE_MASK) scale 447 drivers/misc/xilinx_sdfec.c turbo_params.scale = (reg_value & XSDFEC_TURBO_SCALE_MASK) >> scale 6088 drivers/net/ethernet/broadcom/tg3.c u32 scale; scale 6092 drivers/net/ethernet/broadcom/tg3.c scale = 65; scale 6094 drivers/net/ethernet/broadcom/tg3.c scale = 6; scale 6096 drivers/net/ethernet/broadcom/tg3.c scale = 12; scale 6099 drivers/net/ethernet/broadcom/tg3.c val |= (scale << GRC_MISC_CFG_PRESCALAR_SHIFT); scale 1001 drivers/net/ethernet/intel/e1000e/ich8lan.c u16 speed, duplex, scale = 0; scale 1035 drivers/net/ethernet/intel/e1000e/ich8lan.c scale++; scale 1038 drivers/net/ethernet/intel/e1000e/ich8lan.c if (scale > E1000_LTRV_SCALE_MAX) { scale 1039 drivers/net/ethernet/intel/e1000e/ich8lan.c e_dbg("Invalid LTR latency scale %d\n", scale); scale 1042 drivers/net/ethernet/intel/e1000e/ich8lan.c lat_enc = (u16)((scale << PCI_LTR_SCALE_SHIFT) | value); scale 1902 drivers/net/ethernet/realtek/r8169_main.c const struct rtl_coalesce_scale *scale; scale 1923 drivers/net/ethernet/realtek/r8169_main.c scale = &ci->scalev[tp->cp_cmd & INTT_MASK]; scale 1934 drivers/net/ethernet/realtek/r8169_main.c *p->usecs = (*p->usecs * scale->nsecs[i]) / 1000; scale 1973 drivers/net/ethernet/realtek/r8169_main.c const struct rtl_coalesce_scale *scale; scale 1987 drivers/net/ethernet/realtek/r8169_main.c scale = rtl_coalesce_choose_scale(dev, scale 1989 drivers/net/ethernet/realtek/r8169_main.c if (IS_ERR(scale)) scale 1990 drivers/net/ethernet/realtek/r8169_main.c return PTR_ERR(scale); scale 2011 drivers/net/ethernet/realtek/r8169_main.c units = p->usecs * 1000 / scale->nsecs[i]; scale 74 drivers/net/wireless/ath/ath9k/ar9003_paprd.c unsigned int power, scale, delta; scale 76 drivers/net/wireless/ath/ath9k/ar9003_paprd.c scale = ar9003_get_paprd_scale_factor(ah, chan); scale 88 drivers/net/wireless/ath/ath9k/ar9003_paprd.c if (delta > scale) scale 102 drivers/net/wireless/ath/ath9k/ar9003_paprd.c unsigned int power, scale, delta; scale 104 drivers/net/wireless/ath/ath9k/ar9003_paprd.c scale = ar9003_get_paprd_scale_factor(ah, chan); scale 113 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power += scale; scale 115 drivers/net/wireless/ath/ath9k/ar9003_paprd.c if (delta > scale) scale 2485 drivers/net/wireless/broadcom/b43/phy_lp.c u16 old_comm15, scale; scale 2563 drivers/net/wireless/broadcom/b43/phy_lp.c scale = 1; scale 2566 drivers/net/wireless/broadcom/b43/phy_lp.c scale = 0; scale 2570 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_maskset(dev, B2063_PLL_JTAG_PLL_CP2, 0xFFBF, scale << 6); scale 2573 drivers/net/wireless/broadcom/b43/phy_lp.c tmp6 *= (tmp5 * 8) * (scale + 1); scale 2578 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_maskset(dev, B2063_PLL_JTAG_PLL_CP3, 0xFFDF, scale << 5); scale 1654 drivers/net/wireless/broadcom/b43/phy_n.c static void b43_nphy_scale_offset_rssi(struct b43_wldev *dev, u16 scale, scale 1664 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ((scale & 0x3F) << 8) | (offset & 0x3F); scale 4929 drivers/net/wireless/broadcom/b43/phy_n.c u16 scale, entry; scale 4937 drivers/net/wireless/broadcom/b43/phy_n.c scale = (ladder_lo[i].percent * tmp) / 100; scale 4938 drivers/net/wireless/broadcom/b43/phy_n.c entry = ((scale & 0xFF) << 8) | ladder_lo[i].g_env; scale 4941 drivers/net/wireless/broadcom/b43/phy_n.c scale = (ladder_iq[i].percent * tmp) / 100; scale 4942 drivers/net/wireless/broadcom/b43/phy_n.c entry = ((scale & 0xFF) << 8) | ladder_iq[i].g_env; scale 21477 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset, scale 21487 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f); scale 263 drivers/pci/controller/pcie-rockchip-host.c u32 status, scale, power; scale 278 drivers/pci/controller/pcie-rockchip-host.c scale = 3; /* 0.001x */ scale 282 drivers/pci/controller/pcie-rockchip-host.c if (!scale) { scale 286 drivers/pci/controller/pcie-rockchip-host.c scale--; scale 292 drivers/pci/controller/pcie-rockchip-host.c (scale << PCIE_RC_CONFIG_DCR_CPLS_SHIFT); scale 343 drivers/pci/pcie/aspm.c static u32 calc_l1ss_pwron(struct pci_dev *pdev, u32 scale, u32 val) scale 345 drivers/pci/pcie/aspm.c switch (scale) { scale 353 drivers/pci/pcie/aspm.c pci_err(pdev, "%s: Invalid T_PwrOn scale: %u\n", __func__, scale); scale 357 drivers/pci/pcie/aspm.c static void encode_l12_threshold(u32 threshold_us, u32 *scale, u32 *value) scale 363 drivers/pci/pcie/aspm.c *scale = 0; scale 366 drivers/pci/pcie/aspm.c *scale = 1; scale 369 drivers/pci/pcie/aspm.c *scale = 2; scale 372 drivers/pci/pcie/aspm.c *scale = 3; scale 375 drivers/pci/pcie/aspm.c *scale = 4; scale 378 drivers/pci/pcie/aspm.c *scale = 5; scale 502 drivers/pci/pcie/aspm.c u32 t_common_mode, t_power_on, l1_2_threshold, scale, value; scale 542 drivers/pci/pcie/aspm.c encode_l12_threshold(l1_2_threshold, &scale, &value); scale 543 drivers/pci/pcie/aspm.c link->l1ss.ctl1 |= t_common_mode << 8 | scale << 29 | value << 16; scale 661 drivers/pcmcia/cistpl.c u_char scale; scale 706 drivers/pcmcia/cistpl.c scale = *p & 7; scale 707 drivers/pcmcia/cistpl.c if (scale == 7) scale 709 drivers/pcmcia/cistpl.c device->dev[i].size = ((*p >> 3) + 1) * (512 << (scale*2)); scale 908 drivers/pcmcia/cistpl.c u_int scale; scale 920 drivers/pcmcia/cistpl.c scale = POWER_SCALE(*p); scale 926 drivers/pcmcia/cistpl.c (*p & 0x7f) * scale / 100; scale 944 drivers/pcmcia/cistpl.c u_char scale; scale 948 drivers/pcmcia/cistpl.c scale = *p; scale 949 drivers/pcmcia/cistpl.c if ((scale & 3) != 3) { scale 953 drivers/pcmcia/cistpl.c timing->waitscale = exponent[scale & 3]; scale 956 drivers/pcmcia/cistpl.c scale >>= 2; scale 957 drivers/pcmcia/cistpl.c if ((scale & 7) != 7) { scale 961 drivers/pcmcia/cistpl.c timing->rdyscale = exponent[scale & 7]; scale 964 drivers/pcmcia/cistpl.c scale >>= 3; scale 965 drivers/pcmcia/cistpl.c if (scale != 7) { scale 969 drivers/pcmcia/cistpl.c timing->rsvscale = exponent[scale]; scale 702 drivers/platform/x86/intel_pmc_core.c u32 ltr_raw_data, scale, val; scale 714 drivers/platform/x86/intel_pmc_core.c scale = FIELD_GET(LTR_DECODED_SCALE, nonsnoop_ltr); scale 716 drivers/platform/x86/intel_pmc_core.c decoded_non_snoop_ltr = val * convert_ltr_scale(scale); scale 720 drivers/platform/x86/intel_pmc_core.c scale = FIELD_GET(LTR_DECODED_SCALE, snoop_ltr); scale 722 drivers/platform/x86/intel_pmc_core.c decoded_snoop_ltr = val * convert_ltr_scale(scale); scale 265 drivers/power/supply/ds2760_battery.c int ret, i, start, count, scale[5]; scale 336 drivers/power/supply/ds2760_battery.c scale[0] = di->full_active_uAh; scale 338 drivers/power/supply/ds2760_battery.c scale[i] = scale[i - 1] + di->raw[DS2760_ACTIVE_FULL + 1 + i]; scale 340 drivers/power/supply/ds2760_battery.c di->full_active_uAh = battery_interpolate(scale, di->temp_C / 10); scale 344 drivers/power/supply/ds2760_battery.c scale[4] = di->raw[DS2760_ACTIVE_EMPTY + 4]; scale 346 drivers/power/supply/ds2760_battery.c scale[i] = scale[i + 1] + di->raw[DS2760_ACTIVE_EMPTY + i]; scale 348 drivers/power/supply/ds2760_battery.c di->empty_uAh = battery_interpolate(scale, di->temp_C / 10); scale 555 drivers/powercap/intel_rapl_common.c u64 scale = 1; scale 562 drivers/powercap/intel_rapl_common.c scale = ENERGY_UNIT_SCALE; scale 577 drivers/powercap/intel_rapl_common.c return div64_u64(value, units) * scale; scale 581 drivers/powercap/intel_rapl_common.c return div64_u64(value, scale); scale 86 drivers/pwm/pwm-sifive.c int scale; scale 96 drivers/pwm/pwm-sifive.c scale = clamp(ilog2(scale_pow) - PWM_SIFIVE_CMPWIDTH, 0, 0xf); scale 99 drivers/pwm/pwm-sifive.c FIELD_PREP(PWM_SIFIVE_PWMCFG_SCALE, scale); scale 103 drivers/pwm/pwm-sifive.c num = (unsigned long long)NSEC_PER_SEC << (PWM_SIFIVE_CMPWIDTH + scale); scale 172 drivers/pwm/pwm-stm32.c unsigned int psc = 0, icpsc, scale; scale 231 drivers/pwm/pwm-stm32.c scale = max_arr / min(max_arr, raw_prd); scale 233 drivers/pwm/pwm-stm32.c scale = priv->max_arr; /* bellow resolution, use max scale */ scale 236 drivers/pwm/pwm-stm32.c if (psc && scale > 1) { scale 238 drivers/pwm/pwm-stm32.c psc /= scale; scale 149 drivers/sbus/char/envctrl.c unsigned int scale; scale 329 drivers/sbus/char/envctrl.c int scale, char *tbl, char *bufdata) scale 348 drivers/sbus/char/envctrl.c sprintf(bufdata,"%d ", (tbl[data] * 10) / (scale)); scale 391 drivers/sbus/char/envctrl.c pchild->tblprop_array[i].scale, scale 422 drivers/sbus/char/envctrl.c pchild->tblprop_array[i].scale, scale 1336 drivers/scsi/qla2xxx/qla_nx.c int scale, shift_amount, startword; scale 1359 drivers/scsi/qla2xxx/qla_nx.c scale = 2; scale 1364 drivers/scsi/qla2xxx/qla_nx.c (i << shift_amount), &word[i * scale], 8)) scale 1401 drivers/scsi/qla2xxx/qla_nx.c temp = word[i * scale] & 0xffffffff; scale 1403 drivers/scsi/qla2xxx/qla_nx.c temp = (word[i * scale] >> 32) & 0xffffffff; scale 1405 drivers/scsi/qla2xxx/qla_nx.c temp = word[i*scale + 1] & 0xffffffff; scale 1408 drivers/scsi/qla2xxx/qla_nx.c temp = (word[i*scale + 1] >> 32) & 0xffffffff; scale 1461 drivers/scsi/qla4xxx/ql4_nx.c int scale, shift_amount, startword; scale 1484 drivers/scsi/qla4xxx/ql4_nx.c scale = 2; scale 1489 drivers/scsi/qla4xxx/ql4_nx.c (i << shift_amount), &word[i * scale], 8)) scale 1527 drivers/scsi/qla4xxx/ql4_nx.c temp = word[i * scale] & 0xffffffff; scale 1529 drivers/scsi/qla4xxx/ql4_nx.c temp = (word[i * scale] >> 32) & 0xffffffff; scale 1531 drivers/scsi/qla4xxx/ql4_nx.c temp = word[i*scale + 1] & 0xffffffff; scale 1534 drivers/scsi/qla4xxx/ql4_nx.c temp = (word[i*scale + 1] >> 32) & 0xffffffff; scale 145 drivers/scsi/ufs/ufs-sysfs.c int scale = FIELD_GET(UFSHCI_AHIBERN8_SCALE_MASK, ahit); scale 147 drivers/scsi/ufs/ufs-sysfs.c for (; scale > 0; --scale) scale 156 drivers/scsi/ufs/ufs-sysfs.c unsigned int scale; scale 158 drivers/scsi/ufs/ufs-sysfs.c for (scale = 0; timer > UFSHCI_AHIBERN8_TIMER_MASK; ++scale) scale 162 drivers/scsi/ufs/ufs-sysfs.c FIELD_PREP(UFSHCI_AHIBERN8_SCALE_MASK, scale); scale 498 drivers/spi/spi-fsl-dspi.c int scale_needed, scale, minscale = INT_MAX; scale 507 drivers/spi/spi-fsl-dspi.c scale = brs[i] * pbr_tbl[j]; scale 508 drivers/spi/spi-fsl-dspi.c if (scale >= scale_needed) { scale 509 drivers/spi/spi-fsl-dspi.c if (scale < minscale) { scale 510 drivers/spi/spi-fsl-dspi.c minscale = scale; scale 529 drivers/spi/spi-fsl-dspi.c int scale_needed, scale, minscale = INT_MAX; scale 541 drivers/spi/spi-fsl-dspi.c scale = pscale_tbl[i] * (2 << j); scale 542 drivers/spi/spi-fsl-dspi.c if (scale >= scale_needed) { scale 543 drivers/spi/spi-fsl-dspi.c if (scale < minscale) { scale 544 drivers/spi/spi-fsl-dspi.c minscale = scale; scale 813 drivers/spi/spi-pxa2xx.c unsigned long scale; scale 829 drivers/spi/spi-pxa2xx.c scale = fls_long(q1 - 1); scale 830 drivers/spi/spi-pxa2xx.c if (scale > 9) { scale 831 drivers/spi/spi-pxa2xx.c q1 >>= scale - 9; scale 832 drivers/spi/spi-pxa2xx.c mul >>= scale - 9; scale 840 drivers/spi/spi-pxa2xx.c scale = __ffs(q1); scale 841 drivers/spi/spi-pxa2xx.c q1 >>= scale; scale 842 drivers/spi/spi-pxa2xx.c mul >>= scale; scale 230 drivers/staging/media/hantro/hantro_jpeg.c const unsigned char *tab, int scale) scale 236 drivers/staging/media/hantro/hantro_jpeg.c temp = DIV_ROUND_CLOSEST((unsigned int)tab[i] * scale, 100); scale 247 drivers/staging/media/hantro/hantro_jpeg.c int scale; scale 254 drivers/staging/media/hantro/hantro_jpeg.c scale = 5000 / quality; scale 256 drivers/staging/media/hantro/hantro_jpeg.c scale = 200 - 2 * quality; scale 259 drivers/staging/media/hantro/hantro_jpeg.c luma_q_table, scale); scale 261 drivers/staging/media/hantro/hantro_jpeg.c chroma_q_table, scale); scale 830 drivers/target/iscsi/cxgbit/cxgbit_cm.c u8 scale; scale 833 drivers/target/iscsi/cxgbit/cxgbit_cm.c scale = linkspeed / SPEED_10000; scale 837 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (scale) scale 838 drivers/target/iscsi/cxgbit/cxgbit_cm.c csk->rcv_win *= scale; scale 842 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (scale) scale 843 drivers/target/iscsi/cxgbit/cxgbit_cm.c csk->snd_win *= scale; scale 180 drivers/tty/serial/ar933x_uart.c unsigned int scale, scale 186 drivers/tty/serial/ar933x_uart.c div = (2 << 16) * (scale + 1); scale 197 drivers/tty/serial/ar933x_uart.c unsigned int *scale, scale 203 drivers/tty/serial/ar933x_uart.c *scale = 0; scale 221 drivers/tty/serial/ar933x_uart.c *scale = tscale; scale 235 drivers/tty/serial/ar933x_uart.c unsigned int baud, scale, step; scale 258 drivers/tty/serial/ar933x_uart.c ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); scale 280 drivers/tty/serial/ar933x_uart.c scale << AR933X_UART_CLOCK_SCALE_S | step); scale 260 drivers/video/backlight/backlight.c if (WARN_ON(bd->props.scale > BACKLIGHT_SCALE_NON_LINEAR)) scale 263 drivers/video/backlight/backlight.c return sprintf(buf, "%s\n", backlight_scale_types[bd->props.scale]); scale 265 drivers/video/backlight/backlight.c static DEVICE_ATTR_RO(scale); scale 31 drivers/video/backlight/pwm_bl.c unsigned int scale; scale 104 drivers/video/backlight/pwm_bl.c do_div(duty_cycle, pb->scale); scale 168 drivers/video/backlight/pwm_bl.c static u64 cie1931(unsigned int lightness, unsigned int scale) scale 173 drivers/video/backlight/pwm_bl.c if (lightness <= (8 * scale)) { scale 176 drivers/video/backlight/pwm_bl.c retval = int_pow((lightness + (16 * scale)) / 116, 3); scale 177 drivers/video/backlight/pwm_bl.c retval = DIV_ROUND_CLOSEST_ULL(retval, (scale * scale)); scale 573 drivers/video/backlight/pwm_bl.c if (data->levels[i] > pb->scale) scale 574 drivers/video/backlight/pwm_bl.c pb->scale = data->levels[i]; scale 580 drivers/video/backlight/pwm_bl.c props.scale = BACKLIGHT_SCALE_LINEAR; scale 582 drivers/video/backlight/pwm_bl.c props.scale = BACKLIGHT_SCALE_NON_LINEAR; scale 604 drivers/video/backlight/pwm_bl.c if (data->levels[i] > pb->scale) scale 605 drivers/video/backlight/pwm_bl.c pb->scale = data->levels[i]; scale 610 drivers/video/backlight/pwm_bl.c props.scale = BACKLIGHT_SCALE_NON_LINEAR; scale 616 drivers/video/backlight/pwm_bl.c pb->scale = data->max_brightness; scale 619 drivers/video/backlight/pwm_bl.c pb->lth_brightness = data->lth_brightness * (state.period / pb->scale); scale 1600 drivers/video/fbdev/nvidia/nv_hw.c NV_WR32(par->PRAMDAC, 0x0848, state->scale); scale 1653 drivers/video/fbdev/nvidia/nv_hw.c state->scale = NV_RD32(par->PRAMDAC, 0x0848); scale 61 drivers/video/fbdev/nvidia/nv_type.h u32 scale; scale 418 drivers/video/fbdev/nvidia/nvidia.c state->scale = NV_RD32(par->PRAMDAC, 0x00000848) & 0xfff000ff; scale 424 drivers/video/fbdev/nvidia/nvidia.c state->scale |= (1 << 8); scale 788 drivers/video/fbdev/riva/fbdev.c newmode.ext.scale = NV_RD32(par->riva.PRAMDAC, 0x00000848) & scale 792 drivers/video/fbdev/riva/fbdev.c newmode.ext.scale |= (1 << 8); scale 812 drivers/video/fbdev/riva/fbdev.c newmode.ext.scale |= (1 << 8); scale 1718 drivers/video/fbdev/riva/riva_hw.c NV_WR32(chip->PRAMDAC, 0x00000848 , state->scale); scale 1777 drivers/video/fbdev/riva/riva_hw.c state->scale = NV_RD32(chip->PRAMDAC, 0x00000848); scale 502 drivers/video/fbdev/riva/riva_hw.h U032 scale; scale 40 include/clocksource/hyperv_timer.h u64 scale, offset; scale 69 include/clocksource/hyperv_timer.h scale = READ_ONCE(tsc_pg->tsc_scale); scale 81 include/clocksource/hyperv_timer.h return mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; scale 90 include/linux/backlight.h enum backlight_scale scale; scale 160 include/linux/clk.h int clk_get_scaled_duty_cycle(struct clk *clk, unsigned int scale); scale 211 include/linux/clk.h unsigned int scale) scale 211 include/linux/clocksource.h __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq); scale 213 include/linux/clocksource.h __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq); scale 68 include/linux/iio/common/cros_ec_sensors_core.h u16 scale; scale 301 include/linux/iio/common/st_sensors.h int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale); scale 361 include/linux/iio/consumer.h int *processed, unsigned int scale); scale 537 include/linux/memblock.h int scale, scale 243 include/linux/mfd/lp8788.h enum lp8788_isink_scale scale; scale 258 include/linux/mfd/lp8788.h enum lp8788_isink_scale scale; scale 168 include/linux/mfd/wm8350/comparator.h int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, scale 2597 include/linux/platform_data/cros_ec_commands.h uint16_t scale[3]; scale 2739 include/linux/platform_data/cros_ec_commands.h uint16_t scale[3]; scale 200 include/linux/pwm.h pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale) scale 205 include/linux/pwm.h return DIV_ROUND_CLOSEST_ULL((u64)state->duty_cycle * scale, scale 229 include/linux/pwm.h unsigned int scale) scale 231 include/linux/pwm.h if (!scale || duty_cycle > scale) scale 236 include/linux/pwm.h scale); scale 147 include/linux/scmi_protocol.h s8 scale; scale 245 include/net/inet_hashtables.h unsigned long numentries, int scale, scale 804 include/uapi/linux/dvb/frontend.h __u8 scale; /* enum fecap_scale_params type */ scale 142 include/uapi/misc/xilinx_sdfec.h __u8 scale; scale 256 include/uapi/sound/asoc.h struct snd_soc_tplg_tlv_dbscale scale; scale 417 include/video/imx-ipu-v3.h u8 scale:2; /* scale coefficients * 2^(scale-1) */ scale 6697 kernel/sched/fair.c int scale = cfs_rq->nr_running >= sched_nr_latency; scale 6712 kernel/sched/fair.c if (sched_feat(NEXT_BUDDY) && scale && !(wake_flags & WF_FORK)) { scale 6771 kernel/sched/fair.c if (sched_feat(LAST_BUDDY) && scale && entity_is_task(se)) scale 858 kernel/time/clocksource.c void __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) scale 878 kernel/time/clocksource.c do_div(sec, scale); scale 885 kernel/time/clocksource.c NSEC_PER_SEC / scale, sec * scale); scale 925 kernel/time/clocksource.c int __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) scale 932 kernel/time/clocksource.c __clocksource_update_freq_scale(cs, scale, freq); scale 622 lib/zstd/fse_compress.c U64 const scale = 62 - tableLog; scale 624 lib/zstd/fse_compress.c U64 const vStep = 1ULL << (scale - 20); scale 642 lib/zstd/fse_compress.c short proba = (short)((count[s] * step) >> scale); scale 645 lib/zstd/fse_compress.c proba += (count[s] * step) - ((U64)proba << scale) > restToBeat; scale 8077 mm/page_alloc.c int scale, scale 8106 mm/page_alloc.c scale++; scale 8111 mm/page_alloc.c if (scale > PAGE_SHIFT) scale 8112 mm/page_alloc.c numentries >>= (scale - PAGE_SHIFT); scale 8114 mm/page_alloc.c numentries <<= (PAGE_SHIFT - scale); scale 124 mm/vmpressure.c unsigned long scale = scanned + reclaimed; scale 141 mm/vmpressure.c pressure = scale - (reclaimed * scale / scanned); scale 142 mm/vmpressure.c pressure = pressure * 100 / scale; scale 773 net/ipv4/inet_hashtables.c unsigned long numentries, int scale, scale 780 net/ipv4/inet_hashtables.c scale, scale 313 net/ipv4/tcp_cubic.c u32 scale = beta_scale; scale 315 net/ipv4/tcp_cubic.c delta = (cwnd * scale) >> 3; scale 185 net/ipv4/tcp_htcp.c u32 scale = (HZ << 3) / (10 * minRTT); scale 188 net/ipv4/tcp_htcp.c scale = min(max(scale, 1U << 2), 10U << 3); scale 189 net/ipv4/tcp_htcp.c factor = (factor << 3) / scale; scale 491 net/netfilter/xt_hashlimit.c u64 scale = (revision == 1) ? scale 497 net/netfilter/xt_hashlimit.c if (scale >= HZ * cpj) scale 498 net/netfilter/xt_hashlimit.c return div64_u64(user, div64_u64(scale, HZ * cpj)); scale 500 net/netfilter/xt_hashlimit.c return user * div64_u64(HZ * cpj, scale); scale 182 sound/isa/gus/gus_volume.c int scale = 0; scale 185 sound/isa/gus/gus_volume.c scale++; scale 194 sound/isa/gus/gus_volume.c while (scale--) scale 176 sound/pci/ctxfi/ctamixer.c unsigned int scale, struct sum *sum) scale 179 sound/pci/ctxfi/ctamixer.c amixer_set_y(amixer, scale); scale 62 sound/pci/ctxfi/ctamixer.h int (*set_scale)(struct amixer *amixer, unsigned int scale); scale 69 sound/pci/ctxfi/ctamixer.h unsigned int scale, struct sum *sum); scale 230 sound/soc/atmel/atmel-pdmic.c unsigned int scale; scale 301 sound/soc/atmel/atmel-pdmic.c (mic_gain_table[i].scale == scale_val)) scale 329 sound/soc/atmel/atmel-pdmic.c mic_gain_table[val].scale << PDMIC_DSPR0_SCALE_SHIFT); scale 695 sound/soc/soc-topology.c struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) scale 706 sound/soc/soc-topology.c p[2] = le32_to_cpu(scale->min); scale 707 sound/soc/soc-topology.c p[3] = (le32_to_cpu(scale->step) & TLV_DB_SCALE_MASK) scale 708 sound/soc/soc-topology.c | (le32_to_cpu(scale->mute) ? TLV_DB_SCALE_MUTE : 0); scale 728 sound/soc/soc-topology.c &tplg_tlv->scale); scale 541 sound/usb/mixer.c DECLARE_TLV_DB_MINMAX(scale, 0, 0); scale 543 sound/usb/mixer.c if (size < sizeof(scale)) scale 546 sound/usb/mixer.c scale[0] = SNDRV_CTL_TLVT_DB_MINMAX_MUTE; scale 547 sound/usb/mixer.c scale[2] = cval->dBmin; scale 548 sound/usb/mixer.c scale[3] = cval->dBmax; scale 549 sound/usb/mixer.c if (copy_to_user(_tlv, scale, sizeof(scale))) scale 2334 sound/usb/mixer_quirks.c static const DECLARE_TLV_DB_RANGE(scale, scale 2349 sound/usb/mixer_quirks.c kctl->tlv.p = scale; scale 82 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)val + info->offset) * info->scale); scale 84 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); scale 105 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)val + info->offset) * info->scale); scale 107 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); scale 128 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)val + info->offset) * info->scale); scale 130 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); scale 152 tools/iio/iio_generic_buffer.c if (info->scale == 1.0f && info->offset == 0.0f) scale 156 tools/iio/iio_generic_buffer.c ((float)val + info->offset) * info->scale); scale 158 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); scale 423 tools/iio/iio_utils.c current->scale = 1.0; scale 482 tools/iio/iio_utils.c ret = iioutils_get_param_float(¤t->scale, scale 40 tools/iio/iio_utils.h float scale; scale 1745 tools/perf/builtin-script.c val = sample->period * evsel->scale; scale 183 tools/perf/builtin-stat.c .scale = true, scale 744 tools/perf/builtin-stat.c OPT_BOOLEAN(0, "scale", &stat_config.scale, scale 163 tools/perf/lib/include/perf/event.h double scale; scale 40 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong scale", ev_data->scale == 0.123); scale 107 tools/perf/tests/event_update.c evsel->scale = 0.123; scale 45 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); scale 54 tools/perf/tests/stat.c .scale = 1, scale 134 tools/perf/util/event.c CASE(SCALE, scale) scale 245 tools/perf/util/evsel.c evsel->scale = 1.0; scale 284 tools/perf/util/evsel.c evsel->scale = 1e-6; scale 1288 tools/perf/util/evsel.c bool scale, s8 *pscaled) scale 1292 tools/perf/util/evsel.c if (scale) { scale 1409 tools/perf/util/evsel.c int cpu, int thread, bool scale) scale 1412 tools/perf/util/evsel.c size_t nv = scale ? 3 : 1; scale 1424 tools/perf/util/evsel.c perf_counts_values__scale(&count, scale, NULL); scale 53 tools/perf/util/evsel.h double scale; scale 138 tools/perf/util/evsel.h bool scale, s8 *pscaled); scale 272 tools/perf/util/evsel.h int cpu, int thread, bool scale); scale 3693 tools/perf/util/header.c ret += fprintf(fp, "... scale: %f\n", ev_scale->scale); scale 3786 tools/perf/util/header.c evsel->scale = ev_scale->scale; scale 1383 tools/perf/util/parse-events.c evsel->scale = info.scale; scale 104 tools/perf/util/pmu.c int perf_pmu__convert_scale(const char *scale, char **end, double *sval) scale 132 tools/perf/util/pmu.c *sval = strtod(scale, end); scale 145 tools/perf/util/pmu.c char scale[128]; scale 158 tools/perf/util/pmu.c sret = read(fd, scale, sizeof(scale)-1); scale 162 tools/perf/util/pmu.c if (scale[sret - 1] == '\n') scale 163 tools/perf/util/pmu.c scale[sret - 1] = '\0'; scale 165 tools/perf/util/pmu.c scale[sret] = '\0'; scale 167 tools/perf/util/pmu.c ret = perf_pmu__convert_scale(scale, NULL, &alias->scale); scale 268 tools/perf/util/pmu.c old->scale = newalias->scale; scale 324 tools/perf/util/pmu.c alias->scale = 1.0; scale 375 tools/perf/util/pmu.c if (perf_pmu__convert_scale(unit, &unit, &alias->scale) < 0) scale 1194 tools/perf/util/pmu.c (info->scale && alias->scale) || scale 1201 tools/perf/util/pmu.c if (alias->scale) scale 1202 tools/perf/util/pmu.c info->scale = alias->scale; scale 1228 tools/perf/util/pmu.c info->scale = 0.0; scale 1262 tools/perf/util/pmu.c if (info->scale == 0.0) scale 1263 tools/perf/util/pmu.c info->scale = 1.0; scale 41 tools/perf/util/pmu.h double scale; scale 57 tools/perf/util/pmu.h double scale; scale 99 tools/perf/util/pmu.h int perf_pmu__convert_scale(const char *scale, char **end, double *sval); scale 341 tools/perf/util/stat-display.c double sc = evsel->scale; scale 555 tools/perf/util/stat-display.c alias->scale != counter->scale || scale 647 tools/perf/util/stat-display.c uval = val * counter->scale; scale 717 tools/perf/util/stat-display.c uval = val * counter->scale; scale 812 tools/perf/util/stat-display.c uval = cd.avg * counter->scale; scale 854 tools/perf/util/stat-display.c uval = val * counter->scale; scale 887 tools/perf/util/stat-display.c uval = val * counter->scale; scale 217 tools/perf/util/stat-shadow.c count *= counter->scale; scale 733 tools/perf/util/stat-shadow.c double ratio, scale; scale 748 tools/perf/util/stat-shadow.c scale = 1e-9; scale 755 tools/perf/util/stat-shadow.c scale = 1.0; scale 776 tools/perf/util/stat-shadow.c expr__add_id(&pctx, n, avg_stats(stats)*scale); scale 788 tools/perf/util/stat-shadow.c &unit, &scale) >= 0) { scale 789 tools/perf/util/stat-shadow.c ratio *= scale; scale 979 tools/perf/util/stat-shadow.c avg / (ratio * evsel->scale)); scale 305 tools/perf/util/stat.c perf_counts_values__scale(count, config->scale, NULL); scale 385 tools/perf/util/stat.c perf_counts_values__scale(aggr, config->scale, &counter->counts->scaled); scale 458 tools/perf/util/stat.c ret += fprintf(fp, "... scale %d\n", sc.scale); scale 98 tools/perf/util/stat.h bool scale; scale 1076 tools/perf/util/synthetic-events.c ADD(SCALE, config->scale) scale 1540 tools/perf/util/synthetic-events.c ev_data->scale = evsel->scale; scale 1616 tools/perf/util/synthetic-events.c return evsel->scale != 1;