Searched refs:interpolate (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 249 #define calc_overscan(o) interpolate(0x100, 0xe1, 0xc1, o) 514 regs->tv_enc[0x20] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x20], in nv17_tv_update_properties() 516 regs->tv_enc[0x22] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x22], in nv17_tv_update_properties() 563 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler() 565 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
|
D | tvnv17.h | 117 static inline int interpolate(int y0, int y1, int y2, int x) in interpolate() function
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 224 black_level = interpolate(90, black_level, 208, priv->brightness); in ch7006_setup_levels() 338 flicker = interpolate(0, 2, 3, priv->flicker); in ch7006_setup_properties() 343 contrast = interpolate(0, 5, 7, priv->contrast); in ch7006_setup_properties()
|
D | ch7006_priv.h | 158 static inline int interpolate(int y0, int y1, int y2, int x) in interpolate() function
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_eeprom.c | 2964 static int interpolate(int x, int xa, int xb, int ya, int yb) in interpolate() function 4243 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate() 4977 correction[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply() 4983 temperature[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply() 4989 voltage[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply()
|
/linux-4.4.14/drivers/power/ |
D | ab8500_fg.c | 57 #define interpolate(x, x1, y1, x2, y2) \ macro 876 cap = interpolate(voltage, in ab8500_fg_volt_to_capacity() 928 resist = interpolate(di->bat_temp / 10, in ab8500_fg_battery_resistance()
|
/linux-4.4.14/Documentation/ |
D | memory-barriers.txt | 1979 interpolate the memory barrier in the right place: 2066 code on both sides must interpolate its own memory barriers between the 2753 To intervene, we need to interpolate a data dependency barrier or a read
|