Home
last modified time | relevance | path

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

1234567891011

/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
331 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()
[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/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.
H A Dtaskstats.h162 __u64 ac_utimescaled; /* utime scaled on frequency etc */
163 __u64 ac_stimescaled; /* stime scaled on frequency etc */
164 __u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */
/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.
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py114 g_plot('set y2label "Scaled Busy/performance/io-busy(%)"')
117 …_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C…
133 g_plot('set y2label "Scaled Busy/performance/io-busy(%)"')
136 …_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C…
247 """ Plot all cpu scaled busy """
252 g_plot('set ylabel "Scaled Busy (Unitless)"')
253 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, ts… argument
336 …" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(…
434 …re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?fro…
[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/drivers/iio/test/
H A Diio-test-rescale.c128 .name = "small IIO_VAL_FRACTIONAL, 261/509 scaled by 90/1373754273",
137 .name = "small IIO_VAL_FRACTIONAL, 90/1373754273 scaled by 261/509",
146 .name = "small IIO_VAL_FRACTIONAL, 760/1373754273 scaled by 427/2727",
155 .name = "small IIO_VAL_FRACTIONAL, 761/1373754273 scaled by 427/2727",
164 .name = "small IIO_VAL_FRACTIONAL, 5/32768 scaled by 3/10000",
209 .name = "small IIO_VAL_FRACTIONAL_LOG2, 760/32768 scaled by 15/22",
218 .name = "small IIO_VAL_FRACTIONAL_LOG2, 761/32768 scaled by 15/22",
/linux/include/linux/
H A Dsched_clock.h19 * @mult: Multiplier for scaled math conversion.
20 * @shift: Shift value for scaled math conversion.
H A Dtimekeeper_internal.h35 * @mult: (NTP adjusted) multiplier for scaled math conversion
36 * @shift: Shift value for scaled math conversion
97 * @ntp_err_mult: Multiplication factor 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/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/dccp/ccids/
H A Dccid2.h
/linux/drivers/iio/humidity/
H A Dhdc3020.c388 * celsius scaled by HDC3020_THRESH_FRACTION. in hdc3020_thresh_get_temp()
407 * scaled by HDC3020_THRESH_FRACTION. in hdc3020_thresh_get_hum()
545 * in degree celsius scaled by HDC3020_THRESH_FRACTION. in hdc3020_write_thresh()
546 * Scale by 1000000 to be able to subtract scaled in hdc3020_write_thresh()
589 * humidity in percent scaled by HDC3020_THRESH_FRACTION. in hdc3020_write_thresh()
590 * Scale by 1000000 to be able to subtract scaled in hdc3020_write_thresh()
/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/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/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/Documentation/userspace-api/media/v4l/
H A Ddev-subdev.rst347 the area of the image that will be scaled up.
365 from the original and scaled image sizes. Both sizes are represented by
369 rectangle on the subdev's sink pad is scaled to the size configured
484 scaled image. The location of the scaled image in the cropped image is
499 from both of the sink pads are individually cropped, then scaled and

1234567891011