Home
last modified time | relevance | path

Searched refs:scaled (Results 1 – 25 of 89) sorted by relevance

1234

/openbmc/linux/drivers/macintosh/
H A Dwindfarm_smu_sensors.c93 s64 scaled; in smu_cputemp_get() local
103 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get()
104 scaled >>= 3; in smu_cputemp_get()
105 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get()
106 *value = (s32)(scaled << 1); in smu_cputemp_get()
114 s32 val, scaled; in smu_cpuamp_get() local
125 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get()
126 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get()
127 *value = scaled << 4; in smu_cpuamp_get()
135 s32 val, scaled; in smu_cpuvolt_get() local
[all …]
H A Dwindfarm_pm81.c331 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local
359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick()
361 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick()
365 scaled = max(scaled, cputarget); in wf_smu_sys_fans_tick()
366 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick()
367 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick()
369 DBG("wf_smu: adjusted setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick()
371 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint) in wf_smu_sys_fans_tick()
373 st->sys_setpoint = scaled; in wf_smu_sys_fans_tick()
/openbmc/linux/arch/sparc/kernel/
H A Dvisemul.c493 int scaled = src << scale; in pformat() local
494 int from_fixed = scaled >> 7; in pformat()
516 s64 scaled = src << scale; in pformat() local
517 s64 from_fixed = scaled >> 23; in pformat()
539 s64 scaled = src << scale; in pformat() local
540 s64 from_fixed = scaled >> 16; in pformat()
606 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() local
610 scaled++; in pmul()
611 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); in pmul()
631 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() local
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dgsc-hwmon.rst21 The voltage inputs are scaled either internally or by the driver depending
32 Temperatures are measured with 12-bit or 10-bit resolution and are scaled
44 PWM value will be scaled depending on 6 temperature boundaries.
H A Dhs3001.rst26 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
H A Dsht4x.rst27 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
H A Dsmsc47m192.rst44 Voltages are scaled such that the nominal voltage corresponds to
48 Both voltage and temperature values are scaled by 1000, the sys files
/openbmc/qemu/crypto/
H A Dpbkdf.c110 size_t scaled = 0; in threaded_qcrypto_pbkdf2_count_iters() local
143 if (scaled > 5 && in threaded_qcrypto_pbkdf2_count_iters()
154 scaled++; in threaded_qcrypto_pbkdf2_count_iters()
/openbmc/linux/Documentation/driver-api/media/drivers/
H A Dsh_mobile_ceu_camera.rst46 accents represent "useful" data, basically, CEU scaled and cropped output,
76 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
137 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate
/openbmc/phosphor-pid-control/pid/
H A Dzone.cpp234 return _cachedValuesByName.at(name).scaled; in getCachedValue()
483 _log << "," << v.scaled << "," << v.unscaled; in updateFanTelemetry()
525 std::cerr << name << ": " << value.scaled << " " << value.unscaled in dumpCache()
532 std::cerr << name << ": " << value.scaled << " " << value.unscaled in dumpCache()
H A Dzone.hpp159 _log << "," << v.scaled << "," << v.unscaled; in processSensorInputs()
161 _log << "," << p.scaled << "," << p.unscaled; in processSensorInputs()
/openbmc/qemu/target/sparc/
H A Dvis_helper.c400 int32_t scaled = src << scale; in helper_fpack16() local
401 int32_t from_fixed = scaled >> 7; in helper_fpack16()
422 int64_t scaled = (int64_t)src << scale; in helper_fpack32() local
423 int64_t from_fixed = scaled >> 23; in helper_fpack32()
443 int64_t scaled = (int64_t)src << scale; in helper_fpackfix() local
444 int64_t from_fixed = scaled >> 16; in helper_fpackfix()
/openbmc/linux/tools/lib/perf/tests/
H A Dtest-evlist.c457 s8 scaled = 0; in test_stat_multiplexing() local
533 perf_counts_values__scale(&counts[i], true, &scaled); in test_stat_multiplexing()
534 if (scaled == 1) { in test_stat_multiplexing()
539 } else if (scaled == -1) { in test_stat_multiplexing()
/openbmc/openbmc/poky/bitbake/lib/progressbar/
H A Dwidgets.py181 scaled = power = 0
185 scaled = speed / 1000.**power
187 return self.FORMAT % (scaled, self.PREFIXES[power], self.unit)
/openbmc/linux/tools/lib/perf/
H A Devsel.c543 s8 scaled = 0; in perf_counts_values__scale() local
547 scaled = -1; in perf_counts_values__scale()
550 scaled = 1; in perf_counts_values__scale()
556 *pscaled = scaled; in perf_counts_values__scale()
/openbmc/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument
336 …" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(…
445 scaled = search_obj.group(12)
480 …store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, …
/openbmc/linux/tools/perf/util/
H A Dcounts.h13 s8 scaled; member
/openbmc/phosphor-pid-control/
H A Dinterfaces.hpp24 double scaled; member
/openbmc/openbmc/poky/meta/files/common-licenses/
H A Dcheckmk9 # a scaled-down version of the "modified" BSD license.)
/openbmc/linux/drivers/iio/light/
H A Dtsl2563.c440 unsigned long scaled = adc; in tsl2563_calib_adc() local
442 scaled *= calib; in tsl2563_calib_adc()
443 scaled >>= CALIB_FRAC_BITS; in tsl2563_calib_adc()
445 return (u32) scaled; in tsl2563_calib_adc()
/openbmc/linux/tools/perf/Documentation/
H A Dtopdown.txt155 that represent a scaled ratio that represent the Level 1 bottleneck.
198 # compute scaled metrics for measurement a
204 # compute delta scaled metrics between b and a
229 # compute scaled metrics for measurement a
235 # compute delta scaled metrics between b and a
/openbmc/linux/Documentation/accounting/
H A Dtaskstats-struct.rst187 __u64 ac_utimescaled; /* utime scaled on frequency etc */
188 __u64 ac_stimescaled; /* stime scaled on frequency etc */
189 __u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */
/openbmc/qemu/target/arm/
H A Dvfp_helper.c615 uint32_t scaled, estimate; in call_recip_estimate() local
630 scaled = deposit32(1 << 8, 0, 8, extract64(frac, 44, 8)); in call_recip_estimate()
631 estimate = recip_estimate(scaled); in call_recip_estimate()
841 uint32_t scaled; in recip_sqrt_estimate() local
853 scaled = deposit32(1 << 7, 0, 7, extract64(frac, 45, 7)); in recip_sqrt_estimate()
856 scaled = deposit32(1 << 8, 0, 8, extract64(frac, 44, 8)); in recip_sqrt_estimate()
858 estimate = do_recip_sqrt_estimate(scaled); in recip_sqrt_estimate()
/openbmc/qemu/docs/system/
H A Dkeys.rst.inc18 Restore the screen's un-scaled dimensions
/openbmc/linux/Documentation/misc-devices/
H A Dlis3lv02d.rst25 /sys/devices/platform/lis3lv02d. Reported values are scaled
42 By default output values are scaled between -32768 .. 32767. In joystick raw

1234