Lines Matching defs:idle

3  * intel_powerclamp.c - package c-state idle injection
14 * of wakeups are observed during idle time. the reason is that in
41 /* For each undisturbed clamping period (no extra wake ups during idle time),
47 /* Default idle injection duration, driver adjust sleep time to meet target
48 * idle ratio. Similar to frequency modulation.
59 /* Skip the idle injection till set to true */
122 MODULE_PARM_DESC(duration, "forced idle time for each attempt in msec.");
146 /* Return true if the cpumask and idle percent combination is invalid */
147 static bool check_invalid(cpumask_var_t mask, u8 idle)
149 if (cpumask_equal(cpu_present_mask, mask) && idle > MAX_ALL_CPU_IDLE)
214 MODULE_PARM_DESC(cpumask, "Mask of CPUs to use for idle injection.");
263 MODULE_PARM_DESC(max_idle, "maximum injected idle time to the total CPU time ratio in percent range:1-100");
275 unsigned long dynamic_comp; /* compensate excessive wakeup from idle
311 "\tpowerclamp controls idle ratio within this window. larger\n"
508 * c-states, thus we need to compensate the injected idle ratio
523 * to monitor actual idle ratio.
563 * This function is called from idle injection core on timer expiry
565 * injecting idle for this cycle.
599 /* This function starts idle injection by calling idle_inject_start() */
611 * CPUS with powercap idle injection register and set default
612 * idle duration and latency.
637 * This function is called from end_power_clamp() to stop idle injection
638 * and unregister CPUS from powercap idle injection core.
711 pr_info("Start idle injection to reduce power\n");
718 pr_info("Stop forced idle injection\n");
756 /* The goal for idle time alignment is to achieve package cstate. */