| /kernel/linux/linux-5.10/drivers/macintosh/ |
| D | windfarm_smu_sensors.c | 92 s64 scaled; in smu_cputemp_get() local 102 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get() 103 scaled >>= 3; in smu_cputemp_get() 104 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get() 105 *value = (s32)(scaled << 1); in smu_cputemp_get() 113 s32 val, scaled; in smu_cpuamp_get() local 124 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get() 125 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get() 126 *value = scaled << 4; in smu_cpuamp_get() 134 s32 val, scaled; in smu_cpuvolt_get() local [all …]
|
| D | windfarm_pm81.c | 26 * - 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 …]
|
| /kernel/linux/linux-4.19/drivers/macintosh/ |
| D | windfarm_smu_sensors.c | 93 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 …]
|
| D | windfarm_pm81.c | 27 * - the main control (first control) gets the target value scaled with 30 * scaled with the second pair of factors, and the max of that and 31 * the scaled target is applied to the main control. 71 * systems fan control loop target result (the one before it gets scaled 332 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 360 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick() 362 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick() 366 scaled = max(scaled, cputarget); in wf_smu_sys_fans_tick() 367 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick() 368 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick() [all …]
|
| /kernel/linux/linux-4.19/arch/sparc/kernel/ |
| D | visemul.c | 493 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 …]
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | visemul.c | 493 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
| D | gsc-core.h | 187 * @crop: cropped(source)/scaled(destination) size 230 * @target_rot_dis_w: max pixel dst scaled width with the rotator is off 231 * @target_rot_dis_h: max pixel dst scaled height with the rotator is off 232 * @target_rot_en_w: max pixel dst scaled width with the rotator is on 233 * @target_rot_en_h: max pixel dst scaled height with the rotator is on 257 * @target_rot_dis_w: minimum output scaled pixel height when rotator is off 258 * @target_rot_dis_h: minimum output scaled pixel height when rotator is off 259 * @target_rot_en_w: minimum output scaled pixel height when rotator is on 260 * @target_rot_en_h: minimum output scaled pixel height when rotator is on
|
| /kernel/linux/linux-4.19/drivers/media/platform/exynos-gsc/ |
| D | gsc-core.h | 191 * @crop: cropped(source)/scaled(destination) size 234 * @target_rot_dis_w: max pixel dst scaled width with the rotator is off 235 * @target_rot_dis_h: max pixel dst scaled height with the rotator is off 236 * @target_rot_en_w: max pixel dst scaled width with the rotator is on 237 * @target_rot_en_h: max pixel dst scaled height with the rotator is on 261 * @target_rot_dis_w: minimum output scaled pixel height when rotator is off 262 * @target_rot_dis_h: minimum output scaled pixel height when rotator is off 263 * @target_rot_en_w: minimum output scaled pixel height when rotator is on 264 * @target_rot_en_h: minimum output scaled pixel height when rotator is on
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | timex.h | 68 __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) */
|
| /kernel/linux/linux-4.19/tools/power/x86/intel_pstate_tracer/ |
| D | intel_pstate_tracer.py | 113 g_plot('set y2label "Scaled Busy/performance/io-busy(%)"') 116 …_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C… 132 g_plot('set y2label "Scaled Busy/performance/io-busy(%)"') 135 …_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C… 249 """ Plot all cpu scaled busy """ 254 g_plot('set ylabel "Scaled Busy (Unitless)"') 255 g_plot('set title "{} : cpu scaled busy : {:%F %H:%M}"'.format(testname, datetime.now())) 328 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument 338 …" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(… 440 …re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?fro… [all …]
|
| /kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
| D | intel_pstate_tracer.py | 114 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(… 438 …re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?fro… [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/bcm/ |
| D | clk-kona.c | 57 /* Convert a divider into the scaled divisor value it represents. */ 64 * Build a scaled divider value as close as possible to the 81 /* The scaled minimum divisor representable by a divider */ 91 /* The scaled maximum divisor representable by a divider */ 105 * Convert a scaled divisor into its divider representation as 117 /* Return a rate scaled for use when dividing by a scaled divisor. */ 563 /* Read a divider value and return the scaled divisor it represents. */ 580 /* Return the scaled divisor value it represents */ in divider_read_scaled() 585 * Convert a divider's scaled divisor value into its recorded form 615 /* Convert the scaled divisor to the value we need to record */ in __div_commit() [all …]
|
| /kernel/linux/linux-4.19/drivers/clk/bcm/ |
| D | clk-kona.c | 56 /* Convert a divider into the scaled divisor value it represents. */ 63 * Build a scaled divider value as close as possible to the 80 /* The scaled minimum divisor representable by a divider */ 90 /* The scaled maximum divisor representable by a divider */ 104 * Convert a scaled divisor into its divider representation as 116 /* Return a rate scaled for use when dividing by a scaled divisor. */ 562 /* Read a divider value and return the scaled divisor it represents. */ 579 /* Return the scaled divisor value it represents */ in divider_read_scaled() 584 * Convert a divider's scaled divisor value into its recorded form 614 /* Convert the scaled divisor to the value we need to record */ in __div_commit() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/ |
| D | adi,adis16475.yaml | 74 adi,scaled-output-hz: 76 This property must be present if the clock mode is scaled-sync through 78 of 1Hz to 128HZ which must be scaled to originate an allowable sample
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
| D | ia_css_xnr3_types.h | 46 * 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.
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | sched_clock.h | 17 * @mult: Multipler for scaled math conversion. 18 * @shift: Shift value for scaled math conversion.
|
| /kernel/linux/linux-5.10/net/netfilter/ipvs/ |
| D | ip_vs_est.c | 44 * Average bps is scaled by 2^5, while average pps and cps are scaled by 2^10. 110 /* scaled by 2^10, but divided 2 seconds */ in estimation_timer() 123 /* scaled by 2^5, but divided 2 seconds */ in estimation_timer()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | gateworks-gsc.yaml | 82 1 - pre-scaled 24-bit voltage value 83 2 - scaled voltage based on an optional resistor divider 85 3 - pre-scaled 16-bit voltage value
|
| /kernel/linux/linux-4.19/net/netfilter/ipvs/ |
| D | ip_vs_est.c | 48 * Average bps is scaled by 2^5, while average pps and cps are scaled by 2^10. 114 /* scaled by 2^10, but divided 2 seconds */ in estimation_timer() 127 /* scaled by 2^5, but divided 2 seconds */ in estimation_timer()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | maxim,max20730.yaml | 39 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
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | gsc-hwmon.rst | 21 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
|
| /kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/ |
| D | sh_mobile_ceu_camera.rst | 46 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
|
| /kernel/linux/linux-4.19/Documentation/media/v4l-drivers/ |
| D | sh_mobile_ceu_camera.rst | 44 accents represent "useful" data, basically, CEU scaled and cropped output, 74 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at 135 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate
|
| /kernel/linux/linux-5.10/sound/isa/msnd/ |
| D | msnd_pinnacle_mixer.c | 204 /* 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()
|
| /kernel/linux/linux-4.19/sound/isa/msnd/ |
| D | msnd_pinnacle_mixer.c | 207 /* scaled by IMIX in digital mix */ in snd_msndmix_set() 216 /* scaled by IMIX in digital mix */ in snd_msndmix_set() 228 /* scaled by master volume */ in snd_msndmix_set() 235 /* scaled by master volume */ in snd_msndmix_set() 244 /* update master volume scaled controls */ in snd_msndmix_set()
|