Lines Matching refs:vpd
2652 uint8_t vpd; in ar5008_get_vpd() local
2665 vpd = athn_interpolate(pwr, pwrPdg[lo], vpdPdg[lo], in ar5008_get_vpd()
2667 return (vpd); in ar5008_get_vpd()
2677 uint8_t vpd[AR_MAX_PWR_RANGE_IN_HALF_DB], pwr; in ar5008_get_pdadcs() local
2717 memset(vpd, 0, sizeof(vpd)); in ar5008_get_pdadcs()
2722 lopier->vpd[i], nicepts); in ar5008_get_pdadcs()
2724 hipier->vpd[i], nicepts); in ar5008_get_pdadcs()
2727 vpd[j] = athn_interpolate(fbin, in ar5008_get_pdadcs()
2734 if (vpd[1] > vpd[0]) in ar5008_get_pdadcs()
2735 vpdstep = vpd[1] - vpd[0]; in ar5008_get_pdadcs()
2739 val = vpd[0] + ss * vpdstep; in ar5008_get_pdadcs()
2747 pdadcs[npdadcs++] = vpd[ss++]; 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()