Searched refs:interpolate (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 248 #define calc_overscan(o) interpolate(0x100, 0xe1, 0xc1, o) 513 regs->tv_enc[0x20] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x20], in nv17_tv_update_properties() 515 regs->tv_enc[0x22] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x22], in nv17_tv_update_properties() 562 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler() 564 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-v5.4/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-v5.4/drivers/net/wireless/ath/ath9k/ |
D | ar9003_eeprom.c | 2963 static int interpolate(int x, int xa, int xb, int ya, int yb) in interpolate() function 4312 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate() 5065 correction[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply() 5071 temperature[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply() 5077 voltage[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply() 5083 nf_cal[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply() 5089 nf_pwr[ichain] = interpolate(frequency, in ar9003_hw_calibration_apply()
|
/Linux-v5.4/drivers/power/supply/ |
D | ab8500_fg.c | 57 #define interpolate(x, x1, y1, x2, y2) \ macro 869 cap = interpolate(voltage, in ab8500_fg_volt_to_capacity() 921 resist = interpolate(di->bat_temp / 10, in ab8500_fg_battery_resistance()
|
/Linux-v5.4/Documentation/ |
D | memory-barriers.txt | 2144 interpolate the memory barrier in the right place: 2242 code on both sides must interpolate its own memory barriers between the 2814 To intervene, we need to interpolate a data dependency barrier or a read
|