Lines Matching refs:drv
128 static int call_cpuidle_s2idle(struct cpuidle_driver *drv, in call_cpuidle_s2idle() argument
134 return cpuidle_enter_s2idle(drv, dev); in call_cpuidle_s2idle()
137 static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, in call_cpuidle() argument
155 return cpuidle_enter(drv, dev, next_state); in call_cpuidle()
170 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_idle_call() local
188 if (cpuidle_not_available(drv, dev)) { in cpuidle_idle_call()
210 entered_state = call_cpuidle_s2idle(drv, dev); in cpuidle_idle_call()
221 next_state = cpuidle_find_deepest_state(drv, dev, max_latency_ns); in cpuidle_idle_call()
222 call_cpuidle(drv, dev, next_state); in cpuidle_idle_call()
229 next_state = cpuidle_select(drv, dev, &stop_tick); in cpuidle_idle_call()
236 entered_state = call_cpuidle(drv, dev, next_state); in cpuidle_idle_call()