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