Searched refs:entered_state (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/cpuidle/ |
D | cpuidle.c | 215 int entered_state; in cpuidle_enter_state() local 267 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state() 291 if (entered_state >= 0) { in cpuidle_enter_state() 292 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state() 303 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state() 304 dev->states_usage[entered_state].usage++; in cpuidle_enter_state() 306 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state() 307 for (i = entered_state - 1; i >= 0; i--) { in cpuidle_enter_state() 312 dev->states_usage[entered_state].above++; in cpuidle_enter_state() 313 trace_cpu_idle_miss(dev->cpu, entered_state, false); in cpuidle_enter_state() [all …]
|
D | coupled.c | 473 int entered_state = -1; in cpuidle_enter_state_coupled() local 484 return entered_state; in cpuidle_enter_state_coupled() 486 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled() 534 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled() 595 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled() 624 return entered_state; in cpuidle_enter_state_coupled()
|
/Linux-v6.6/kernel/sched/ |
D | idle.c | 150 int next_state, entered_state; in cpuidle_idle_call() local 189 entered_state = call_cpuidle_s2idle(drv, dev); in cpuidle_idle_call() 190 if (entered_state > 0) in cpuidle_idle_call() 215 entered_state = call_cpuidle(drv, dev, next_state); in cpuidle_idle_call() 219 cpuidle_reflect(dev, entered_state); in cpuidle_idle_call()
|