nr_idle_states 1224 arch/powerpc/platforms/powernv/idle.c int nr_idle_states, i; nr_idle_states 1235 arch/powerpc/platforms/powernv/idle.c nr_idle_states = of_property_count_u32_elems(np, nr_idle_states 1238 arch/powerpc/platforms/powernv/idle.c pnv_idle_states = kcalloc(nr_idle_states, sizeof(*pnv_idle_states), nr_idle_states 1240 arch/powerpc/platforms/powernv/idle.c temp_u32 = kcalloc(nr_idle_states, sizeof(u32), GFP_KERNEL); nr_idle_states 1241 arch/powerpc/platforms/powernv/idle.c temp_u64 = kcalloc(nr_idle_states, sizeof(u64), GFP_KERNEL); nr_idle_states 1242 arch/powerpc/platforms/powernv/idle.c temp_string = kcalloc(nr_idle_states, sizeof(char *), GFP_KERNEL); nr_idle_states 1252 arch/powerpc/platforms/powernv/idle.c temp_u32, nr_idle_states)) { nr_idle_states 1257 arch/powerpc/platforms/powernv/idle.c for (i = 0; i < nr_idle_states; i++) nr_idle_states 1262 arch/powerpc/platforms/powernv/idle.c temp_u32, nr_idle_states)) { nr_idle_states 1267 arch/powerpc/platforms/powernv/idle.c for (i = 0; i < nr_idle_states; i++) nr_idle_states 1272 arch/powerpc/platforms/powernv/idle.c temp_u32, nr_idle_states)) { nr_idle_states 1277 arch/powerpc/platforms/powernv/idle.c for (i = 0; i < nr_idle_states; i++) nr_idle_states 1284 arch/powerpc/platforms/powernv/idle.c temp_u64, nr_idle_states)) { nr_idle_states 1289 arch/powerpc/platforms/powernv/idle.c for (i = 0; i < nr_idle_states; i++) nr_idle_states 1294 arch/powerpc/platforms/powernv/idle.c temp_u64, nr_idle_states)) { nr_idle_states 1299 arch/powerpc/platforms/powernv/idle.c for (i = 0; i < nr_idle_states; i++) nr_idle_states 1310 arch/powerpc/platforms/powernv/idle.c temp_string, nr_idle_states) < 0) { nr_idle_states 1315 arch/powerpc/platforms/powernv/idle.c for (i = 0; i < nr_idle_states; i++) nr_idle_states 1318 arch/powerpc/platforms/powernv/idle.c nr_pnv_idle_states = nr_idle_states; nr_idle_states 267 drivers/cpuidle/cpuidle-powernv.c int nr_idle_states = 1; /* Snooze */ nr_idle_states 332 drivers/cpuidle/cpuidle-powernv.c add_powernv_state(nr_idle_states, "Nap", nr_idle_states 336 drivers/cpuidle/cpuidle-powernv.c add_powernv_state(nr_idle_states, state->name, nr_idle_states 351 drivers/cpuidle/cpuidle-powernv.c add_powernv_state(nr_idle_states, "FastSleep", nr_idle_states 356 drivers/cpuidle/cpuidle-powernv.c add_powernv_state(nr_idle_states, state->name, nr_idle_states 365 drivers/cpuidle/cpuidle-powernv.c nr_idle_states++; nr_idle_states 368 drivers/cpuidle/cpuidle-powernv.c return nr_idle_states;