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

/netbsd-current/sys/net80211/
H A Dieee80211_rssadapt.c48 #ifdef interpolate
49 #undef interpolate macro
51 #define interpolate(parm, old, new) ((parm##_old * (old) + \ macro
270 ra->ra_avg_rssi = interpolate(master_expavgctl.rc_avgrssi,
313 interpolate(master_expavgctl.rc_thresh, last_thr,
364 interpolate(master_expavgctl.rc_decay, oldthr, newthr);
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5111.c347 interpolate(uint16_t target, uint16_t srcLeft, uint16_t srcRight, function
504 scaledPcdac = (uint16_t)(interpolate(pwr,
530 * Get or interpolate the pcdac value from the calibrated data.
559 lScaledPwr = interpolate(pcdacValue, llPcdac, ulPcdac, lPwr, uPwr);
563 rScaledPwr = interpolate(pcdacValue, lrPcdac, urPcdac, lPwr, uPwr);
565 return interpolate(channel, lFreq, rFreq, lScaledPwr, rScaledPwr);
H A Dar5212_reset.c2400 interpolate(uint16_t target, uint16_t srcLeft, uint16_t srcRight, function
2467 * and interpolate between them.
2469 pNewPower->twicePwr6_24 = interpolate(chan->channel, clo, chi,
2471 pNewPower->twicePwr36 = interpolate(chan->channel, clo, chi,
2473 pNewPower->twicePwr48 = interpolate(chan->channel, clo, chi,
2475 pNewPower->twicePwr54 = interpolate(chan->channel, clo, chi,
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dtvnv17.h119 static inline int interpolate(int y0, int y1, int y2, int x) function
H A Dnouveau_dispnv04_tvmodesnv17.c253 #define calc_overscan(o) interpolate(0x100, 0xe1, 0xc1, o)
518 regs->tv_enc[0x20] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x20],
520 regs->tv_enc[0x22] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x22],
567 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20),
569 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20),
/netbsd-current/sys/external/bsd/drm2/dist/drm/i2c/
H A Dch7006_mode.c229 black_level = interpolate(90, black_level, 208, priv->brightness);
343 flicker = interpolate(0, 2, 3, priv->flicker);
348 contrast = interpolate(0, 5, 7, priv->contrast);
H A Dch7006_priv.h160 static inline int interpolate(int y0, int y1, int y2, int x) function
/netbsd-current/usr.bin/mail/
H A Dcollect.c211 interpolate(char ms[], FILE *fp, char *fn, int f) function
713 if (interpolate(linebuf + 2, collf, mailtempname, c) < 0)
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar9285_reset.c60 static int16_t interpolate(uint16_t target, uint16_t srcLeft,
736 vpdTableI[i][j] = (uint8_t)(interpolate((uint16_t)FREQ2FBIN(centers.synth_center, IS_CHAN_2GHZ(chan)),
853 interpolate(uint16_t target, uint16_t srcLeft, uint16_t srcRight, function
H A Dar5416_reset.c72 static int16_t interpolate(uint16_t target, uint16_t srcLeft,
1737 * and interpolate between them.
1743 pNewPower->tPow2x[i] = (uint8_t)interpolate(freq, clo, chi,
1797 * and interpolate between them.
1803 pNewPower->tPow2x[i] = (uint8_t)interpolate(freq, clo, chi,
1812 * Pull the PDADC piers from cal data and interpolate them across the given
2012 vpdTableI[i][j] = (uint8_t)(interpolate((uint16_t)FREQ2FBIN(centers.synth_center, IS_CHAN_2GHZ(chan)),
2185 * interpolate
2190 interpolate(uint16_t target, uint16_t srcLeft, uint16_t srcRight, function
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-perl.c852 bool interpolate)
859 if (interpolate)
876 if (interpolate)
1642 variables inside a double-quoted string that may interpolate to
851 extract_triple_quotelike(message_list_ty *mlp, token_ty *tp, int delim, bool interpolate) argument
/netbsd-current/sys/dev/pci/
H A Dif_wpi.c2604 #define interpolate(x, x1, y1, x2, y2, n) \ macro
2639 idx = interpolate(pwr, sample[0].power, sample[0].index,
2660 #undef interpolate macro
H A Dif_iwn.c3691 #define interpolate(x, x1, y1, x2, y2, n) \ macro
3760 power = interpolate(chan,
3763 gain = interpolate(chan,
3766 temp = interpolate(chan,
3824 #undef interpolate macro

Completed in 177 milliseconds