Searched refs:scaled (Results 1 - 22 of 22) sorted by relevance

/linux-master/drivers/macintosh/
H A Dwindfarm_smu_sensors.c93 s64 scaled; local
103 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value);
104 scaled >>= 3;
105 scaled += ((s64)cpudiode->b_value) << 9;
106 *value = (s32)(scaled << 1);
114 s32 val, scaled; local
125 scaled = (s32)(val * (u32)cpuvcp->curr_scale);
126 scaled += (s32)cpuvcp->curr_offset;
127 *value = scaled << 4;
135 s32 val, scaled; local
156 s32 val, scaled; 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; local
359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0;
361 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled);
365 scaled = max(scaled, cputarge
[all...]
/linux-master/tools/perf/util/
H A Dcounts.h13 s8 scaled; member in struct:perf_counts
H A Dstat.c371 if (evsel->err || evsel->counts->scaled == -1)
H A Dstat-display.c803 if (run == 0 || ena == 0 || counter->counts->scaled == -1) {
/linux-master/arch/sparc/kernel/
H A Dvisemul.c493 int scaled = src << scale; local
494 int from_fixed = scaled >> 7;
516 s64 scaled = src << scale; local
517 s64 from_fixed = scaled >> 23;
539 s64 scaled = src << scale; local
540 s64 from_fixed = scaled >> 16;
606 u16 scaled = ((prod & 0x00ffff00) >> 8); local
610 scaled++;
611 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL));
631 u16 scaled local
656 u16 scaled; local
686 u16 scaled; local
[all...]
/linux-master/tools/lib/perf/tests/
H A Dtest-evlist.c457 s8 scaled = 0; local
533 perf_counts_values__scale(&counts[i], true, &scaled);
534 if (scaled == 1) {
539 } else if (scaled == -1) {
/linux-master/drivers/iio/light/
H A Dtsl2563.c421 /* Convert normalized, scaled ADC values to lux. */
440 unsigned long scaled = adc; local
442 scaled *= calib;
443 scaled >>= CALIB_FRAC_BITS;
445 return (u32) scaled;
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED))
136 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_ELAPSED, C_SCALED))
247 """ Plot all cpu scaled busy """
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, tsc, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz, cpu_mask):
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=)(\d+)(.*?from=)(\d+)(.*?to=)(\d+)(.*?mperf=)(\d+)(.*?aperf=)(\d+)(.*?tsc=)(\d+)(.*?freq=)(\d+)'
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, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz, cpu_mask)
/linux-master/tools/lib/perf/
H A Devsel.c543 s8 scaled = 0; local
547 scaled = -1;
550 scaled = 1;
556 *pscaled = scaled;
/linux-master/net/sched/
H A Dsch_sfq.c646 unsigned int scaled = SFQ_ALLOT_SIZE(ctl->quantum); local
648 if (scaled <= 0 || scaled > SHRT_MAX)
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-css-params.c147 * Calculate scaled output width. If the horizontal and vertical scaling
318 unsigned int scaled; member in struct:imgu_css_frame_params
424 int scaled = 0; local
462 scaled = 1;
474 frame_params[pin].scaled = scaled;
780 if (frame_params[i].scaled) {
1002 fr_pr->scaled = frame_params[pin].scaled;
1048 if (frame_params[pin].scaled) {
[all...]
H A Dipu3-abi.h781 /* 'down-scaled-stripes' - after down-scaling ONLY. used by BDS */
1029 u32 scaled; member in struct:imgu_abi_osys_frame_params
/linux-master/arch/m68k/fpsp040/
H A Dscale.S5 | scaled by the source operand. If the absolute value of
H A Dbindec.S68 | The mantissa is scaled to the desired number of
451 | The mantissa is scaled to the desired number of significant
/linux-master/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h104 u8 scaled:1; member in struct:psb_intel_sdvo_preferred_input_timing_args
427 scaled for the requested HDTV format */
H A Dpsb_intel_sdvo.c729 args.scaled = 1;
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_sdvo_regs.h115 u8 scaled:1; member in struct:intel_sdvo_preferred_input_timing_args
438 scaled for the requested HDTV format */
H A Dintel_sdvo.c804 args.scaled = 1;
/linux-master/arch/m68k/ifpsp060/src/
H A Dfpsp.S9564 # sscale(): computes the destination operand scaled by the source #
11659 # of this operation then has its exponent scaled by -0x6000 to create the
11770 # of this operation then has its exponent scaled by -0x6000 to create the
12817 # emulated by simply setting sign bit. Sgl/dbl operands must be scaled #
15851 # FP_SRC(a6) = fp op1 scaled(src) #
15852 # FP_DST(a6) = fp op2 scaled(dst) #
15858 # DST exponent was scaled by. If the SRC exponent is greater or equal, #
15969 # FP_SCR0(a6) = extended precision operand to be scaled #
15972 # FP_SCR0(a6) = scaled extended precision operand #
16022 # FP_SCR0(a6) = extended precision operand to be scaled #
[all...]
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c2045 const double scaled = c->raw_value * c->scale; local
2048 return scaled / interval;
2049 return scaled;
/linux-master/tools/perf/
H A Dbuiltin-stat.c335 counter->counts->scaled = -1;

Completed in 321 milliseconds