slope             348 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	if (!convert_to_custom_float_format(arr_points[0].slope, &fmt,
slope             369 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	if (!convert_to_custom_float_format(arr_points[1].slope, &fmt,
slope             529 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	arr_points[0].slope = dc_fixpt_div(arr_points[0].y,
slope             543 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	arr_points[1].slope = dc_fixpt_zero;
slope             551 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		arr_points[1].slope = dc_fixpt_div(
slope             179 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[0].red.slope, &fmt,
slope             184 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[0].green.slope, &fmt,
slope             189 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[0].blue.slope, &fmt,
slope             239 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[1].red.slope, &fmt,
slope             244 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[1].green.slope, &fmt,
slope             249 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[1].blue.slope, &fmt,
slope             415 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y,
slope             417 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y,
slope             419 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y,
slope             428 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].red.slope = dc_fixpt_zero;
slope             429 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.slope = dc_fixpt_zero;
slope             430 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].blue.slope = dc_fixpt_zero;
slope             439 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].red.slope = dc_fixpt_div(
slope             442 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].green.slope = dc_fixpt_div(
slope             445 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].blue.slope = dc_fixpt_div(
slope             585 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].red.slope = dc_fixpt_zero;
slope             586 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.slope = dc_fixpt_zero;
slope             587 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].blue.slope = dc_fixpt_zero;
slope             596 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].red.slope = dc_fixpt_div(
slope             599 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].green.slope = dc_fixpt_div(
slope             602 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].blue.slope = dc_fixpt_div(
slope              52 drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h 	struct fixed31_32 slope;
slope             347 drivers/hwmon/lm93.c 	const long slope = (uv_max - uv_min) /
slope             349 drivers/hwmon/lm93.c 	const long intercept = uv_min - slope * lm93_vin_reg_min[nr];
slope             351 drivers/hwmon/lm93.c 	return (slope * reg + intercept + 500) / 1000;
slope             370 drivers/hwmon/lm93.c 	const long slope = (uv_max - uv_min) /
slope             372 drivers/hwmon/lm93.c 	const long intercept = uv_min - slope * lm93_vin_reg_min[nr];
slope             374 drivers/hwmon/lm93.c 	u8 result = ((uv - intercept + (slope/2)) / slope);
slope              27 drivers/iio/humidity/hts221.h 	int slope, b_gen;
slope             267 drivers/iio/humidity/hts221_core.c 	int err, *slope, *b_gen, cal0, cal1;
slope             297 drivers/iio/humidity/hts221_core.c 	slope = &hw->sensors[HTS221_SENSOR_T].slope;
slope             300 drivers/iio/humidity/hts221_core.c 	*slope = ((cal_y1 - cal_y0) * 8000) / (cal_x1 - cal_x0);
slope             310 drivers/iio/humidity/hts221_core.c 	int err, *slope, *b_gen, data;
slope             336 drivers/iio/humidity/hts221_core.c 	slope = &hw->sensors[HTS221_SENSOR_H].slope;
slope             339 drivers/iio/humidity/hts221_core.c 	*slope = ((cal_y1 - cal_y0) * 8000) / (cal_x1 - cal_x0);
slope             356 drivers/iio/humidity/hts221_core.c 		data = hw->sensors[HTS221_SENSOR_H].slope;
slope             360 drivers/iio/humidity/hts221_core.c 		data = hw->sensors[HTS221_SENSOR_T].slope;
slope             386 drivers/iio/humidity/hts221_core.c 		div = hw->sensors[HTS221_SENSOR_H].slope;
slope             390 drivers/iio/humidity/hts221_core.c 		div = hw->sensors[HTS221_SENSOR_T].slope;
slope             274 drivers/macintosh/windfarm_pm121.c 	int	slope;
slope             282 drivers/macintosh/windfarm_pm121.c 		  .slope	=  1956315
slope             286 drivers/macintosh/windfarm_pm121.c 		  .slope	=  1565065
slope             293 drivers/macintosh/windfarm_pm121.c 		  .slope	=  1565065
slope             297 drivers/macintosh/windfarm_pm121.c 		  .slope	=  1956315
slope             304 drivers/macintosh/windfarm_pm121.c 		  .slope	=  2543190
slope             308 drivers/macintosh/windfarm_pm121.c 		  .slope	=  1565065
slope             325 drivers/macintosh/windfarm_pm121.c 	    .slope	=  65536
slope             332 drivers/macintosh/windfarm_pm121.c 	    .slope	=  65536
slope             471 drivers/macintosh/windfarm_pm121.c 	new_min = (average_power * correction->slope) >> 16;
slope             485 drivers/macintosh/windfarm_pm121.c 		new_min = value * pm121_connection->correction.slope;
slope             858 drivers/media/dvb-frontends/dib0090.c 	s16 slope;
slope             860 drivers/media/dvb-frontends/dib0090.c static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val)
slope             870 drivers/media/dvb-frontends/dib0090.c 		ret += (rest * slopes[i].slope) / slopes[i].range;
slope             876 drivers/media/dvb-frontends/dib0090.c static const struct slope dib0090_wbd_slopes[3] = {
slope             590 drivers/media/dvb-frontends/drxd_hard.c 			u16 slope, offset;
slope             614 drivers/media/dvb-frontends/drxd_hard.c 			slope = (u16) ((cfg->maxOutputLevel -
slope             619 drivers/media/dvb-frontends/drxd_hard.c 			status = Write16(state, FE_AG_REG_GC1_AGC_RIC__A, slope, 0);
slope             270 drivers/media/platform/omap3isp/ispresizer.c 	rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT)
slope              70 drivers/media/platform/omap3isp/ispresizer.h 	u8 slope;		/* slope. */
slope             527 drivers/net/phy/sfp.c static void sfp_hwmon_calibrate(struct sfp *sfp, unsigned int slope, int offset,
slope             531 drivers/net/phy/sfp.c 		*value = DIV_ROUND_CLOSEST(*value * slope, 256) + offset;
slope             371 drivers/net/wireless/ath/ath9k/ar9002_calib.c 	int32_t delta, currPDADC, slope;
slope             384 drivers/net/wireless/ath/ath9k/ar9002_calib.c 		slope = ah->eep_ops->get_eeprom(ah, EEP_TEMPSENSE_SLOPE);
slope             386 drivers/net/wireless/ath/ath9k/ar9002_calib.c 		if (slope == 0) { /* to avoid divide by zero case */
slope             389 drivers/net/wireless/ath/ath9k/ar9002_calib.c 			delta = ((currPDADC - ah->initPDADC)*4) / slope;
slope             459 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c 	u16 val, slope;
slope             473 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c 		slope = mt76x02_eeprom_get(dev, MT_EE_RF_TEMP_COMP_SLOPE_5G);
slope             476 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c 		slope = mt76x02_eeprom_get(dev, MT_EE_RF_TEMP_COMP_SLOPE_2G);
slope             481 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c 	t->high_slope = slope & 0xff;
slope             482 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c 	t->low_slope = slope >> 8;
slope             126 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "\t slope:%02hhx\n", td->slope);
slope             337 drivers/net/wireless/mediatek/mt7601u/eeprom.c 	d->slope = eeprom[MT_EE_TX_TSSI_SLOPE];
slope             107 drivers/net/wireless/mediatek/mt7601u/eeprom.h 		u8 slope;
slope             632 drivers/net/wireless/mediatek/mt7601u/phy.c 	init_offset = -((tssi_db * d->slope + d->offset[1]) / 4096) + 10;
slope             911 drivers/net/wireless/mediatek/mt7601u/phy.c 	curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9);
slope             833 drivers/platform/x86/intel_ips.c 	u64 slope, offset;
slope             839 drivers/platform/x86/intel_ips.c 	slope = offset = thm_readw(THM_MGTA);
slope             840 drivers/platform/x86/intel_ips.c 	slope = (slope & MGTA_SLOPE_MASK) >> MGTA_SLOPE_SHIFT;
slope             843 drivers/platform/x86/intel_ips.c 	ret = ((val * slope + 0x40) >> 7) + offset;
slope            2520 drivers/staging/media/ipu3/include/intel-ipu3.h 	__u16 slope[IPU3_UAPI_ISP_TNR3_VMEM_LEN];
slope              73 drivers/thermal/broadcom/bcm2835_thermal.c static int bcm2835_thermal_adc2temp(u32 adc, int offset, int slope)
slope              75 drivers/thermal/broadcom/bcm2835_thermal.c 	return offset + slope * adc;
slope              78 drivers/thermal/broadcom/bcm2835_thermal.c static int bcm2835_thermal_temp2adc(int temp, int offset, int slope)
slope              81 drivers/thermal/broadcom/bcm2835_thermal.c 	temp /= slope;
slope             228 drivers/thermal/broadcom/bcm2835_thermal.c 		int trip_temp, offset, slope;
slope             230 drivers/thermal/broadcom/bcm2835_thermal.c 		slope = thermal_zone_get_slope(tz);
slope             255 drivers/thermal/broadcom/bcm2835_thermal.c 						slope)
slope              26 drivers/thermal/broadcom/ns-thermal.c 	int slope = thermal_zone_get_slope(ns_thermal->tz);
slope              41 drivers/thermal/broadcom/ns-thermal.c 	*temp = slope * val + offset;
slope              71 drivers/thermal/of-thermal.c 	int slope;
slope             892 drivers/thermal/of-thermal.c 		tz->slope = coef[0];
slope             895 drivers/thermal/of-thermal.c 		tz->slope = 1;
slope            1059 drivers/thermal/of-thermal.c 		tzp->slope = tz->slope;
slope             240 drivers/thermal/qcom/tsens-8960.c 	int slope, offset;
slope             242 drivers/thermal/qcom/tsens-8960.c 	slope = thermal_zone_get_slope(s->tzd);
slope             243 drivers/thermal/qcom/tsens-8960.c 	offset = CAL_MDEGC - slope * s->offset;
slope             245 drivers/thermal/qcom/tsens-8960.c 	return adc_code * slope + offset;
slope              48 drivers/thermal/qcom/tsens-common.c 		priv->sensor[i].slope = SLOPE_DEFAULT;
slope              57 drivers/thermal/qcom/tsens-common.c 			priv->sensor[i].slope = num / den;
slope              62 drivers/thermal/qcom/tsens-common.c 				priv->sensor[i].slope);
slope              72 drivers/thermal/qcom/tsens-common.c 	den = s->slope;
slope              46 drivers/thermal/qcom/tsens.h 	int				slope;
slope             208 drivers/thermal/thermal_helpers.c 		return tz->tzp->slope;
slope             388 drivers/thermal/thermal_sysfs.c create_s32_tzp_attr(slope);
slope              73 drivers/thermal/ti-soc-thermal/ti-thermal-common.c 	int ret, tmp, slope, constant;
slope              87 drivers/thermal/ti-soc-thermal/ti-thermal-common.c 	slope = thermal_zone_get_slope(data->ti_thermal);
slope              96 drivers/thermal/ti-soc-thermal/ti-thermal-common.c 			slope = s->slope_pcb;
slope             104 drivers/thermal/ti-soc-thermal/ti-thermal-common.c 	*temp = ti_thermal_hotspot_temperature(tmp, slope, constant);
slope             106 drivers/thermal/zx2967_thermal.c 				  priv->tzd->tzp->slope);
slope             170 drivers/thermal/zx2967_thermal.c 	if (priv->tzd->tzp->slope == 0) {
slope             400 drivers/video/backlight/pwm_bl.c 	unsigned int slope = (128 * (max_val - min_val)) / nlevels;
slope             405 drivers/video/backlight/pwm_bl.c 		unsigned int linear_value = min_val + ((i * slope) / 128);
slope             324 include/linux/thermal.h 	int slope;
slope             139 net/sched/sch_cbs.c static s64 timediff_to_credits(s64 timediff, s64 slope)
slope             141 net/sched/sch_cbs.c 	return div64_s64(timediff * slope, NSEC_PER_SEC);
slope             144 net/sched/sch_cbs.c static s64 delay_from_credits(s64 credits, s64 slope)
slope             146 net/sched/sch_cbs.c 	if (unlikely(slope == 0))
slope             149 net/sched/sch_cbs.c 	return div64_s64(-credits * NSEC_PER_SEC, slope);
slope             152 net/sched/sch_cbs.c static s64 credits_from_len(unsigned int len, s64 slope, s64 port_rate)
slope             157 net/sched/sch_cbs.c 	return div64_s64(len * slope, port_rate);
slope             746 sound/soc/uniphier/aio-core.c 	int cur, diff, slope = 0, fs;
slope             755 sound/soc/uniphier/aio-core.c 		slope = diff / AUD_VOL_FADE_TIME * 1000 / fs;
slope             756 sound/soc/uniphier/aio-core.c 	slope = max(1, slope);
slope             759 sound/soc/uniphier/aio-core.c 			   OPORTMXTYVOLPARA1_SLOPEU_MASK, slope << 16);
slope             112 tools/testing/selftests/timers/freq-step.c 		    double *slope, double *r_stddev, double *r_max)
slope             129 tools/testing/selftests/timers/freq-step.c 	*slope = (xy_sum - x_sum * y_sum / n) / (x2_sum - x_sum * x_sum / n);
slope             130 tools/testing/selftests/timers/freq-step.c 	*intercept = (y_sum - *slope * x_sum) / n;
slope             137 tools/testing/selftests/timers/freq-step.c 		r = fabs(x * *slope + *intercept - y);
slope             149 tools/testing/selftests/timers/freq-step.c 	double intercept, slope, stddev1, max1, stddev2, max2;
slope             173 tools/testing/selftests/timers/freq-step.c 		regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1);
slope             174 tools/testing/selftests/timers/freq-step.c 		mono_freq_offset = slope;
slope             180 tools/testing/selftests/timers/freq-step.c 	regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1);
slope             181 tools/testing/selftests/timers/freq-step.c 	freq_error1 = slope * (1.0 - mono_freq_offset) - mono_freq_offset -
slope             184 tools/testing/selftests/timers/freq-step.c 	regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope,
slope             186 tools/testing/selftests/timers/freq-step.c 	freq_error2 = slope * (1.0 - mono_freq_offset) - mono_freq_offset -