Lines Matching refs:drv
184 bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state) in cpuidle_state_is_coupled() argument
186 return drv->states[state].flags & CPUIDLE_FLAG_COUPLED; in cpuidle_state_is_coupled()
196 int cpuidle_coupled_state_verify(struct cpuidle_driver *drv) in cpuidle_coupled_state_verify() argument
200 for (i = drv->state_count - 1; i >= 0; i--) { in cpuidle_coupled_state_verify()
201 if (cpuidle_state_is_coupled(drv, i) && in cpuidle_coupled_state_verify()
202 (drv->safe_state_index == i || in cpuidle_coupled_state_verify()
203 drv->safe_state_index < 0 || in cpuidle_coupled_state_verify()
204 drv->safe_state_index >= drv->state_count)) in cpuidle_coupled_state_verify()
480 struct cpuidle_driver *drv, int next_state) in cpuidle_enter_state_coupled() argument
495 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
496 drv->safe_state_index); in cpuidle_enter_state_coupled()
543 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
544 drv->safe_state_index); in cpuidle_enter_state_coupled()
604 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()