Lines Matching refs:pst
497 static int check_pst_table(struct powernow_k8_data *data, struct pst_s *pst, in check_pst_table() argument
504 if (pst[j].vid > LEAST_VID) { in check_pst_table()
506 pst[j].vid); in check_pst_table()
509 if (pst[j].vid < data->rvo) { in check_pst_table()
514 if (pst[j].vid < maxvid + data->rvo) { in check_pst_table()
519 if (pst[j].fid > MAX_FID) { in check_pst_table()
523 if (j && (pst[j].fid < HI_FID_TABLE_BOTTOM)) { in check_pst_table()
526 pst[j].fid); in check_pst_table()
529 if (pst[j].fid < lastfid) in check_pst_table()
530 lastfid = pst[j].fid; in check_pst_table()
565 struct pst_s *pst, u8 maxvid) in fill_powernow_table() argument
578 if (pst[j-1].fid >= pst[j].fid) { in fill_powernow_table()
589 if (check_pst_table(data, pst, maxvid)) in fill_powernow_table()
601 powernow_table[j].driver_data = pst[j].fid; /* lower 8 bits */ in fill_powernow_table()
602 powernow_table[j].driver_data |= (pst[j].vid << 8); /* upper 8 bits */ in fill_powernow_table()
603 freq = find_khz_freq_from_fid(pst[j].fid); in fill_powernow_table()
620 if ((pst[j].fid == data->currfid) && in fill_powernow_table()
621 (pst[j].vid == data->currvid)) in fill_powernow_table()