Lines Matching refs:idle_inject_device
68 struct idle_inject_device { struct
77 static DEFINE_PER_CPU(struct idle_inject_device *, idle_inject_device); argument
86 static void idle_inject_wakeup(struct idle_inject_device *ii_dev) in idle_inject_wakeup()
111 struct idle_inject_device *ii_dev = in idle_inject_timer_fn()
112 container_of(timer, struct idle_inject_device, timer); in idle_inject_timer_fn()
133 struct idle_inject_device *ii_dev; in idle_inject_fn()
136 ii_dev = per_cpu(idle_inject_device, cpu); in idle_inject_fn()
153 void idle_inject_set_duration(struct idle_inject_device *ii_dev, in idle_inject_set_duration()
168 void idle_inject_get_duration(struct idle_inject_device *ii_dev, in idle_inject_get_duration()
180 void idle_inject_set_latency(struct idle_inject_device *ii_dev, in idle_inject_set_latency()
196 int idle_inject_start(struct idle_inject_device *ii_dev) in idle_inject_start()
228 void idle_inject_stop(struct idle_inject_device *ii_dev) in idle_inject_stop()
300 struct idle_inject_device *idle_inject_register(struct cpumask *cpumask) in idle_inject_register()
302 struct idle_inject_device *ii_dev; in idle_inject_register()
316 if (per_cpu(idle_inject_device, cpu)) { in idle_inject_register()
321 per_cpu(idle_inject_device, cpu) = ii_dev; in idle_inject_register()
330 per_cpu(idle_inject_device, cpu_rb) = NULL; in idle_inject_register()
346 void idle_inject_unregister(struct idle_inject_device *ii_dev) in idle_inject_unregister()
353 per_cpu(idle_inject_device, cpu) = NULL; in idle_inject_unregister()