Home
last modified time | relevance | path

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

12345678910>>...26

/kernel/linux/linux-5.10/drivers/macintosh/
Dwindfarm_smu_sensors.c92 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 …]
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
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-6.6/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.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 …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
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 …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
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 …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
Dgsc-core.h187 * @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-6.6/Documentation/hwmon/
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.
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
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
/kernel/linux/linux-5.10/include/uapi/linux/
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) */
/kernel/linux/linux-6.6/include/uapi/linux/
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) */
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
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(…
438 …re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?fro…
[all …]
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/
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 …]
/kernel/linux/linux-6.6/drivers/clk/bcm/
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 …]
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-kona.c57 /* 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-5.10/Documentation/devicetree/bindings/iio/imu/
Dadi,adis16475.yaml74 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-6.6/include/linux/
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.
Dsched_clock.h19 * @mult: Multiplier for scaled math conversion.
20 * @shift: Shift value for scaled math conversion.
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
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.
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
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.
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_est.c44 * 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/include/linux/
Dsched_clock.h17 * @mult: Multipler for scaled math conversion.
18 * @shift: Shift value for scaled math conversion.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dgateworks-gsc.yaml82 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-5.10/Documentation/hwmon/
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

12345678910>>...26