Lines Matching refs:int16_t
51 int16_t *power, int16_t maxPower, int16_t *retVals);
52 static int16_t getPminAndPcdacTableFromPowerTable(int16_t *pwrTableT4,
54 static int16_t getPminAndPcdacTableFromTwoPowerTables(int16_t *pwrTableLXpdT4,
55 int16_t *pwrTableHXpdT4, uint16_t retVals[], int16_t *pMid);
56 static int16_t interpolate_signed(uint16_t target,
58 int16_t targetLeft, int16_t targetRight);
345 int16_t *pPowerMin, int16_t *pPowerMax, in ar5112SetPowerTable()
354 int16_t powerMid, *pPowerMid = &powerMid; in ar5112SetPowerTable()
360 int16_t minPwr_t4, maxPwr_t4, Pmin, Pmid; in ar5112SetPowerTable()
365 int16_t pwr_table0[64]; in ar5112SetPowerTable()
366 int16_t pwr_table1[64]; in ar5112SetPowerTable()
368 int16_t powers[10]; in ar5112SetPowerTable()
370 int16_t powTableLXPD[2][64]; in ar5112SetPowerTable()
371 int16_t powTableHXPD[2][64]; in ar5112SetPowerTable()
372 int16_t tmpPowerTable[64]; in ar5112SetPowerTable()
405 maxPwr_t4 = (int16_t)(2*(*pPowerMax)); /* pwr_t2 -> pwr_t4 */ in ar5112SetPowerTable()
406 minPwr_t4 = (int16_t)(2*(*pPowerMin)); /* pwr_t2 -> pwr_t4 */ in ar5112SetPowerTable()
437 numPcd * sizeof(int16_t)); in ar5112SetPowerTable()
443 64*sizeof(int16_t)); in ar5112SetPowerTable()
451 numPcd*sizeof(int16_t)); in ar5112SetPowerTable()
457 64 * sizeof(int16_t)); in ar5112SetPowerTable()
465 numPcd * sizeof(int16_t)); in ar5112SetPowerTable()
471 64 * sizeof(int16_t)); in ar5112SetPowerTable()
488 *pPowerMin = (int16_t) (Pmin / 2); in ar5112SetPowerTable()
489 *pPowerMid = (int16_t) (pwr_table0[63] / 2); in ar5112SetPowerTable()
490 *pPowerMax = (int16_t) (pwr_table0[63] / 2); in ar5112SetPowerTable()
506 *pPowerMin = (int16_t) (Pmin / 2); in ar5112SetPowerTable()
507 *pPowerMid = (int16_t) (Pmid / 2); in ar5112SetPowerTable()
508 *pPowerMax = (int16_t) (pwr_table0[63] / 2); in ar5112SetPowerTable()
517 *pPowerMin = (int16_t) (Pmin / 2); in ar5112SetPowerTable()
518 *pPowerMid = (int16_t) (pwr_table1[63] / 2); in ar5112SetPowerTable()
519 *pPowerMax = (int16_t) (pwr_table1[63] / 2); in ar5112SetPowerTable()
525 *pPowerMin = (int16_t) (Pmin/2); in ar5112SetPowerTable()
526 *pPowerMid = (int16_t) (pwr_table0[63] / 2); in ar5112SetPowerTable()
527 *pPowerMax = (int16_t) (pwr_table0[63] / 2); in ar5112SetPowerTable()
544 static int16_t
546 int16_t targetLeft, int16_t targetRight) in interpolate_signed()
548 int16_t rv; in interpolate_signed()
607 getFullPwrTable(uint16_t numPcdacs, uint16_t *pcdacs, int16_t *power, int16_t maxPower, int16_t *re… in getFullPwrTable()
641 static int16_t
642 getPminAndPcdacTableFromPowerTable(int16_t *pwrTableT4, uint16_t retVals[]) in getPminAndPcdacTableFromPowerTable()
644 int16_t ii, jj, jjMax; in getPminAndPcdacTableFromPowerTable()
645 int16_t pMin, currPower, pMax; in getPminAndPcdacTableFromPowerTable()
688 static int16_t
689 getPminAndPcdacTableFromTwoPowerTables(int16_t *pwrTableLXpdT4, in getPminAndPcdacTableFromTwoPowerTables()
690 int16_t *pwrTableHXpdT4, uint16_t retVals[], int16_t *pMid) in getPminAndPcdacTableFromTwoPowerTables()
692 int16_t ii, jj, jjMax; in getPminAndPcdacTableFromTwoPowerTables()
693 int16_t pMin, pMax, currPower; in getPminAndPcdacTableFromTwoPowerTables()
694 int16_t *pwrTableT4; in getPminAndPcdacTableFromTwoPowerTables()
739 static int16_t
743 int16_t minGain,minPwr,minPcdac,retVal; in ar5112GetMinPower()
768 int16_t *maxPow, int16_t *minPow) in ar5112GetChannelMaxMinPower()