Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Didle_inject.c86 unsigned int run_duration_us; member
133 duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_timer_fn()
172 unsigned int run_duration_us, in idle_inject_set_duration() argument
175 if (run_duration_us + idle_duration_us) { in idle_inject_set_duration()
176 WRITE_ONCE(ii_dev->run_duration_us, run_duration_us); in idle_inject_set_duration()
179 if (!run_duration_us) in idle_inject_set_duration()
191 unsigned int *run_duration_us, in idle_inject_get_duration() argument
194 *run_duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_get_duration()
224 unsigned int run_duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_start() local
226 if (!(idle_duration_us + run_duration_us)) in idle_inject_start()
[all …]
/openbmc/linux/include/linux/
H A Didle_inject.h26 unsigned int run_duration_us,
30 unsigned int *run_duration_us,