Home
last modified time | relevance | path

Searched refs:idle_inject_device (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/powercap/
Didle_inject.c68 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()
[all …]
/kernel/linux/linux-5.10/include/linux/
Didle_inject.h12 struct idle_inject_device;
14 struct idle_inject_device *idle_inject_register(struct cpumask *cpumask);
16 void idle_inject_unregister(struct idle_inject_device *ii_dev);
18 int idle_inject_start(struct idle_inject_device *ii_dev);
20 void idle_inject_stop(struct idle_inject_device *ii_dev);
22 void idle_inject_set_duration(struct idle_inject_device *ii_dev,
26 void idle_inject_get_duration(struct idle_inject_device *ii_dev,
30 void idle_inject_set_latency(struct idle_inject_device *ii_dev,
/kernel/linux/linux-5.10/drivers/thermal/
Dcpuidle_cooling.c25 struct idle_inject_device *ii_dev;
129 struct idle_inject_device *ii_dev = idle_cdev->ii_dev; in cpuidle_cooling_set_cur_state()
174 struct idle_inject_device *ii_dev; in __cpuidle_cooling_register()