Lines Matching defs:idle_state
20 static int init_state_node(struct cpuidle_state *idle_state,
32 idle_state->enter = match_id->data;
38 idle_state->enter_s2idle = match_id->data;
41 &idle_state->exit_latency);
64 idle_state->exit_latency = entry_latency + exit_latency;
68 &idle_state->target_residency);
79 idle_state->flags = CPUIDLE_FLAG_RCU_IDLE;
81 idle_state->flags |= CPUIDLE_FLAG_TIMER_STOP;
87 strncpy(idle_state->name, state_node->name, CPUIDLE_NAME_LEN - 1);
88 strncpy(idle_state->desc, desc, CPUIDLE_DESC_LEN - 1);
152 struct cpuidle_state *idle_state;
198 idle_state = &drv->states[state_idx++];
199 err = init_state_node(idle_state, match_id, state_node);