Lines Matching refs:ii_dev
25 struct idle_inject_device *ii_dev; member
127 struct idle_inject_device *ii_dev = idle_cdev->ii_dev; in cpuidle_cooling_set_cur_state() local
133 idle_inject_get_duration(ii_dev, &runtime_us, &idle_duration_us); in cpuidle_cooling_set_cur_state()
137 idle_inject_set_duration(ii_dev, runtime_us, idle_duration_us); in cpuidle_cooling_set_cur_state()
140 idle_inject_start(ii_dev); in cpuidle_cooling_set_cur_state()
142 idle_inject_stop(ii_dev); in cpuidle_cooling_set_cur_state()
172 struct idle_inject_device *ii_dev; in __cpuidle_cooling_register() local
187 ii_dev = idle_inject_register(drv->cpumask); in __cpuidle_cooling_register()
188 if (!ii_dev) { in __cpuidle_cooling_register()
196 idle_inject_set_duration(ii_dev, TICK_USEC, idle_duration_us); in __cpuidle_cooling_register()
197 idle_inject_set_latency(ii_dev, latency_us); in __cpuidle_cooling_register()
199 idle_cdev->ii_dev = ii_dev; in __cpuidle_cooling_register()
226 idle_inject_unregister(ii_dev); in __cpuidle_cooling_register()