Lines Matching refs:reqvid
240 u32 reqvid, u32 step) in decrease_vid_code_by_step() argument
242 if ((data->currvid - reqvid) > step) in decrease_vid_code_by_step()
243 reqvid = data->currvid - step; in decrease_vid_code_by_step()
245 if (write_new_vid(data, reqvid)) in decrease_vid_code_by_step()
255 u32 reqfid, u32 reqvid) in transition_fid_vid() argument
257 if (core_voltage_pre_transition(data, reqvid, reqfid)) in transition_fid_vid()
263 if (core_voltage_post_transition(data, reqvid)) in transition_fid_vid()
269 if ((reqfid != data->currfid) || (reqvid != data->currvid)) { in transition_fid_vid()
272 reqfid, reqvid, data->currfid, data->currvid); in transition_fid_vid()
284 u32 reqvid, u32 reqfid) in core_voltage_pre_transition() argument
292 data->currfid, data->currvid, reqvid, data->rvo); in core_voltage_pre_transition()
300 if (reqvid < maxvid) /* lower numbers are higher voltages */ in core_voltage_pre_transition()
301 reqvid = maxvid; in core_voltage_pre_transition()
303 while (data->currvid > reqvid) { in core_voltage_pre_transition()
305 data->currvid, reqvid); in core_voltage_pre_transition()
306 if (decrease_vid_code_by_step(data, reqvid, data->vidmvs)) in core_voltage_pre_transition()
311 ((rvomult * data->rvo + data->currvid) > reqvid)) { in core_voltage_pre_transition()
410 u32 reqvid) in core_voltage_post_transition() argument
413 u32 savereqvid = reqvid; in core_voltage_post_transition()
419 if (reqvid != data->currvid) { in core_voltage_post_transition()
420 if (write_new_vid(data, reqvid)) in core_voltage_post_transition()
429 if (data->currvid != reqvid) { in core_voltage_post_transition()
431 reqvid, data->currvid); in core_voltage_post_transition()