Searched refs:nstates (Results 1 – 1 of 1) sorted by relevance
56 int sd_level, i, nstates, cpu; in init_sched_energy_costs() local85 nstates = (prop->length / sizeof(u32)) / 2; in init_sched_energy_costs()86 cap_states = kcalloc(nstates, in init_sched_energy_costs()90 for (i = 0, val = prop->value; i < nstates; i++) { in init_sched_energy_costs()95 sge->nr_cap_states = nstates; in init_sched_energy_costs()104 nstates = (prop->length / sizeof(u32)); in init_sched_energy_costs()105 idle_states = kcalloc(nstates, in init_sched_energy_costs()109 for (i = 0, val = prop->value; i < nstates; i++) in init_sched_energy_costs()112 sge->nr_idle_states = nstates; in init_sched_energy_costs()