Lines Matching refs:opps
105 struct ve_spc_opp *opps[MAX_CLUSTERS]; member
252 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_get_performance() local
262 opps += perf; in ve_spc_get_performance()
263 *freq = opps->freq; in ve_spc_get_performance()
272 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_round_performance() local
276 for (idx = 0; idx < max_opp; idx++, opps++) { in ve_spc_round_performance()
277 ftmp = opps->freq; in ve_spc_round_performance()
295 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_find_performance_index() local
297 for (idx = 0; idx < max_opp; idx++, opps++) in ve_spc_find_performance_index()
298 if (opps->freq == freq) in ve_spc_find_performance_index()
396 struct ve_spc_opp *opps; in ve_spc_populate_opps() local
398 opps = kcalloc(MAX_OPPS, sizeof(*opps), GFP_KERNEL); in ve_spc_populate_opps()
399 if (!opps) in ve_spc_populate_opps()
402 info->opps[cluster] = opps; in ve_spc_populate_opps()
405 for (idx = 0; idx < MAX_OPPS; idx++, off += 4, opps++) { in ve_spc_populate_opps()
408 opps->freq = (data & FREQ_MASK) * MULT_FACTOR; in ve_spc_populate_opps()
409 opps->u_volt = (data >> VOLT_SHIFT) * 1000; in ve_spc_populate_opps()
423 struct ve_spc_opp *opps; in ve_init_opp_table() local
429 opps = info->opps[cluster]; in ve_init_opp_table()
431 for (idx = 0; idx < max_opp; idx++, opps++) { in ve_init_opp_table()
432 ret = dev_pm_opp_add(cpu_dev, opps->freq * 1000, opps->u_volt); in ve_init_opp_table()
435 opps->freq, opps->u_volt); in ve_init_opp_table()