Searched refs:interpolate (Results 1 - 26 of 26) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c249 #define calc_overscan(o) interpolate(0x100, 0xe1, 0xc1, o)
514 regs->tv_enc[0x20] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x20], nv17_tv_update_properties()
516 regs->tv_enc[0x22] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x22], nv17_tv_update_properties()
563 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), nv17_ctv_update_rescaler()
565 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), nv17_ctv_update_rescaler()
H A Dtvnv17.h117 static inline int interpolate(int y0, int y1, int y2, int x) interpolate() function
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dch7006_mode.c224 black_level = interpolate(90, black_level, 208, priv->brightness); ch7006_setup_levels()
338 flicker = interpolate(0, 2, 3, priv->flicker); ch7006_setup_properties()
343 contrast = interpolate(0, 5, 7, priv->contrast); ch7006_setup_properties()
H A Dch7006_priv.h158 static inline int interpolate(int y0, int y1, int y2, int x) interpolate() function
/linux-4.1.27/drivers/media/platform/
H A Dvia-camera.h47 #define VCR_CI_CONVTYPE 0x00004000 /* 4:2:2 to 4:4:4; 1 = interpolate */
/linux-4.1.27/drivers/power/
H A Dtwl4030_madc_battery.c93 /* interval found - interpolate within range */ twl4030_madc_bat_voltscale()
H A Dab8500_fg.c57 #define interpolate(x, x1, y1, x2, y2) \ macro
876 cap = interpolate(voltage, ab8500_fg_volt_to_capacity()
928 resist = interpolate(di->bat_temp / 10, ab8500_fg_battery_resistance()
/linux-4.1.27/scripts/
H A Dget_maintainer.pl1310 $stat_pattern =~ s/(\$\w+)/$1/eeg; #interpolate $stat_pattern
1390 $cmd =~ s/(\$\w+)/$1/eeg; #interpolate $cmd
1411 $cmd =~ s/(\$\w+)/$1/eeg; #interpolate $cmd
1416 $cmd =~ s/(\$\w+)/$1/eeg; #interpolate $cmd
1900 $cmd =~ s/(\$\w+)/$1/eeg; # interpolate $cmd
1918 $stat_pattern =~ s/(\$\w+)/$1/eeg; #interpolate $stat_pattern
2057 $cmd =~ s/(\$\w+)/$1/eeg; #interpolate $cmd
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_qmath.c278 /* interpolate using the offset. q.15 format. */ qm_log10()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_math.c104 * and interpolate it between the log table entry used and the intlog2()
/linux-4.1.27/arch/m68k/mac/
H A Dmacboing.c26 * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric)
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Deeprom.c632 * here and interpolate later.
894 * interpolate later.
1136 * To recreate the curves we read here the points and interpolate
1561 * and we have to interpolate to create the full table for these channels and
H A Dphy.c2548 * and interpolate between them */ ath5k_create_power_curve()
2579 * for a given frequency so that we can interpolate between
2634 * interpolate */ ath5k_get_chan_pcal_surrounding_piers()
2638 * piers, no need to interpolate, just use ath5k_get_chan_pcal_surrounding_piers()
2647 * one to interpolate */ ath5k_get_chan_pcal_surrounding_piers()
2668 * for a given frequency and interpolate between power
2730 /* Now interpolate power value, based on the frequency */ ath5k_get_rate_pcal_data()
2849 * from eeprom (eeprom.c) and interpolate here.
2858 * and interpolate here.
3060 * and interpolate here. Note that in most cases only 2 (higher and lower)
3326 * and interpolate if needed to get the final ath5k_setup_channel_powertable()
3371 * pier, no need to interpolate ath5k_setup_channel_powertable()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c2964 static int interpolate(int x, int xa, int xb, int ya, int yb) interpolate() function
4242 else /* interpolate */ ar9003_hw_power_interpolate()
4243 y = interpolate(x, lx, hx, ly, hy); ar9003_hw_power_interpolate()
4282 /* interpolate to get target power for given frequency */ ar9003_hw_eeprom_get_tgt_pwr()
4318 /* interpolate to get target power for given frequency */ ar9003_hw_eeprom_get_ht20_tgt_pwr()
4354 /* interpolate to get target power for given frequency */ ar9003_hw_eeprom_get_ht40_tgt_pwr()
4379 /* interpolate to get target power for given frequency */ ar9003_hw_eeprom_get_cck_tgt_pwr()
4960 /* interpolate */ ar9003_hw_calibration_apply()
4974 /* so is the high frequency, interpolate */ ar9003_hw_calibration_apply()
4977 correction[ichain] = interpolate(frequency, ar9003_hw_calibration_apply()
4983 temperature[ichain] = interpolate(frequency, ar9003_hw_calibration_apply()
4989 voltage[ichain] = interpolate(frequency, ar9003_hw_calibration_apply()
H A Dcommon-spectral.c115 * sample and invalid, interpolate it. ath_cmn_process_fft()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D4965.h368 * 4) Linearly interpolate (EEPROM) factory calibration measurement sets,
388 * Driver should interpolate both members of the chosen measurement pair,
395 * Driver should interpolate factory values for temperature, gain table
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dspectral.c145 * sample and invalid, interpolate it. ath10k_spectral_process_fft()
/linux-4.1.27/drivers/thermal/
H A Drockchip_thermal.c220 * temperature between 2 table entries is linear and interpolate rk_tsadcv2_code_to_temp()
/linux-4.1.27/sound/usb/caiaq/
H A Dinput.c179 /* interpolate both slider values, depending on weight factors */ decode_erp()
/linux-4.1.27/drivers/hwmon/
H A Dsht15.c635 /* Find pointer to interpolate */ sht15_calc_temp()
/linux-4.1.27/drivers/cpufreq/
H A Dlonghaul.c402 * We do this by assuming we booted at maximum multiplier, and interpolate
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dphy.c1070 /* nothing to interpolate, it's horizontal */ carl9170_interpolate_s32()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dlgdt3306a.c1464 return log_val; /* don't need to interpolate */ log10_x1000()
H A Ddib7000p.c1763 /* If value is identical, no need to interpolate */ interpolate_value()
H A Dmb86a20s.c1376 /* If value is identical, no need to interpolate */ interpolate_value()
H A Ddib8000.c3959 /* If value is identical, no need to interpolate */ interpolate_value()

Completed in 882 milliseconds