max_opps 48 drivers/opp/cpu.c int i, max_opps, ret = 0; max_opps 51 drivers/opp/cpu.c max_opps = dev_pm_opp_get_opp_count(dev); max_opps 52 drivers/opp/cpu.c if (max_opps <= 0) max_opps 53 drivers/opp/cpu.c return max_opps ? max_opps : -ENODATA; max_opps 55 drivers/opp/cpu.c freq_table = kcalloc((max_opps + 1), sizeof(*freq_table), GFP_KERNEL); max_opps 59 drivers/opp/cpu.c for (i = 0, rate = 0; i < max_opps; i++, rate++) {