/drivers/macintosh/ |
D | windfarm_pm121.c | 284 int slope; member 292 .slope = 1956315 296 .slope = 1565065 303 .slope = 1565065 307 .slope = 1956315 314 .slope = 2543190 318 .slope = 1565065 335 .slope = 65536 342 .slope = 65536 481 new_min = (average_power * correction->slope) >> 16; in pm121_correct() [all …]
|
/drivers/thermal/qcom/ |
D | tsens-common.c | 64 tmdev->sensor[i].slope = SLOPE_DEFAULT; in compute_intercept_slope() 73 tmdev->sensor[i].slope = num / den; in compute_intercept_slope() 78 tmdev->sensor[i].slope); in compute_intercept_slope() 88 den = s->slope; in code_to_degc()
|
D | tsens-8960.c | 247 int slope, offset; in code_to_mdegC() local 249 slope = thermal_zone_get_slope(s->tzd); in code_to_mdegC() 250 offset = CAL_MDEGC - slope * s->offset; in code_to_mdegC() 252 return adc_code * slope + offset; in code_to_mdegC()
|
D | tsens.h | 30 int slope; member
|
/drivers/thermal/ti-soc-thermal/ |
D | dra752-thermal-data.c | 439 .slope = DRA752_GRADIENT_SLOPE, 448 .slope = DRA752_GRADIENT_SLOPE, 457 .slope = DRA752_GRADIENT_SLOPE, 466 .slope = DRA752_GRADIENT_SLOPE, 475 .slope = DRA752_GRADIENT_SLOPE,
|
D | ti-thermal-common.c | 85 int ret, tmp, slope, constant; in __ti_thermal_get_temp() local 99 slope = s->slope; in __ti_thermal_get_temp() 108 slope = s->slope_pcb; in __ti_thermal_get_temp() 116 *temp = ti_thermal_hotspot_temperature(tmp, slope, constant); in __ti_thermal_get_temp()
|
D | omap4-thermal-data.c | 85 .slope = OMAP_GRADIENT_SLOPE_4430, 225 .slope = OMAP_GRADIENT_SLOPE_4460, 258 .slope = OMAP_GRADIENT_SLOPE_4470,
|
D | omap3-thermal-data.c | 94 .slope = 0, 167 .slope = 0,
|
D | omap5-thermal-data.c | 339 .slope = OMAP_GRADIENT_SLOPE_5430_CPU, 348 .slope = OMAP_GRADIENT_SLOPE_5430_GPU,
|
D | ti-bandgap.h | 277 const int slope; member
|
/drivers/thermal/ |
D | of-thermal.c | 75 int slope; member 856 tz->slope = coef[0]; in thermal_of_build_thermal_zone() 859 tz->slope = 1; in thermal_of_build_thermal_zone() 1007 tzp->slope = tz->slope; in of_parse_thermal_zones()
|
D | thermal_core.c | 1049 create_s32_tzp_attr(slope); 2141 return tz->tzp->slope; in thermal_zone_get_slope()
|
/drivers/platform/x86/ |
D | intel_ips.c | 847 u64 slope, offset; in read_mgtv() local 853 slope = offset = thm_readw(THM_MGTA); in read_mgtv() 854 slope = (slope & MGTA_SLOPE_MASK) >> MGTA_SLOPE_SHIFT; in read_mgtv() 857 ret = ((val * slope + 0x40) >> 7) + offset; in read_mgtv() 864 u16 val, slope, offset; in read_ptv() local 866 slope = (ips->pta_val & PTA_SLOPE_MASK) >> PTA_SLOPE_SHIFT; in read_ptv()
|
/drivers/media/platform/omap3isp/ |
D | ispresizer.h | 73 u8 slope; /* slope. */ member
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | eeprom.h | 115 u8 slope; member
|
D | debugfs.c | 134 seq_printf(file, "\t slope:%02hhx\n", td->slope); in mt7601u_eeprom_param_read()
|
D | eeprom.c | 365 d->slope = eeprom[MT_EE_TX_TSSI_SLOPE]; in mt7601u_init_tssi_params()
|
D | phy.c | 640 init_offset = -((tssi_db * d->slope + d->offset[1]) / 4096) + 10; in mt7601u_set_initial_tssi() 918 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()
|
/drivers/staging/media/davinci_vpfe/ |
D | davinci_vpfe_user.h | 785 unsigned short slope; member 907 short slope; member
|
D | dm365_ipipe_hw.c | 600 regw_ip(base_addr, gic->slope & GIC_SLOPE_MASK, GIC_SLP); in ipipe_set_gic_regs() 736 val = table[count].slope & GAMMA_MASK; in ipipe_update_gamma_tbl()
|
D | dm365_ipipe.c | 291 gic->thr > GIC_THR_MASK || gic->slope > GIC_SLOPE_MASK || in ipipe_validate_gic_params() 585 if (table[i].slope > GAMMA_MASK || in ipipe_validate_gamma_entry()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9002_calib.c | 371 int32_t delta, currPDADC, slope; in ar9287_hw_olc_temp_compensation() local 384 slope = ah->eep_ops->get_eeprom(ah, EEP_TEMPSENSE_SLOPE); in ar9287_hw_olc_temp_compensation() 386 if (slope == 0) { /* to avoid divide by zero case */ in ar9287_hw_olc_temp_compensation() 389 delta = ((currPDADC - ah->initPDADC)*4) / slope; in ar9287_hw_olc_temp_compensation()
|
/drivers/hwmon/ |
D | lm93.c | 360 const long slope = (uv_max - uv_min) / in LM93_IN_FROM_REG() local 362 const long intercept = uv_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_FROM_REG() 364 return (slope * reg + intercept + 500) / 1000; in LM93_IN_FROM_REG() 383 const long slope = (uv_max - uv_min) / in LM93_IN_TO_REG() local 385 const long intercept = uv_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_TO_REG() 387 u8 result = ((uv - intercept + (slope/2)) / slope); in LM93_IN_TO_REG()
|
/drivers/media/dvb-frontends/ |
D | dib0090.c | 872 struct slope { struct 874 s16 slope; member 876 static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val) in slopes_to_scale() 886 ret += (rest * slopes[i].slope) / slopes[i].range; in slopes_to_scale() 892 static const struct slope dib0090_wbd_slopes[3] = {
|
D | drxd_hard.c | 606 u16 slope, offset; in SetCfgIfAgc() local 630 slope = (u16) ((cfg->maxOutputLevel - in SetCfgIfAgc() 635 status = Write16(state, FE_AG_REG_GC1_AGC_RIC__A, slope, 0); in SetCfgIfAgc()
|