Lines Matching refs:reqvid
237 u32 reqvid, u32 step) in decrease_vid_code_by_step() argument
239 if ((data->currvid - reqvid) > step) in decrease_vid_code_by_step()
240 reqvid = data->currvid - step; in decrease_vid_code_by_step()
242 if (write_new_vid(data, reqvid)) in decrease_vid_code_by_step()
252 u32 reqfid, u32 reqvid) in transition_fid_vid() argument
254 if (core_voltage_pre_transition(data, reqvid, reqfid)) in transition_fid_vid()
260 if (core_voltage_post_transition(data, reqvid)) in transition_fid_vid()
266 if ((reqfid != data->currfid) || (reqvid != data->currvid)) { in transition_fid_vid()
269 reqfid, reqvid, data->currfid, data->currvid); in transition_fid_vid()
281 u32 reqvid, u32 reqfid) in core_voltage_pre_transition() argument
289 data->currfid, data->currvid, reqvid, data->rvo); in core_voltage_pre_transition()
297 if (reqvid < maxvid) /* lower numbers are higher voltages */ in core_voltage_pre_transition()
298 reqvid = maxvid; in core_voltage_pre_transition()
300 while (data->currvid > reqvid) { in core_voltage_pre_transition()
302 data->currvid, reqvid); in core_voltage_pre_transition()
303 if (decrease_vid_code_by_step(data, reqvid, data->vidmvs)) in core_voltage_pre_transition()
308 ((rvomult * data->rvo + data->currvid) > reqvid)) { in core_voltage_pre_transition()
407 u32 reqvid) in core_voltage_post_transition() argument
410 u32 savereqvid = reqvid; in core_voltage_post_transition()
416 if (reqvid != data->currvid) { in core_voltage_post_transition()
417 if (write_new_vid(data, reqvid)) in core_voltage_post_transition()
426 if (data->currvid != reqvid) { in core_voltage_post_transition()
428 reqvid, data->currvid); in core_voltage_post_transition()