Symbol: slope
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1024
long long slope = 0;
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1026
slope = (stream->lumin_data.luminance_millinits[index2] - stream->lumin_data.luminance_millinits[index1]) /
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1030
int y_intercept = stream->lumin_data.luminance_millinits[index2] - slope * stream->lumin_data.refresh_rate_hz[index2];
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1032
return (y_intercept + refresh_hz * slope);
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1043
long long slope = 1;
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1045
slope = (stream->lumin_data.luminance_millinits[index2] - stream->lumin_data.luminance_millinits[index1]) /
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1049
int y_intercept = stream->lumin_data.luminance_millinits[index2] - slope * stream->lumin_data.refresh_rate_hz[index2];
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1051
return ((int)div64_s64((brightness_millinits - y_intercept), slope));
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
199
if (!convert_to_custom_float_format(corner_points[0].red.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
204
if (!convert_to_custom_float_format(corner_points[0].green.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
209
if (!convert_to_custom_float_format(corner_points[0].blue.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
259
if (!convert_to_custom_float_format(corner_points[1].red.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
264
if (!convert_to_custom_float_format(corner_points[1].green.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
269
if (!convert_to_custom_float_format(corner_points[1].blue.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
437
corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
439
corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
441
corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
450
corner_points[1].red.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
451
corner_points[1].green.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
452
corner_points[1].blue.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
461
corner_points[1].red.slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
464
corner_points[1].green.slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
467
corner_points[1].blue.slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
627
corner_points[1].red.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
628
corner_points[1].green.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
629
corner_points[1].blue.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
638
corner_points[1].red.slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
641
corner_points[1].green.slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
644
corner_points[1].blue.slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
217
corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
219
corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
221
corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
230
corner_points[1].red.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
231
corner_points[1].green.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
232
corner_points[1].blue.slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
355
if (!convert_to_custom_float_format(corner_points[0].red.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
360
if (!convert_to_custom_float_format(corner_points[0].green.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
365
if (!convert_to_custom_float_format(corner_points[0].blue.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
415
if (!convert_to_custom_float_format(corner_points[1].red.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
420
if (!convert_to_custom_float_format(corner_points[1].green.slope, &fmt,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
425
if (!convert_to_custom_float_format(corner_points[1].blue.slope, &fmt,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
356
if (!convert_to_custom_float_format(arr_points[0].slope, &fmt,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
377
if (!convert_to_custom_float_format(arr_points[1].slope, &fmt,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
537
arr_points[0].slope = dc_fixpt_div(arr_points[0].y,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
551
arr_points[1].slope = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
559
arr_points[1].slope = dc_fixpt_div(
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
117
struct fixed31_32 slope;
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
310
pipe_config->vrr.dc_balance.slope,
drivers/gpu/drm/i915/display/intel_display.c
5487
PIPE_CONF_CHECK_I(vrr.dc_balance.slope);
drivers/gpu/drm/i915/display/intel_display_types.h
1392
u16 guardband, slope;
drivers/gpu/drm/i915/display/intel_vrr.c
1004
crtc_state->vrr.dc_balance.slope =
drivers/gpu/drm/i915/display/intel_vrr.c
397
crtc_state->vrr.dc_balance.slope =
drivers/gpu/drm/i915/display/intel_vrr.c
837
crtc_state->vrr.dc_balance.slope);
drivers/hwmon/amc6821.c
154
int slope;
drivers/hwmon/amc6821.c
164
slope = 32 >> FIELD_GET(AMC6821_TEMP_SLOPE_MASK, regvals[2]);
drivers/hwmon/amc6821.c
165
if (slope)
drivers/hwmon/amc6821.c
166
temps[2] = temps[1] + DIV_ROUND_CLOSEST(255 - regvals[0], slope);
drivers/hwmon/lm93.c
347
const long slope = (uv_max - uv_min) /
drivers/hwmon/lm93.c
349
const long intercept = uv_min - slope * lm93_vin_reg_min[nr];
drivers/hwmon/lm93.c
351
return (slope * reg + intercept + 500) / 1000;
drivers/hwmon/lm93.c
370
const long slope = (uv_max - uv_min) /
drivers/hwmon/lm93.c
372
const long intercept = uv_min - slope * lm93_vin_reg_min[nr];
drivers/hwmon/lm93.c
374
u8 result = ((uv - intercept + (slope/2)) / slope);
drivers/iio/adc/qcom-spmi-rradc.c
304
int64_t *slope)
drivers/iio/adc/qcom-spmi-rradc.c
310
*slope = RR_ADC_CHG_TEMP_660_GF_SLOPE_UV_PER_C;
drivers/iio/adc/qcom-spmi-rradc.c
314
*slope = RR_ADC_CHG_TEMP_660_SMIC_SLOPE_UV_PER_C;
drivers/iio/adc/qcom-spmi-rradc.c
318
*slope = RR_ADC_CHG_TEMP_660_MGNA_SLOPE_UV_PER_C;
drivers/iio/adc/qcom-spmi-rradc.c
324
*slope = RR_ADC_CHG_TEMP_GF_SLOPE_UV_PER_C;
drivers/iio/adc/qcom-spmi-rradc.c
328
*slope = RR_ADC_CHG_TEMP_SMIC_SLOPE_UV_PER_C;
drivers/iio/humidity/hts221.h
25
int slope, b_gen;
drivers/iio/humidity/hts221_core.c
261
int err, *slope, *b_gen, cal0, cal1;
drivers/iio/humidity/hts221_core.c
291
slope = &hw->sensors[HTS221_SENSOR_T].slope;
drivers/iio/humidity/hts221_core.c
294
*slope = ((cal_y1 - cal_y0) * 8000) / (cal_x1 - cal_x0);
drivers/iio/humidity/hts221_core.c
304
int err, *slope, *b_gen, data;
drivers/iio/humidity/hts221_core.c
330
slope = &hw->sensors[HTS221_SENSOR_H].slope;
drivers/iio/humidity/hts221_core.c
333
*slope = ((cal_y1 - cal_y0) * 8000) / (cal_x1 - cal_x0);
drivers/iio/humidity/hts221_core.c
350
data = hw->sensors[HTS221_SENSOR_H].slope;
drivers/iio/humidity/hts221_core.c
354
data = hw->sensors[HTS221_SENSOR_T].slope;
drivers/iio/humidity/hts221_core.c
380
div = hw->sensors[HTS221_SENSOR_H].slope;
drivers/iio/humidity/hts221_core.c
384
div = hw->sensors[HTS221_SENSOR_T].slope;
drivers/macintosh/windfarm_pm121.c
275
int slope;
drivers/macintosh/windfarm_pm121.c
283
.slope = 1956315
drivers/macintosh/windfarm_pm121.c
287
.slope = 1565065
drivers/macintosh/windfarm_pm121.c
294
.slope = 1565065
drivers/macintosh/windfarm_pm121.c
298
.slope = 1956315
drivers/macintosh/windfarm_pm121.c
305
.slope = 2543190
drivers/macintosh/windfarm_pm121.c
309
.slope = 1565065
drivers/macintosh/windfarm_pm121.c
326
.slope = 65536
drivers/macintosh/windfarm_pm121.c
333
.slope = 65536
drivers/macintosh/windfarm_pm121.c
472
new_min = (average_power * correction->slope) >> 16;
drivers/macintosh/windfarm_pm121.c
486
new_min = value * pm121_connection->correction.slope;
drivers/media/dvb-frontends/dib0090.c
858
s16 slope;
drivers/media/dvb-frontends/dib0090.c
860
static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val)
drivers/media/dvb-frontends/dib0090.c
870
ret += (rest * slopes[i].slope) / slopes[i].range;
drivers/media/dvb-frontends/dib0090.c
876
static const struct slope dib0090_wbd_slopes[3] = {
drivers/media/dvb-frontends/drxd_hard.c
590
u16 slope, offset;
drivers/media/dvb-frontends/drxd_hard.c
614
slope = (u16) ((cfg->maxOutputLevel -
drivers/media/dvb-frontends/drxd_hard.c
619
status = Write16(state, FE_AG_REG_GC1_AGC_RIC__A, slope, 0);
drivers/media/platform/ti/omap3isp/ispresizer.c
272
rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT)
drivers/media/platform/ti/omap3isp/ispresizer.h
70
u8 slope; /* slope. */
drivers/net/phy/sfp.c
1115
static void sfp_hwmon_calibrate(struct sfp *sfp, unsigned int slope, int offset,
drivers/net/phy/sfp.c
1119
*value = DIV_ROUND_CLOSEST(*value * slope, 256) + offset;
drivers/net/wireless/ath/ath9k/ar9002_calib.c
380
int32_t delta, currPDADC, slope;
drivers/net/wireless/ath/ath9k/ar9002_calib.c
393
slope = ah->eep_ops->get_eeprom(ah, EEP_TEMPSENSE_SLOPE);
drivers/net/wireless/ath/ath9k/ar9002_calib.c
395
if (slope == 0) { /* to avoid divide by zero case */
drivers/net/wireless/ath/ath9k/ar9002_calib.c
398
delta = ((currPDADC - ah->initPDADC)*4) / slope;
drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c
461
u16 val, slope;
drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c
475
slope = mt76x02_eeprom_get(dev, MT_EE_RF_TEMP_COMP_SLOPE_5G);
drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c
478
slope = mt76x02_eeprom_get(dev, MT_EE_RF_TEMP_COMP_SLOPE_2G);
drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c
483
t->high_slope = slope & 0xff;
drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c
484
t->low_slope = slope >> 8;
drivers/net/wireless/mediatek/mt7601u/debugfs.c
115
seq_printf(file, "\t slope:%02hhx\n", td->slope);
drivers/net/wireless/mediatek/mt7601u/eeprom.c
337
d->slope = eeprom[MT_EE_TX_TSSI_SLOPE];
drivers/net/wireless/mediatek/mt7601u/eeprom.h
107
u8 slope;
drivers/net/wireless/mediatek/mt7601u/phy.c
635
init_offset = -((tssi_db * d->slope + d->offset[1]) / 4096) + 10;
drivers/net/wireless/mediatek/mt7601u/phy.c
914
curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9);
drivers/platform/x86/intel_ips.c
841
u64 slope, offset;
drivers/platform/x86/intel_ips.c
847
slope = offset = thm_readw(THM_MGTA);
drivers/platform/x86/intel_ips.c
848
slope = (slope & MGTA_SLOPE_MASK) >> MGTA_SLOPE_SHIFT;
drivers/platform/x86/intel_ips.c
851
ret = ((val * slope + 0x40) >> 7) + offset;
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c
39
int slope, dydx;
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c
50
slope = (int)(dy_shift + rounding) / dx;
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c
55
if (slope <= -max_slope - 1) {
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c
57
} else if (slope >= max_slope) {
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c
60
dydx = slope;
drivers/staging/media/ipu3/include/uapi/intel-ipu3.h
2561
__u16 slope[IPU3_UAPI_ISP_TNR3_VMEM_LEN];
drivers/thermal/broadcom/bcm2711_thermal.c
37
int slope = thermal_zone_get_slope(tz);
drivers/thermal/broadcom/bcm2711_thermal.c
52
*temp = slope * val + offset;
drivers/thermal/broadcom/bcm2835_thermal.c
207
int offset, slope, crit_temp;
drivers/thermal/broadcom/bcm2835_thermal.c
209
slope = thermal_zone_get_slope(tz);
drivers/thermal/broadcom/bcm2835_thermal.c
232
slope)
drivers/thermal/broadcom/bcm2835_thermal.c
74
static int bcm2835_thermal_adc2temp(u32 adc, int offset, int slope)
drivers/thermal/broadcom/bcm2835_thermal.c
76
return offset + slope * adc;
drivers/thermal/broadcom/bcm2835_thermal.c
79
static int bcm2835_thermal_temp2adc(int temp, int offset, int slope)
drivers/thermal/broadcom/bcm2835_thermal.c
82
temp /= slope;
drivers/thermal/broadcom/ns-thermal.c
21
int slope = thermal_zone_get_slope(tz);
drivers/thermal/broadcom/ns-thermal.c
36
*temp = slope * val + offset;
drivers/thermal/qcom/tsens-8960.c
192
priv->sensor[i].slope = tsens_msm8960_slope[i];
drivers/thermal/qcom/tsens-v0_1.c
212
priv->sensor[0].slope = 2901;
drivers/thermal/qcom/tsens-v0_1.c
213
priv->sensor[1].slope = 2846;
drivers/thermal/qcom/tsens-v0_1.c
214
priv->sensor[2].slope = 3038;
drivers/thermal/qcom/tsens-v0_1.c
215
priv->sensor[3].slope = 2955;
drivers/thermal/qcom/tsens-v0_1.c
216
priv->sensor[4].slope = 2901;
drivers/thermal/qcom/tsens-v0_1.c
217
priv->sensor[5].slope = 2846;
drivers/thermal/qcom/tsens-v0_1.c
227
priv->sensor[i].slope = 3000;
drivers/thermal/qcom/tsens-v0_1.c
244
priv->sensor[0].slope = 2911;
drivers/thermal/qcom/tsens-v0_1.c
245
priv->sensor[1].slope = 2789;
drivers/thermal/qcom/tsens-v0_1.c
246
priv->sensor[2].slope = 2906;
drivers/thermal/qcom/tsens-v0_1.c
247
priv->sensor[3].slope = 2763;
drivers/thermal/qcom/tsens-v0_1.c
248
priv->sensor[4].slope = 2922;
drivers/thermal/qcom/tsens-v0_1.c
249
priv->sensor[5].slope = 2867;
drivers/thermal/qcom/tsens-v0_1.c
250
priv->sensor[6].slope = 2833;
drivers/thermal/qcom/tsens-v0_1.c
251
priv->sensor[7].slope = 2838;
drivers/thermal/qcom/tsens-v0_1.c
252
priv->sensor[8].slope = 2840;
drivers/thermal/qcom/tsens-v0_1.c
263
priv->sensor[i].slope = 3000;
drivers/thermal/qcom/tsens-v1.c
149
priv->sensor[0].slope = 3313;
drivers/thermal/qcom/tsens-v1.c
150
priv->sensor[1].slope = 3275;
drivers/thermal/qcom/tsens-v1.c
151
priv->sensor[2].slope = 3320;
drivers/thermal/qcom/tsens-v1.c
152
priv->sensor[3].slope = 3246;
drivers/thermal/qcom/tsens-v1.c
153
priv->sensor[4].slope = 3279;
drivers/thermal/qcom/tsens-v1.c
154
priv->sensor[5].slope = 3257;
drivers/thermal/qcom/tsens-v1.c
155
priv->sensor[6].slope = 3234;
drivers/thermal/qcom/tsens-v1.c
156
priv->sensor[7].slope = 3269;
drivers/thermal/qcom/tsens-v1.c
157
priv->sensor[8].slope = 3255;
drivers/thermal/qcom/tsens-v1.c
158
priv->sensor[9].slope = 3239;
drivers/thermal/qcom/tsens-v1.c
159
priv->sensor[10].slope = 3286;
drivers/thermal/qcom/tsens-v2.c
145
u32 slope = V2_SLOPE_DEFAULT;
drivers/thermal/qcom/tsens-v2.c
163
slope = (TWO_PT_SHIFTED_GAIN / (base1 - base0));
drivers/thermal/qcom/tsens-v2.c
171
slope = ONE_PT_SLOPE;
drivers/thermal/qcom/tsens-v2.c
179
FIELD_PREP(CONVERSION_SLOPE_MASK, slope) |
drivers/thermal/qcom/tsens.c
270
if (!priv->sensor[i].slope)
drivers/thermal/qcom/tsens.c
271
priv->sensor[i].slope = SLOPE_DEFAULT;
drivers/thermal/qcom/tsens.c
280
priv->sensor[i].slope = num / den;
drivers/thermal/qcom/tsens.c
285
priv->sensor[i].slope);
drivers/thermal/qcom/tsens.c
293
u64 code = div_u64(((u64)degc * s->slope + s->offset), SLOPE_FACTOR);
drivers/thermal/qcom/tsens.c
304
den = s->slope;
drivers/thermal/qcom/tsens.c
824
priv->sensor[i].slope, priv->sensor[i].offset);
drivers/thermal/qcom/tsens.h
62
int slope;
drivers/thermal/thermal_helpers.c
222
return tz->tzp->slope;
drivers/thermal/thermal_of.c
221
tzp->slope = coef[0];
drivers/thermal/thermal_sysfs.c
323
create_s32_tzp_attr(slope);
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
107
*temp = ti_thermal_hotspot_temperature(tmp, slope, constant);
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
76
int ret, tmp, slope, constant;
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
90
slope = thermal_zone_get_slope(tz);
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
99
slope = s->slope_pcb;
drivers/video/backlight/pwm_bl.c
382
unsigned int slope = (128 * (max_val - min_val)) / nlevels;
drivers/video/backlight/pwm_bl.c
387
unsigned int linear_value = min_val + ((i * slope) / 128);
include/linux/thermal.h
186
int slope;
net/sched/sch_cbs.c
140
static s64 timediff_to_credits(s64 timediff, s64 slope)
net/sched/sch_cbs.c
142
return div64_s64(timediff * slope, NSEC_PER_SEC);
net/sched/sch_cbs.c
145
static s64 delay_from_credits(s64 credits, s64 slope)
net/sched/sch_cbs.c
147
if (unlikely(slope == 0))
net/sched/sch_cbs.c
150
return div64_s64(-credits * NSEC_PER_SEC, slope);
net/sched/sch_cbs.c
153
static s64 credits_from_len(unsigned int len, s64 slope, s64 port_rate)
net/sched/sch_cbs.c
158
return div64_s64(len * slope, port_rate);
sound/soc/uniphier/aio-core.c
746
int cur, diff, slope = 0, fs;
sound/soc/uniphier/aio-core.c
755
slope = diff / AUD_VOL_FADE_TIME * 1000 / fs;
sound/soc/uniphier/aio-core.c
756
slope = max(1, slope);
sound/soc/uniphier/aio-core.c
759
OPORTMXTYVOLPARA1_SLOPEU_MASK, slope << 16);
tools/testing/selftests/timers/freq-step.c
112
double *slope, double *r_stddev, double *r_max)
tools/testing/selftests/timers/freq-step.c
129
*slope = (xy_sum - x_sum * y_sum / n) / (x2_sum - x_sum * x_sum / n);
tools/testing/selftests/timers/freq-step.c
130
*intercept = (y_sum - *slope * x_sum) / n;
tools/testing/selftests/timers/freq-step.c
137
r = fabs(x * *slope + *intercept - y);
tools/testing/selftests/timers/freq-step.c
149
double intercept, slope, stddev1, max1, stddev2, max2;
tools/testing/selftests/timers/freq-step.c
173
regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1);
tools/testing/selftests/timers/freq-step.c
174
mono_freq_offset = slope;
tools/testing/selftests/timers/freq-step.c
180
regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1);
tools/testing/selftests/timers/freq-step.c
181
freq_error1 = slope * (1.0 - mono_freq_offset) - mono_freq_offset -
tools/testing/selftests/timers/freq-step.c
184
regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope,
tools/testing/selftests/timers/freq-step.c
186
freq_error2 = slope * (1.0 - mono_freq_offset) - mono_freq_offset -