Searched refs:slope (Results 1 – 7 of 7) sorted by relevance
284 int slope; member292 .slope = 1956315296 .slope = 1565065303 .slope = 1565065307 .slope = 1956315314 .slope = 2543190318 .slope = 1565065335 .slope = 65536342 .slope = 65536481 new_min = (average_power * correction->slope) >> 16; in pm121_correct()[all …]
82 u8 slope; /* slope. */ member
284 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
853 u64 slope, offset; in read_mgtv() local859 slope = offset = thm_readw(THM_MGTA); in read_mgtv()860 slope = (slope & MGTA_SLOPE_MASK) >> MGTA_SLOPE_SHIFT; in read_mgtv()863 ret = ((val * slope + 0x40) >> 7) + offset; in read_mgtv()870 u16 val, slope, offset; in read_ptv() local872 slope = (ips->pta_val & PTA_SLOPE_MASK) >> PTA_SLOPE_SHIFT; in read_ptv()
363 int32_t delta, currPDADC, slope; in ar9287_hw_olc_temp_compensation() local376 slope = ah->eep_ops->get_eeprom(ah, EEP_TEMPSENSE_SLOPE); in ar9287_hw_olc_temp_compensation()378 if (slope == 0) { /* to avoid divide by zero case */ in ar9287_hw_olc_temp_compensation()381 delta = ((currPDADC - ah->initPDADC)*4) / slope; in ar9287_hw_olc_temp_compensation()
349 const long slope = (uV_max - uV_min) / in LM93_IN_FROM_REG() local351 const long intercept = uV_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_FROM_REG()353 return (slope * reg + intercept + 500) / 1000; in LM93_IN_FROM_REG()370 const long slope = (uV_max - uV_min) / in LM93_IN_TO_REG() local372 const long intercept = uV_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_TO_REG()374 u8 result = ((uV - intercept + (slope/2)) / slope); in LM93_IN_TO_REG()
776 struct slope { struct778 s16 slope; argument780 static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val) in slopes_to_scale()790 ret += (rest * slopes[i].slope) / slopes[i].range; in slopes_to_scale()796 static const struct slope dib0090_wbd_slopes[3] = {