Home
last modified time | relevance | path

Searched refs:slope (Results 1 – 18 of 18) sorted by relevance

/linux-4.1.27/drivers/macintosh/
Dwindfarm_pm121.c284 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 …]
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Domap4-thermal-data.c85 .slope = OMAP_GRADIENT_SLOPE_4430,
225 .slope = OMAP_GRADIENT_SLOPE_4460,
258 .slope = OMAP_GRADIENT_SLOPE_4470,
Ddra752-thermal-data.c439 .slope = DRA752_GRADIENT_SLOPE,
448 .slope = DRA752_GRADIENT_SLOPE,
457 .slope = DRA752_GRADIENT_SLOPE,
466 .slope = DRA752_GRADIENT_SLOPE,
475 .slope = DRA752_GRADIENT_SLOPE,
Dti-thermal-common.c85 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()
Domap5-thermal-data.c339 .slope = OMAP_GRADIENT_SLOPE_5430_CPU,
348 .slope = OMAP_GRADIENT_SLOPE_5430_GPU,
Dti-bandgap.h277 const int slope; member
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispresizer.h73 u8 slope; /* slope. */ member
Dispresizer.c273 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
/linux-4.1.27/drivers/platform/x86/
Dintel_ips.c847 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()
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddavinci_vpfe_user.h785 unsigned short slope; member
907 short slope; member
Ddm365_ipipe_hw.c600 regw_ip(base_addr, gic->slope & GIC_SLOPE_MASK, GIC_SLP); in ipipe_set_gic_regs()
734 val = table[count].slope & GAMMA_MASK; in ipipe_update_gamma_tbl()
Ddm365_ipipe.c291 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()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dar9002_calib.c371 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()
/linux-4.1.27/drivers/hwmon/
Dlm93.c360 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()
/linux-4.1.27/drivers/media/dvb-frontends/
Ddib0090.c866 struct slope { struct
868 s16 slope; member
870 static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val) in slopes_to_scale()
880 ret += (rest * slopes[i].slope) / slopes[i].range; in slopes_to_scale()
886 static const struct slope dib0090_wbd_slopes[3] = {
Ddrxd_hard.c606 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()
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Didle-states.txt144 The graph curve with X-axis values = { x | 0 < x < 1ms } has a steep slope
148 shallower slope and essentially represents the energy consumption of the idle
193 However, the lower power consumption (ie shallower energy curve slope) of idle
/linux-4.1.27/Documentation/hwmon/
Dnct6775170 rises, the chip will calculate the DC/PWM output based on the current slope.