Home
last modified time | relevance | path

Searched refs:run_duration_us (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/powercap/
Didle_inject.c71 unsigned int run_duration_us; member
114 duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_timer_fn()
154 unsigned int run_duration_us, in idle_inject_set_duration() argument
157 if (run_duration_us && idle_duration_us) { in idle_inject_set_duration()
158 WRITE_ONCE(ii_dev->run_duration_us, run_duration_us); in idle_inject_set_duration()
169 unsigned int *run_duration_us, in idle_inject_get_duration() argument
172 *run_duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_get_duration()
199 unsigned int run_duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_start() local
201 if (!idle_duration_us || !run_duration_us) in idle_inject_start()
210 ns_to_ktime((idle_duration_us + run_duration_us) * in idle_inject_start()
/kernel/linux/linux-5.10/include/linux/
Didle_inject.h23 unsigned int run_duration_us,
27 unsigned int *run_duration_us,