Lines Matching refs:int16_t

229 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize,  in GetLowerUpperIndex()
232 int16_t target = v; in GetLowerUpperIndex()
233 const int16_t *ep = lp+listSize; in GetLowerUpperIndex()
234 const int16_t *tp; in GetLowerUpperIndex()
255 *vlo = *vhi = tp - (const int16_t *) lp; in GetLowerUpperIndex()
263 *vlo = tp - (const int16_t *) lp; in GetLowerUpperIndex()
274 ar2317FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, in ar2317FillVpdTable()
275 const int16_t *pwrList, const int16_t *VpdList, in ar2317FillVpdTable()
279 int16_t currPwr = (int16_t)(2*Pmin); in ar2317FillVpdTable()
314 static int16_t
316 int16_t targetLeft, int16_t targetRight) in interpolate_signed()
318 int16_t rv; in interpolate_signed()
337 int16_t *pMinCalPower, uint16_t pPdGainBoundaries[], in ar2317getGainBoundariesAndPdadcsForPowers()
353 int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL]; in ar2317getGainBoundariesAndPdadcsForPowers()
355 int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL]; in ar2317getGainBoundariesAndPdadcsForPowers()
359 int16_t tmpVal ; in ar2317getGainBoundariesAndPdadcsForPowers()
376 Pmin_t2[numPdGainsUsed] = (int16_t) in ar2317getGainBoundariesAndPdadcsForPowers()
382 Pmax_t2[numPdGainsUsed] = (int16_t)(Pmax_t2[numPdGainsUsed] / 2); in ar2317getGainBoundariesAndPdadcsForPowers()
397 (int16_t)VpdTable_L[numPdGainsUsed][kk], (int16_t)VpdTable_R[numPdGainsUsed][kk]); in ar2317getGainBoundariesAndPdadcsForPowers()
433 tmpVal = (int16_t)(VpdTable_I[ii][0] + ss*Vpd_step); in ar2317getGainBoundariesAndPdadcsForPowers()
442 while (ss < (int16_t)maxIndex) in ar2317getGainBoundariesAndPdadcsForPowers()
453 while(ss < (int16_t)tgtIndex) { in ar2317getGainBoundariesAndPdadcsForPowers()
481 int16_t *minPower, int16_t *maxPower, in ar2317SetPowerTable()
489 int16_t minCalPower2317_t2; in ar2317SetPowerTable()
560 ahp->ah_txPowerIndexOffset = (int16_t)(0 - minCalPower2317_t2); in ar2317SetPowerTable()
585 static int16_t
603 static int16_t
625 int16_t *maxPow, int16_t *minPow) in ar2317GetChannelMaxMinPower()