| /linux/drivers/macintosh/ |
| H A D | windfarm_smu_sensors.c | 93 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 D | windfarm_pm81.c | 330 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 358 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick() 360 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick() 364 scaled = max(scaled, cputarget); in wf_smu_sys_fans_tick() 365 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick() 366 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick() 368 DBG("wf_smu: adjusted setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick() 370 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint) in wf_smu_sys_fans_tick() 372 st->sys_setpoint = scaled; in wf_smu_sys_fans_tick()
|
| /linux/arch/sparc/kernel/ |
| H A D | visemul.c | 493 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 …]
|
| /linux/Documentation/hwmon/ |
| H A D | gsc-hwmon.rst | 21 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 D | hs3001.rst | 26 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
|
| H A D | smsc47m192.rst | 44 Voltages are scaled such that the nominal voltage corresponds to 48 Both voltage and temperature values are scaled by 1000, the sys files
|
| H A D | adm1026.rst | 70 dedicated inputs. There are several inputs scaled to 0-3V full-scale range 71 for SCSI terminator power. The remaining inputs are not scaled and have
|
| H A D | adm9240.rst | 144 Voltage (IN) measurement is internally scaled: 163 The driver reports and accepts voltage limits scaled to the above table.
|
| H A D | peci-cputemp.rst | 59 temp2_input Provides current temperature of the CPU package scaled
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | sh_mobile_ceu_camera.rst | 46 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
|
| /linux/tools/lib/perf/tests/ |
| H A D | test-evlist.c | 457 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()
|
| /linux/tools/perf/util/ |
| H A D | counts.h | 13 s8 scaled; member
|
| /linux/tools/power/x86/intel_pstate_tracer/ |
| H A D | intel_pstate_tracer.py | 115 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 134 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_ELAPSED, C_SCALED)) 245 """ Plot all cpu scaled busy """ 251 g_plot('set title "{} : cpu scaled busy : {:%F %H:%M}"'.format(testname, datetime.now())) 326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz, cpu_mask): argument 336 string_buffer = "CPU_%03u, %05u, %06u, %u, %u, %u, %u, %u, %u, %u, %.4f, %u, %.2f, %.3f, %u, %.3f, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_ghz, int(io_boost), load, duration_ms, sample_num, elapsed_time, tsc_ghz, common_comm) 434 re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?from=)(\d+)(.*?to=)(\d+)(.*?mperf=)(\d+)(.*?aperf=)(\d+)(.*?tsc=)(\d+)(.*?freq=)(\d+)' 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, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz, cpu_mask)
|
| /linux/tools/lib/perf/ |
| H A D | evsel.c | 604 s8 scaled = 0; in perf_counts_values__scale() 608 scaled = -1; in perf_counts_values__scale() 611 scaled = 1; in perf_counts_values__scale() 617 *pscaled = scaled; 602 s8 scaled = 0; perf_counts_values__scale() local
|
| /linux/drivers/iio/light/ |
| H A D | tsl2563.c | 439 unsigned long scaled = adc; in tsl2563_calib_adc() local 441 scaled *= calib; in tsl2563_calib_adc() 442 scaled >>= CALIB_FRAC_BITS; in tsl2563_calib_adc() 444 return (u32) scaled; in tsl2563_calib_adc()
|
| /linux/tools/perf/Documentation/ |
| H A D | topdown.txt | 155 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
|
| H A D | intel-hybrid.txt | 129 perf-stat reports the scaled counts for hybrid event and with a percentage 133 scaled value for core cycles is 160,444,092 and the percentage is 0.47%.
|
| /linux/Documentation/admin-guide/media/ |
| H A D | rcar-fdp1.rst | 26 - The current field is scaled vertically by averaging adjacent lines to
|
| /linux/Documentation/misc-devices/ |
| H A D | lis3lv02d.rst | 25 /sys/devices/faux/lis3lv02d. Reported values are scaled 42 By default output values are scaled between -32768 .. 32767. In joystick raw
|
| /linux/Documentation/devicetree/bindings/cpu/ |
| H A D | cpu-capacity.txt | 62 The capacities-dmips-mhz or DMIPS/MHz values (scaled to 1024) 197 capacities-dmips-mhz are scaled w.r.t. 2 (cpu@0 and cpu@1), this means that first
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | libv4l-introduction.rst | 160 not locked sets the cid to the scaled value. 164 This function returns a value of 0 - 65535, scaled to from the actual range
|
| H A D | colorspaces-details.rst | 170 scaled and offset according to the limited range formula: 183 scaled and offset according to the limited range formula: 724 with full range quantization where Y' is scaled to [0…255] and Cb/Cr are 725 scaled to [-128…128] and then clipped to [-128…127].
|
| H A D | dev-output.rst | 52 define how images are scaled in the process.
|
| /linux/Documentation/driver-api/ |
| H A D | wbrf.rst | 39 can be scaled to any type of device that a platform designer discovers
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-class-tpm | 66 scaled to be displayed in usecs. In this case "[adjusted]" 185 were scaled by the driver to be reported in usec from msecs.
|