Home
last modified time | relevance | path

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

12345678910>>...16

/openbmc/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 …]
/openbmc/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 …]
/openbmc/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.
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.h185 * @crop: cropped(source)/scaled(destination) size
228 * @target_rot_dis_w: max pixel dst scaled width with the rotator is off
229 * @target_rot_dis_h: max pixel dst scaled height with the rotator is off
230 * @target_rot_en_w: max pixel dst scaled width with the rotator is on
231 * @target_rot_en_h: max pixel dst scaled height with the rotator is on
255 * @target_rot_dis_w: minimum output scaled pixel height when rotator is off
256 * @target_rot_dis_h: minimum output scaled pixel height when rotator is off
257 * @target_rot_en_w: minimum output scaled pixel height when rotator is on
258 * @target_rot_en_h: minimum output scaled pixel height when rotator is on
/openbmc/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) */
/openbmc/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 …]
/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona.c49 /* Convert a divider into the scaled divisor value it represents. */
56 * Build a scaled divider value as close as possible to the
73 /* The scaled minimum divisor representable by a divider */
83 /* The scaled maximum divisor representable by a divider */
97 * Convert a scaled divisor into its divider representation as
109 /* Return a rate scaled for use when dividing by a scaled divisor. */
555 /* Read a divider value and return the scaled divisor it represents. */
572 /* Return the scaled divisor value it represents */ in divider_read_scaled()
577 * Convert a divider's scaled divisor value into its recorded form
607 /* Convert the scaled divisor to the value we need to record */ in __div_commit()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3_types.h46 * sigma parameters are fixed-point values between 0.0 and 1.0, scaled with
63 * All coring parameters are fixed-point values between 0.0 and 1.0, scaled
78 * scaled with IA_CSS_XNR3_BLENDING_SCALE.
H A Dia_css_xnr3_param.h40 * for dark areas, and a scaled diff towards the value for bright areas. */
51 * for dark areas, and a scaled diff towards the value for bright areas. */
/openbmc/linux/include/linux/
H A Dptp_clock_kernel.h226 * scaled_ppm_to_ppb() - convert scaled ppm to ppb
252 * diff_by_scaled_ppm - Calculate difference using scaled ppm
254 * @scaled_ppm: scaled parts per million to adjust by
257 * Calculate the difference to adjust the base increment using scaled parts
280 * adjust_by_scaled_ppm - Adjust a base increment by scaled parts per million
282 * @scaled_ppm: scaled parts per million frequency adjustment
285 * requested scaled parts per million adjustment.
H A Dsched_clock.h19 * @mult: Multiplier for scaled math conversion.
20 * @shift: Shift value for scaled math conversion.
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A 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
/openbmc/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
/openbmc/linux/sound/isa/msnd/
H A Dmsnd_pinnacle_mixer.c204 /* scaled by IMIX in digital mix */ in snd_msndmix_set()
213 /* scaled by IMIX in digital mix */ in snd_msndmix_set()
224 /* scaled by master volume */ in snd_msndmix_set()
230 /* scaled by master volume */ in snd_msndmix_set()
239 /* update master volume scaled controls */ in snd_msndmix_set()
/openbmc/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",
/openbmc/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
/openbmc/linux/Documentation/accounting/
H A 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 */
/openbmc/linux/net/dccp/ccids/
H A Dccid2.h43 * @tx_srtt: smoothed RTT estimate, scaled by 2^3
44 * @tx_mdev: smoothed RTT variation, scaled by 2^2
/openbmc/linux/net/dccp/ccids/lib/
H A Dtfrc_equation.c54 scaled by 1000000:
608 * @R: RTT scaled by 1000000 (i.e., microseconds)
609 * @p: loss ratio estimate scaled by 1000000
611 * Returns X_calc in bytes per second (not scaled).
645 * Since f(p) and R are both scaled by 1000000, we need to multiply by in tfrc_calc_x()
658 * @fvalue: function value to match, scaled by 1000000
660 * Returns closest match for p, also scaled by 1000000
/openbmc/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()
/openbmc/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
323 /* Compute the scaled DPLL multiplier, based on the divider */ in omap2_dpll_round_rate()
/openbmc/qemu/target/sparc/
H A Dvis_helper.c400 int32_t scaled = src << scale; in helper_fpack16() local
401 int32_t from_fixed = scaled >> 7; in helper_fpack16()
422 int64_t scaled = (int64_t)src << scale; in helper_fpack32() local
423 int64_t from_fixed = scaled >> 23; in helper_fpack32()
443 int64_t scaled = (int64_t)src << scale; in helper_fpackfix() local
444 int64_t from_fixed = scaled >> 16; in helper_fpackfix()
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.h253 * performed using "scaled" values. A scaled value is one that's
255 * a scaled value by a scaled divisor produces the desired quotient
273 u64 scaled_div; /* scaled divider value */

12345678910>>...16