Searched refs:AR512_NF_CAL_HIST_MAX (Results 1 – 3 of 3) sorted by relevance
701 h[i].invalidNFcount = AR512_NF_CAL_HIST_MAX; in ar5416InitNfHistBuff()702 for (j = 0; j < AR512_NF_CAL_HIST_MAX; j ++) in ar5416InitNfHistBuff()720 if (++h[i].currIndex >= AR512_NF_CAL_HIST_MAX) in ar5416UpdateNFHistBuff()725 h[i].invalidNFcount = AR512_NF_CAL_HIST_MAX; in ar5416UpdateNFHistBuff()
1348 ahp->ah_nfCalHist.invalidNFcount = AR512_NF_CAL_HIST_MAX; in ar5212InitNfCalHistBuffer()1349 for (i = 0; i < AR512_NF_CAL_HIST_MAX; i ++) in ar5212InitNfCalHistBuffer()1360 if (++h->currIndex >= AR512_NF_CAL_HIST_MAX) in updateNFHistBuff()1368 ar5212GetNfHistMid(const int16_t calData[AR512_NF_CAL_HIST_MAX]) in ar5212GetNfHistMid() argument1370 int16_t sort[AR512_NF_CAL_HIST_MAX]; in ar5212GetNfHistMid()1373 OS_MEMCPY(sort, calData, AR512_NF_CAL_HIST_MAX*sizeof(int16_t)); in ar5212GetNfHistMid()1374 for (i = 0; i < AR512_NF_CAL_HIST_MAX-1; i ++) { in ar5212GetNfHistMid()1375 for (j = 1; j < AR512_NF_CAL_HIST_MAX-i; j ++) { in ar5212GetNfHistMid()1383 return sort[(AR512_NF_CAL_HIST_MAX-1)>>1]; in ar5212GetNfHistMid()1436 h->invalidNFcount = AR512_NF_CAL_HIST_MAX; in ar5212GetNf()
232 #define AR512_NF_CAL_HIST_MAX 5 macro235 int16_t nfCalBuffer[AR512_NF_CAL_HIST_MAX];575 extern int16_t ar5212GetNfHistMid(const int16_t calData[AR512_NF_CAL_HIST_MAX]);