Lines Matching refs:pst
504 static int check_pst_table(struct powernow_k8_data *data, struct pst_s *pst, in check_pst_table() argument
511 if (pst[j].vid > LEAST_VID) { in check_pst_table()
513 pst[j].vid); in check_pst_table()
516 if (pst[j].vid < data->rvo) { in check_pst_table()
521 if (pst[j].vid < maxvid + data->rvo) { in check_pst_table()
526 if (pst[j].fid > MAX_FID) { in check_pst_table()
530 if (j && (pst[j].fid < HI_FID_TABLE_BOTTOM)) { in check_pst_table()
533 pst[j].fid); in check_pst_table()
536 if (pst[j].fid < lastfid) in check_pst_table()
537 lastfid = pst[j].fid; in check_pst_table()
572 struct pst_s *pst, u8 maxvid) in fill_powernow_table() argument
585 if (pst[j-1].fid >= pst[j].fid) { in fill_powernow_table()
596 if (check_pst_table(data, pst, maxvid)) in fill_powernow_table()
608 powernow_table[j].driver_data = pst[j].fid; /* lower 8 bits */ in fill_powernow_table()
609 powernow_table[j].driver_data |= (pst[j].vid << 8); /* upper 8 bits */ in fill_powernow_table()
610 freq = find_khz_freq_from_fid(pst[j].fid); in fill_powernow_table()
627 if ((pst[j].fid == data->currfid) && in fill_powernow_table()
628 (pst[j].vid == data->currvid)) in fill_powernow_table()