Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.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()
/linux-6.1.9/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-6.1.9/Documentation/driver-api/media/drivers/
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
/linux-6.1.9/Documentation/devicetree/bindings/hwmon/
Dmaxim,max20730.yaml39 will be scaled. The properties will convert the raw reading to a more
63 vout-voltage-divider = <1000 2000>; // vout would be scaled to 0.5
/linux-6.1.9/Documentation/hwmon/
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
Dsht4x.rst27 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
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
Dadm1026.rst70 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
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dgateworks-gsc.yaml83 1 - pre-scaled 24-bit voltage value
84 2 - scaled voltage based on an optional resistor divider
86 3 - pre-scaled 16-bit voltage value
/linux-6.1.9/tools/lib/perf/tests/
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()
/linux-6.1.9/tools/lib/perf/
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()
/linux-6.1.9/tools/power/x86/intel_pstate_tracer/
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, …
/linux-6.1.9/tools/perf/util/
Dcounts.h13 s8 scaled; member
/linux-6.1.9/tools/perf/Documentation/
Dtopdown.txt166 that represent a scaled ratio that represent the Level 1 bottleneck.
209 # compute scaled metrics for measurement a
215 # compute delta scaled metrics between b and a
240 # compute scaled metrics for measurement a
246 # compute delta scaled metrics between b and a
Dintel-hybrid.txt129 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-6.1.9/Documentation/accounting/
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 */
/linux-6.1.9/drivers/iio/light/
Dtsl2563.c436 unsigned long scaled = adc; in tsl2563_calib_adc() local
438 scaled *= calib; in tsl2563_calib_adc()
439 scaled >>= CALIB_FRAC_BITS; in tsl2563_calib_adc()
441 return (u32) scaled; in tsl2563_calib_adc()
/linux-6.1.9/Documentation/devicetree/bindings/display/panel/
Dilitek,ili9322.yaml14 streams that get adapted and scaled to the panel. The panel output has
/linux-6.1.9/Documentation/devicetree/bindings/iio/afe/
Dvoltage-divider.yaml48 Resistance R + Rout for the full divider. The io-channel is scaled by
/linux-6.1.9/Documentation/admin-guide/media/
Drcar-fdp1.rst26 - The current field is scaled vertically by averaging adjacent lines to
/linux-6.1.9/Documentation/misc-devices/
Dlis3lv02d.rst25 /sys/devices/platform/lis3lv02d. Reported values are scaled
42 By default output values are scaled between -32768 .. 32767. In joystick raw
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Ddev-subdev.rst344 the area of the image that will be scaled up.
362 from the original and scaled image sizes. Both sizes are represented by
366 rectangle on the subdev's sink pad is scaled to the size configured
479 scaled image. The location of the scaled image in the cropped image is
494 from both of the sink pads are individually cropped, then scaled and
/linux-6.1.9/Documentation/devicetree/bindings/arm/
Dcpu-capacity.txt62 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-6.1.9/drivers/staging/media/ipu3/
Dipu3-css-params.c318 unsigned int scaled; member
424 int scaled = 0; in imgu_css_osys_calc_frame_and_stripe_params() local
462 scaled = 1; in imgu_css_osys_calc_frame_and_stripe_params()
474 frame_params[pin].scaled = scaled; in imgu_css_osys_calc_frame_and_stripe_params()
780 if (frame_params[i].scaled) { in imgu_css_osys_calc_frame_and_stripe_params()
1002 fr_pr->scaled = frame_params[pin].scaled; in imgu_css_osys_calc()
1048 if (frame_params[pin].scaled) { in imgu_css_osys_calc()
1098 if (frame_params[pin].scaled) { in imgu_css_osys_calc()
1139 if (frame_params[pin].scaled) in imgu_css_osys_calc()

123