Lines Matching refs:loop_idx
340 process_response_opp(struct scmi_opp *opp, unsigned int loop_idx, in process_response_opp() argument
343 opp->perf = le32_to_cpu(r->opp[loop_idx].perf_val); in process_response_opp()
344 opp->power = le32_to_cpu(r->opp[loop_idx].power); in process_response_opp()
346 le16_to_cpu(r->opp[loop_idx].transition_latency_us); in process_response_opp()
351 struct scmi_opp *opp, unsigned int loop_idx, in process_response_opp_v4() argument
354 opp->perf = le32_to_cpu(r->opp[loop_idx].perf_val); in process_response_opp_v4()
355 opp->power = le32_to_cpu(r->opp[loop_idx].power); in process_response_opp_v4()
357 le16_to_cpu(r->opp[loop_idx].transition_latency_us); in process_response_opp_v4()
360 opp->indicative_freq = le32_to_cpu(r->opp[loop_idx].indicative_freq); in process_response_opp_v4()
364 opp->level_index = le32_to_cpu(r->opp[loop_idx].level_index); in process_response_opp_v4()
391 opp = &p->perf_dom->opp[st->desc_index + st->loop_idx]; in iter_perf_levels_process_response()
393 process_response_opp(opp, st->loop_idx, response); in iter_perf_levels_process_response()
395 process_response_opp_v4(ph->dev, p->perf_dom, opp, st->loop_idx, in iter_perf_levels_process_response()