Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/arch/sparc/kernel/
Dvisemul.c492 int scaled = src << scale; in pformat() local
493 int from_fixed = scaled >> 7; in pformat()
515 s64 scaled = src << scale; in pformat() local
516 s64 from_fixed = scaled >> 23; in pformat()
538 s64 scaled = src << scale; in pformat() local
539 s64 from_fixed = scaled >> 16; in pformat()
605 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() local
609 scaled++; in pmul()
610 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); in pmul()
630 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() local
[all …]
/linux-4.1.27/kernel/sched/
Dcputime.c342 cputime_t scaled = cputime_to_scaled(cputime_one_jiffy); in irqtime_account_process_tick() local
350 scaled *= ticks; in irqtime_account_process_tick()
362 __account_system_time(p, cputime, scaled, CPUTIME_SOFTIRQ); in irqtime_account_process_tick()
364 account_user_time(p, cputime, scaled); in irqtime_account_process_tick()
368 account_guest_time(p, cputime, scaled); in irqtime_account_process_tick()
370 __account_system_time(p, cputime, scaled, CPUTIME_SYSTEM); in irqtime_account_process_tick()
519 u64 scaled; in scale_stime() local
553 scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total); in scale_stime()
554 return (__force cputime_t) scaled; in scale_stime()
/linux-4.1.27/Documentation/video4linux/
Dsh_mobile_ceu_camera.txt40 accents represent "useful" data, basically, CEU scaled and cropped output,
70 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
131 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate
Dvivid.txt317 video that will need to be scaled accordingly.
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt172 __u64 ac_utimescaled; /* utime scaled on frequency etc */
173 __u64 ac_stimescaled; /* stime scaled on frequency etc */
174 __u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */
/linux-4.1.27/drivers/iio/light/
Dtsl2563.c447 unsigned long scaled = adc; in calib_adc() local
449 scaled *= calib; in calib_adc()
450 scaled >>= CALIB_FRAC_BITS; in calib_adc()
452 return (u32) scaled; in calib_adc()
/linux-4.1.27/Documentation/hwmon/
Dsmsc47m19233 Voltages are scaled such that the nominal voltage corresponds to
37 Both voltage and temperature values are scaled by 1000, the sys files
Dadm102662 dedicated inputs. There are several inputs scaled to 0-3V full-scale range
63 for SCSI terminator power. The remaining inputs are not scaled and have
Dadm9240125 Voltage (IN) measurement is internally scaled:
141 The driver reports and accepts voltage limits scaled to the above table.
Dadm127545 and will typically have to be scaled.
Dvt121197 performs the scaling and returns the properly scaled voltage value.
Dsysfs-interface17 voltages between 0 and +4V. Other voltages are scaled back into that
134 Because of this variation, values are generally NOT scaled
Dit87182 voltage inputs are internal and scaled inside the chip:
/linux-4.1.27/Documentation/misc-devices/
Dlis3lv02d24 /sys/devices/platform/lis3lv02d. Reported values are scaled
37 By default output values are scaled between -32768 .. 32767. In joystick raw
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-class-tpm66 scaled to be displayed in usecs. In this case "[adjusted]"
185 were scaled by the driver to be reported in usec from msecs.
/linux-4.1.27/tools/perf/
Dbuiltin-stat.c487 perf_counts_values__scale(aggr, scale, &counter->counts->scaled); in read_counter_aggr()
1302 int scaled = counter->counts->scaled; in print_counter_aggr() local
1312 if (scaled == -1 || !counter->supported) { in print_counter_aggr()
/linux-4.1.27/tools/perf/util/
Devsel.h24 s8 scaled; member
Devsel.c940 s8 scaled = 0; in perf_counts_values__scale() local
944 scaled = -1; in perf_counts_values__scale()
947 scaled = 1; in perf_counts_values__scale()
954 *pscaled = scaled; in perf_counts_values__scale()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_pm.c1079 bool enabled, bool scaled) in valleyview_update_sprite_wm() argument
2105 .sprites_scaled = params->spr.scaled, in intel_compute_pipe_wm()
2111 pipe_wm->sprites_scaled = params->spr.scaled; in intel_compute_pipe_wm()
2118 if (params->spr.scaled) in intel_compute_pipe_wm()
2810 config->sprites_scaled |= intel_plane->wm.scaled; in skl_compute_wm_global_parameters()
3356 int pixel_size, bool enabled, bool scaled) in skl_update_sprite_wm() argument
3362 intel_plane->wm.scaled = scaled; in skl_update_sprite_wm()
3428 int pixel_size, bool enabled, bool scaled) in ilk_update_sprite_wm() argument
3434 intel_plane->wm.scaled = scaled; in ilk_update_sprite_wm()
3446 if (IS_IVYBRIDGE(dev) && scaled && ilk_disable_lp_wm(dev)) in ilk_update_sprite_wm()
[all …]
Dintel_sdvo_regs.h109 u8 scaled:1; member
Dintel_drv.h501 bool scaled; member
1254 bool enabled, bool scaled);
Di915_drv.h557 int pixel_size, bool enable, bool scaled);
Dintel_sdvo.c780 args.scaled = 1; in intel_sdvo_create_preferred_input_timing()
/linux-4.1.27/Documentation/input/
Datarikbd.txt241 XMSB ; X maximum (in scaled mouse clicks)
243 YMSB ; Y maximum (in scaled mouse clicks)
250 command sets the maximum positive value that can be attained in the scaled
286 (independently scaled for each axis). Remember that the mouse position
314 XLSB ; (in scaled coordinate system)
Dinput.txt200 via a virtual PS/2 mouse and thus needs to be scaled
/linux-4.1.27/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h104 u8 scaled:1; member
Dpsb_intel_sdvo.c698 args.scaled = 1; in psb_intel_sdvo_create_preferred_input_timing()
/linux-4.1.27/arch/m68k/fpsp040/
Dscale.S5 | scaled by the source operand. If the absolute value of
Dbindec.S68 | The mantissa is scaled to the desired number of
/linux-4.1.27/Documentation/sound/alsa/
Dhdspm.txt24 scaled. (Only important for low performance boards).
/linux-4.1.27/Documentation/sysctl/
Dnet.txt289 are scaled (shifted) versions of that same value. Note that the min value
/linux-4.1.27/Documentation/filesystems/
Dgfs2-glocks.txt145 not scaled, but are in units of integer nanoseconds.
Dproc.txt1467 scaled linearly with /proc/<pid>/oom_score_adj.
/linux-4.1.27/Documentation/crypto/
Ddescore-readme.txt221 and if you use ALL of them, use `scaled by 8' address modes with displacement
/linux-4.1.27/arch/m68k/ifpsp060/src/
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
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 #
16096 # FP_SCR1(a6) = extended precision operand to be scaled #
16099 # FP_SCR1(a6) = scaled extended precision operand #
/linux-4.1.27/Documentation/
Dmd.txt546 They should be scaled by the bitmap_chunksize.
/linux-4.1.27/Documentation/virtual/kvm/
Dtimekeeping.txt340 promise to allow the TSC to additionally be scaled, but this hardware is not
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt1270 Fan level, scaled from the firmware values of 0-7 to the hwmon