Lines Matching defs:index
234 struct cpuidle_driver *drv, int index)
236 struct cpuidle_state *state = &drv->states[index];
262 ret = state->enter(dev, drv, index);
296 int index;
301 for (index = 1; index < drv->state_count; ++index) {
303 struct cpuidle_state *state = &drv->states[index];
318 ret = suspend_cpu(dev, drv, index);
327 if (ret == index) {
335 cpu, ret, index, i);