Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/macintosh/
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 …]
Dwindfarm_pm81.c332 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local
360 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick()
362 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick()
366 scaled = max(scaled, cputarget); in wf_smu_sys_fans_tick()
367 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick()
368 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick()
370 DBG("wf_smu: adjusted setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick()
372 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint) in wf_smu_sys_fans_tick()
374 st->sys_setpoint = scaled; in wf_smu_sys_fans_tick()
/Linux-v4.19/arch/sparc/kernel/
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 …]
/Linux-v4.19/Documentation/media/v4l-drivers/
Dsh_mobile_ceu_camera.rst44 accents represent "useful" data, basically, CEU scaled and cropped output,
74 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
135 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate
Drcar-fdp1.rst24 - The current field is scaled vertically by averaging adjacent lines to
/Linux-v4.19/tools/perf/util/
Dcounts.h20 s8 scaled; member
/Linux-v4.19/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py328 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument
338 …" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(…
451 scaled = search_obj.group(12)
486 …store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, …
/Linux-v4.19/Documentation/accounting/
Dtaskstats-struct.txt172 __u64 ac_utimescaled; /* utime scaled on frequency etc */
173 __u64 ac_stimescaled; /* stime scaled on frequency etc */
174 __u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */
/Linux-v4.19/drivers/iio/light/
Dtsl2563.c447 unsigned long scaled = adc; in tsl2563_calib_adc() local
449 scaled *= calib; in tsl2563_calib_adc()
450 scaled >>= CALIB_FRAC_BITS; in tsl2563_calib_adc()
452 return (u32) scaled; in tsl2563_calib_adc()
/Linux-v4.19/Documentation/devicetree/bindings/iio/afe/
Dvoltage-divider.txt29 is scaled by the Rout / (R + Rout) quotient.
/Linux-v4.19/Documentation/hwmon/
Dsmsc47m19233 Voltages are scaled such that the nominal voltage corresponds to
37 Both voltage and temperature values are scaled by 1000, the sys files
Dadm102662 dedicated inputs. There are several inputs scaled to 0-3V full-scale range
63 for SCSI terminator power. The remaining inputs are not scaled and have
Dadm9240125 Voltage (IN) measurement is internally scaled:
141 The driver reports and accepts voltage limits scaled to the above table.
Dsht3x20 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
Dadm127559 and will typically have to be scaled.
/Linux-v4.19/kernel/sched/
Dcputime.c532 u64 scaled; in scale_stime() local
566 scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total); in scale_stime()
567 return scaled; in scale_stime()
/Linux-v4.19/Documentation/misc-devices/
Dlis3lv02d24 /sys/devices/platform/lis3lv02d. Reported values are scaled
37 By default output values are scaled between -32768 .. 32767. In joystick raw
/Linux-v4.19/Documentation/devicetree/bindings/display/panel/
Dilitek,ili9322.txt4 streams that get adapted and scaled to the panel. The panel output has
/Linux-v4.19/Documentation/media/uapi/v4l/
Ddev-subdev.rst297 the area of the image that will be scaled up.
315 from the original and scaled image sizes. Both sizes are represented by
319 rectangle on the subdev's sink pad is scaled to the size configured
432 scaled image. The location of the scaled image in the cropped image is
447 from both of the sink pads are individually cropped, then scaled and
Dlibv4l-introduction.rst163 not locked sets the cid to the scaled value.
167 This function returns a value of 0 - 65535, scaled to from the actual range
Dcolorspaces-details.rst177 scaled and offset according to the limited range formula:
190 scaled and offset according to the limited range formula:
755 with full range quantization where Y' is scaled to [0…255] and Cb/Cr are
756 scaled to [-128…128] and then clipped to [-128…127].
/Linux-v4.19/Documentation/devicetree/bindings/arm/
Dcpu-capacity.txt62 capacities-dmips-mhz are scaled w.r.t. 1024 (cpu@0 and cpu@1)
195 capacities-dmips-mhz are scaled w.r.t. 2 (cpu@0 and cpu@1), this means that first
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-class-tpm66 scaled to be displayed in usecs. In this case "[adjusted]"
185 were scaled by the driver to be reported in usec from msecs.
/Linux-v4.19/Documentation/devicetree/bindings/net/can/
Drcar_can.txt35 be scaled to maximum frequency if any of these controllers use it. This is done
Drcar_canfd.txt32 CAN and CAN FD controller at the same time. It needs to be scaled to maximum

123