Lines Matching refs:opps
113 struct ve_spc_opp *opps[MAX_CLUSTERS];
260 struct ve_spc_opp *opps = info->opps[cluster];
270 opps += perf;
271 *freq = opps->freq;
280 struct ve_spc_opp *opps = info->opps[cluster];
284 for (idx = 0; idx < max_opp; idx++, opps++) {
285 ftmp = opps->freq;
303 struct ve_spc_opp *opps = info->opps[cluster];
305 for (idx = 0; idx < max_opp; idx++, opps++)
306 if (opps->freq == freq)
404 struct ve_spc_opp *opps;
406 opps = kcalloc(MAX_OPPS, sizeof(*opps), GFP_KERNEL);
407 if (!opps)
410 info->opps[cluster] = opps;
413 for (idx = 0; idx < MAX_OPPS; idx++, off += 4, opps++) {
416 opps->freq = (data & FREQ_MASK) * MULT_FACTOR;
417 opps->u_volt = (data >> VOLT_SHIFT) * 1000;
431 struct ve_spc_opp *opps;
437 opps = info->opps[cluster];
439 for (idx = 0; idx < max_opp; idx++, opps++) {
440 ret = dev_pm_opp_add(cpu_dev, opps->freq * 1000, opps->u_volt);
443 opps->freq, opps->u_volt);