Lines Matching refs:opps
307 } opps[MAX_DVFS_OPPS];
637 info->opps = kcalloc(info->count, sizeof(*opp), GFP_KERNEL);
638 if (!info->opps) {
643 for (i = 0, opp = info->opps; i < info->count; i++, opp++) {
644 opp->freq = le32_to_cpu(buf.opps[i].freq);
645 opp->m_volt = le32_to_cpu(buf.opps[i].m_volt);
648 sort(info->opps, info->count, sizeof(*opp), opp_cmp_func, NULL);
694 if (!info->opps)
697 for (opp = info->opps, idx = 0; idx < info->count; idx++, opp++) {
871 kfree(info->dvfs[i]->opps);