Lines Matching refs:pst
492 static int check_pst_table(struct powernow_k8_data *data, struct pst_s *pst, in check_pst_table() argument
499 if (pst[j].vid > LEAST_VID) { in check_pst_table()
501 pst[j].vid); in check_pst_table()
504 if (pst[j].vid < data->rvo) { in check_pst_table()
509 if (pst[j].vid < maxvid + data->rvo) { in check_pst_table()
514 if (pst[j].fid > MAX_FID) { in check_pst_table()
518 if (j && (pst[j].fid < HI_FID_TABLE_BOTTOM)) { in check_pst_table()
521 pst[j].fid); in check_pst_table()
524 if (pst[j].fid < lastfid) in check_pst_table()
525 lastfid = pst[j].fid; in check_pst_table()
560 struct pst_s *pst, u8 maxvid) in fill_powernow_table() argument
573 if (pst[j-1].fid >= pst[j].fid) { in fill_powernow_table()
584 if (check_pst_table(data, pst, maxvid)) in fill_powernow_table()
594 powernow_table[j].driver_data = pst[j].fid; /* lower 8 bits */ in fill_powernow_table()
595 powernow_table[j].driver_data |= (pst[j].vid << 8); /* upper 8 bits */ in fill_powernow_table()
596 freq = find_khz_freq_from_fid(pst[j].fid); in fill_powernow_table()
613 if ((pst[j].fid == data->currfid) && in fill_powernow_table()
614 (pst[j].vid == data->currvid)) in fill_powernow_table()