Home
last modified time | relevance | path

Searched full:scaled (Results 1 – 25 of 210) sorted by relevance

123456789

/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.c26 * - the main control (first control) gets the target value scaled with
29 * scaled with the second pair of factors, and the max of that and
30 * the scaled target is applied to the main control.
70 * systems fan control loop target result (the one before it gets scaled
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()
[all …]
/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 …]
/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 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
H A 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/include/uapi/linux/
H A Dtimex.h68 __kernel_long_t freq; /* frequency offset (scaled ppm) */
80 __kernel_long_t ppsfreq;/* pps frequency (scaled ppm) (ro) */
83 __kernel_long_t stabil; /* pps stability (scaled ppm) (ro) */
106 long long freq; /* frequency offset (scaled ppm) */
119 long long ppsfreq;/* pps frequency (scaled ppm) (ro) */
123 long long stabil; /* pps stability (scaled ppm) (ro) */
H A Dpsample.h12 * sampled packets or scaled probability
29 * probability scaled 0 - U32_MAX.
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py112 g_plot('set y2label "Scaled Busy/performance/io-busy(%)"')
115 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED))
131 g_plot('set y2label "Scaled Busy/performance/io-busy(%)"')
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 """
250 g_plot('set ylabel "Scaled Busy (Unitless)"')
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
[all...]
/linux/drivers/clk/bcm/
H A Dclk-kona.c50 /* Convert a divider into the scaled divisor value it represents. */
56 /* The scaled minimum divisor representable by a divider */
66 /* The scaled maximum divisor representable by a divider */
80 * Convert a scaled divisor into its divider representation as
92 /* Return a rate scaled for use when dividing by a scaled divisor. */
538 /* Read a divider value and return the scaled divisor it represents. */
555 /* Return the scaled divisor value it represents */ in divider_read_scaled()
560 * Convert a divider's scaled divisor value into its recorded form
590 /* Convert the scaled divisor to the value we need to record */ in __div_commit()
683 * If there is a pre-divider, divide the scaled parent rate in clk_recalc_rate()
[all …]
H A Dclk-kona.h246 * performed using "scaled" values. A scaled value is one that's
248 * a scaled value by a scaled divisor produces the desired quotient
266 u64 scaled_div; /* scaled divider value */
/linux/include/linux/
H A Dsched_clock.h19 * @mult: Multiplier for scaled math conversion.
20 * @shift: Shift value for scaled math conversion.
/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
/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
/linux/net/dccp/ccids/lib/
H A Dtfrc_equation.c
/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()
535 __T_VERBOSE("\t Scaled count = %" PRIu64 " (%.2lf%%, %" PRIu64 "/%" PRIu64 ")\n", in test_stat_multiplexing()
539 } else if (scaled == -1) { in test_stat_multiplexing()
/linux/net/dccp/ccids/
H A Dccid2.h
/linux/drivers/clk/ti/
H A Dclkt_dpll.c133 * a non-scaled m upon return. This non-scaled m will result in a
137 * non-scaled m attempted to underflow, which can allow the calling
321 /* Compute the scaled DPLL multiplier, based on the divider */ in omap2_dpll_determine_rate()
/linux/net/mac80211/
H A Drc80211_minstrel_ht.h15 /* scaled fraction values */
25 * scaled by 10 bits
/linux/Documentation/misc-devices/
H A Dlis3lv02d.rst25 /sys/devices/faux/lis3lv02d. Reported values are scaled
42 By default output values are scaled between -32768 .. 32767. In joystick raw
/linux/drivers/hwmon/pmbus/
H A Dmax20830.c35 * scaled output voltage) is supported.
39 * - READ_VOUT reports the feedback voltage, which needs to be scaled for actual
/linux/include/net/
H A Dred.h129 u32 qth_min; /* Min avg length threshold: Wlog scaled */
130 u32 qth_max; /* Max avg length threshold: Wlog scaled */
132 u32 max_P; /* probability, [0 .. 1.0] 32 scaled */
150 unsigned long qavg; /* Average queue length: Wlog scaled */
/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c20 * @delta: Desired frequency chance in scaled parts per million
25 * Scaled parts per million is ppm but with a 16 bit binary fractional field.
138 * Read device and system (ART) clock simultaneously and return the scaled
/linux/drivers/iio/light/
H A Dtsl2563.c420 /* Convert normalized, scaled ADC values to lux. */
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/lib/perf/
H A Devsel.c604 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

123456789