Searched refs:nvpds (Results 1 – 1 of 1) sorted by relevance
2680 int i, j, npdadcs, nvpds, maxidx, tgtidx; in ar5008_get_pdadcs() local2716 nvpds = DB(maxpwr[i] - minpwr[i]) + 1; in ar5008_get_pdadcs()2719 for (j = 0; j < nvpds; j++) { in ar5008_get_pdadcs()2745 maxidx = MIN(tgtidx, nvpds); in ar5008_get_pdadcs()2753 if (vpd[nvpds - 1] > vpd[nvpds - 2]) in ar5008_get_pdadcs()2754 vpdstep = vpd[nvpds - 1] - vpd[nvpds - 2]; in ar5008_get_pdadcs()2758 val = vpd[nvpds - 1] + (ss - maxidx + 1) * vpdstep; in ar5008_get_pdadcs()