Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 200 of 422) sorted by relevance

123

/linux-4.1.27/arch/s390/kernel/
Didle.c24 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in enabled_wait() local
36 psw_idle(idle, psw_mask); in enabled_wait()
41 write_seqcount_begin(&idle->seqcount); in enabled_wait()
42 idle_time = idle->clock_idle_exit - idle->clock_idle_enter; in enabled_wait()
43 idle->clock_idle_enter = idle->clock_idle_exit = 0ULL; in enabled_wait()
44 idle->idle_time += idle_time; in enabled_wait()
45 idle->idle_count++; in enabled_wait()
47 write_seqcount_end(&idle->seqcount); in enabled_wait()
54 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); in show_idle_count() local
59 seq = read_seqcount_begin(&idle->seqcount); in show_idle_count()
[all …]
DMakefile31 obj-y := traps.o time.o process.o base.o early.o setup.o idle.o vtime.o
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Didle-states.txt2 ARM idle states binding description
12 the range of dynamic idle states that a processor can enter at run-time, can be
14 to enter/exit specific idle states on a given processor.
27 PM implementation to put the processor in different idle states (which include
28 states listed above; "off" state is not an idle state since it does not have
35 The device tree binding definition for ARM idle states is the subject of this
39 2 - idle-states definitions
44 triggered upon idle states entry and exit.
47 properties required to enter and exit an idle state:
59 Diagram 1: CPU idle state execution phases
[all …]
Dpsci.txt53 Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie idle
58 idle-states node entry-method property is set
101 [1] Kernel documentation - ARM idle states bindings
102 Documentation/devicetree/bindings/arm/idle-states.txt
Dcpus.txt225 - cpu-idle-states
229 # List of phandles to idle state nodes supported
436 [3] ARM Linux kernel documentation - idle states bindings
437 Documentation/devicetree/bindings/arm/idle-states.txt
/linux-4.1.27/fs/proc/
Dstat.c26 cputime64_t idle; in get_idle_time() local
28 idle = kcpustat_cpu(cpu).cpustat[CPUTIME_IDLE]; in get_idle_time()
30 idle += arch_idle_time(cpu); in get_idle_time()
31 return idle; in get_idle_time()
48 u64 idle, idle_time = -1ULL; in get_idle_time() local
55 idle = kcpustat_cpu(cpu).cpustat[CPUTIME_IDLE]; in get_idle_time()
57 idle = usecs_to_cputime64(idle_time); in get_idle_time()
59 return idle; in get_idle_time()
84 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
91 user = nice = system = idle = iowait = in show_stat()
[all …]
Duptime.c13 struct timespec idle; in uptime_proc_show() local
25 idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in uptime_proc_show()
26 idle.tv_nsec = rem; in uptime_proc_show()
30 (unsigned long) idle.tv_sec, in uptime_proc_show()
31 (idle.tv_nsec / (NSEC_PER_SEC / 100))); in uptime_proc_show()
/linux-4.1.27/arch/arm/mach-tegra/
Dplatsmp.c45 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument
73 static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra30_boot_secondary() argument
142 static int tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra114_boot_secondary() argument
172 struct task_struct *idle) in tegra_boot_secondary() argument
175 return tegra20_boot_secondary(cpu, idle); in tegra_boot_secondary()
177 return tegra30_boot_secondary(cpu, idle); in tegra_boot_secondary()
179 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
181 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
/linux-4.1.27/Documentation/thermal/
Dintel_powerclamp.txt42 idle injection across all online CPU threads was introduced. The goal
66 If the kernel can also inject idle time to the system, then a
69 control system, where the target set point is a user-selected idle
71 between the actual package level C-state residency ratio and the target idle
79 thread synchronizes its idle time and duration, based on the rounding
87 Alignment of idle time around jiffies ensures scalability for HZ
90 kidle_inject/cpu. During idle injection, it runs monitor/mwait idle
94 The NOHZ schedule tick is disabled during idle time, but interrupts
119 In terms of dynamics of the idle control system, package level idle
122 intel_powerclamp driver attempts to enforce the desired idle time
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/msm/
Dqcom,idle-state.txt3 ARM provides idle-state node to define the cpuidle states, as defined in [1].
4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle
6 The idle states supported by the QCOM SoC are defined as -
18 hierarchy to enter standby states, when all cpus are idle. An interrupt brings
34 between the time it enters idle and the next known wake up. SPC mode is used
37 sequence for this idle state is programmed to power down the supply to the
58 The idle-state for QCOM SoCs are distinguished by the compatible property of
59 the idle-states device node.
61 The devicetree representation of the idle state should be -
66 "qcom,idle-state-ret",
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
Di2c-mux-pinctrl.txt39 The only exception is that no bus will be created for a state named "idle". If
43 pinctrl-names = "ddc", "pta", "idle" -> ddc = bus 0, pta = bus 1
44 pinctrl-names = "ddc", "idle", "pta" -> Invalid ("idle" not last)
45 pinctrl-names = "idle", "ddc", "pta" -> Invalid ("idle" not last)
50 If an idle state is defined, whenever an access is not being made to a device
51 on a child bus, the idle pinctrl state will be programmed into hardware.
53 If an idle state is not defined, the most recently used pinctrl state will be
66 pinctrl-names = "ddc", "pta", "idle";
Di2c-mux-gpio.txt29 - idle-state: value to set the muxer to when idle. When no value is
39 If an idle state is defined, using the idle-state (optional) property,
41 GPIOs will be set according to the idle value.
43 If an idle state is not defined, the most recently used value will be
Di2c-mux-pca954x.txt19 - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all
20 children in idle state. This is necessary for example, if there are several
Di2c-st.txt21 - A pinctrl state named "idle" could be defined to set pins in idle state
/linux-4.1.27/Documentation/cpuidle/
Dcore.txt2 Supporting multiple CPU idle levels in kernel
8 Various CPUs today support multiple idle levels that are differentiated
9 by varying exit latencies and power consumption during idle.
11 idle policy (governor) from idle mechanism (driver) and provides a
Ddriver.txt3 Supporting multiple CPU idle levels in kernel
11 architecture/platform dependent part of CPU idle states. Driver
12 provides the platform idle state detection capability and also
13 has mechanisms in place to support actual entry-exit into CPU idle states.
18 If all the idle states are the same, the wrapper function cpuidle_register
Dgovernor.txt4 Supporting multiple CPU idle levels in kernel
11 cpuidle governor is policy routine that decides what idle state to enter at
16 * select() to select an idle state to enter
17 * reflect() called after returning from the idle state, which can be used
Dsysfs.txt3 Supporting multiple CPU idle levels in kernel
78 * desc : Small description about the idle state (string)
79 * disable : Option to disable this idle state (bool) -> see note below
80 * latency : Latency to exit out of this idle state (in microseconds)
81 * name : Name of the idle state (string)
82 * power : Power consumed while in this idle state (in milliwatts)
83 * time : Total time spent in this idle state (in microseconds)
/linux-4.1.27/Documentation/scheduler/
Dsched-stats.txt44 4) # of times schedule() left the processor idle
68 of idleness (idle, busy, and newly idle):
71 cpu was idle
73 the load did not require balancing when the cpu was idle
75 more tasks and failed, when the cpu was idle
77 load_balance() in this domain when the cpu was idle
79 was idle
81 the target task was cache-hot when idle
83 not find a busier queue while the cpu was idle
85 cpu was idle but no busier group was found
[all …]
Dsched-arch.txt20 CPU idle
24 1. Preempt should now disabled over idle routines. Should only
48 5. TIF_POLLING_NRFLAG can be set by idle routines that do not
60 sleeping idle functions.
/linux-4.1.27/kernel/time/
DKconfig79 bool "Idle dynticks system (tickless idle)"
83 This option enables a tickless idle system: timer interrupts
84 will only trigger on an as-needed basis when the system is idle.
132 bool "Detect full-system idle state for full dynticks system"
137 timekeeping purposes whenever there is a non-idle CPU, where
138 "non-idle" also includes dynticks CPUs as long as they are
139 running non-idle tasks. Because the underlying adaptive-tick
140 support cannot distinguish between all CPUs being idle and
144 are idle. This Kconfig option enables scalable detection of
145 the all-CPUs-idle state, thus allowing the scheduling-clock
[all …]
Dtick-sched.c504 ktime_t now, idle; in get_cpu_idle_time_us() local
512 idle = ts->idle_sleeptime; in get_cpu_idle_time_us()
517 idle = ktime_add(ts->idle_sleeptime, delta); in get_cpu_idle_time_us()
519 idle = ts->idle_sleeptime; in get_cpu_idle_time_us()
523 return ktime_to_us(idle); in get_cpu_idle_time_us()
/linux-4.1.27/arch/tile/kernel/
Dsmpboot.c86 struct task_struct *idle; in smp_prepare_cpus() local
103 idle = fork_idle(cpu); in smp_prepare_cpus()
104 if (IS_ERR(idle)) in smp_prepare_cpus()
106 idle->thread.pc = (unsigned long) start_secondary; in smp_prepare_cpus()
109 per_cpu(boot_sp, cpu) = task_ksp0(idle); in smp_prepare_cpus()
110 per_cpu(boot_pc, cpu) = idle->thread.pc; in smp_prepare_cpus()
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dtwl4030-power.txt11 "ti,twl4030-power-idle"
12 "ti,twl4030-power-idle-osc-off"
17 When using ti,twl4030-power-idle, the TI recommended configuration
18 for idle modes is loaded to the tlw4030 PMIC.
20 When using ti,twl4030-power-idle-osc-off, the TI recommended
22 down during off-idle. Note that this does not work on all boards
/linux-4.1.27/Documentation/timers/
DNO_HZ.txt17 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or
21 3. Omit scheduling-clock ticks on CPUs that are either idle or that
37 that use short bursts of CPU, where there are very frequent idle
38 periods, but where these idle periods are also quite short (tens or
43 other than increasing the overhead of switching to and from idle and
49 However, if you are instead running a light workload with long idle
64 If a CPU is idle, there is little point in sending it a scheduling-clock
67 and an idle CPU has no duties to shift its attention among.
70 scheduling-clock interrupts to idle CPUs, which is critically important
78 idle CPUs. That said, dyntick-idle mode is not free:
[all …]
Dhighres.txt132 adding the dynamic tick specific calls to the idle routine (a total of 3 lines
133 added to the idle function and the Kconfig file)
215 hrtimer_stop_sched_tick() is called when a CPU goes into idle state. The code
218 reprograms the sched_tick to this future event, to allow longer idle sleeps
220 called when an interrupt happens during the idle period, which does not cause a
225 hrtimer_restart_sched_tick() is called when the CPU leaves the idle state before
230 in the idle period to make sure that jiffies are up to date and the interrupt
/linux-4.1.27/drivers/macintosh/
Dvia-macii.c103 idle, enumerator
165 macii_state = idle; in macii_init()
274 if (macii_state == idle) macii_start(); in macii_write()
350 BUG_ON(macii_state != idle); in macii_start()
406 case idle: in macii_interrupt()
437 macii_state = idle; in macii_interrupt()
453 if (macii_state == idle) { in macii_interrupt()
527 macii_state = idle; in macii_interrupt()
539 if (macii_state == idle) in macii_interrupt()
Dadb-iop.c42 idle, enumerator
133 if (req && (adb_iop_state != idle)) { in adb_iop_listen()
134 adb_iop_end_req(req, idle); in adb_iop_listen()
255 if (adb_iop_state == idle) adb_iop_start(); in adb_iop_write()
267 if (adb_iop_state == idle) adb_iop_start(); in adb_iop_poll()
Dvia-maciisi.c75 idle, enumerator
221 maciisi_state = idle; in maciisi_init_via()
341 if (maciisi_state == idle) in maciisi_write()
376 if (maciisi_state != idle) { in maciisi_start()
463 case idle: in maciisi_interrupt()
504 maciisi_state = idle; in maciisi_interrupt()
520 maciisi_state = idle; in maciisi_interrupt()
557 maciisi_state = idle; in maciisi_interrupt()
615 maciisi_state = idle; in maciisi_interrupt()
Dvia-cuda.c69 idle, enumerator
127 cuda_state = idle; in find_via_cuda()
173 cuda_state = idle; in find_via_cuda()
405 if (cuda_state == idle) in cuda_write()
479 case idle: in cuda_interrupt()
507 cuda_state = idle; in cuda_interrupt()
532 cuda_state = idle; in cuda_interrupt()
590 cuda_state = idle; in cuda_interrupt()
Dvia-pmu68k.c79 idle, enumerator
183 pmu_state = idle; in pmu_probe()
211 while (interrupt_data[0] || pmu_state != idle) { in pmu_init()
216 if (pmu_state == idle) { in pmu_init()
500 if (pmu_state == idle) in pmu_queue_request()
536 if (req == 0 || pmu_state != idle in pmu_start()
615 pmu_state = idle; in pmu_interrupt()
660 pmu_state = idle; in pmu_interrupt()
670 if (pmu_state == idle) { in pmu_interrupt()
Dvia-pmu.c116 idle, enumerator
350 pmu_state = idle; in find_via_pmu()
452 } while (pmu_state != idle); in via_pmu_start()
550 while (interrupt_data[0][0] || pmu_state != idle) { in init_pmu()
555 if (pmu_state == idle) in init_pmu()
1159 if (pmu_state == idle) in pmu_queue_request()
1228 if (req == 0 || pmu_state != idle in pmu_start()
1265 } while (pmu_suspended && (adb_int_pending || pmu_state != idle in pmu_poll_adb()
1274 while((pmu_state != idle && pmu_state != locked) || !req->complete) in pmu_wait_complete()
1304 if (!adb_int_pending && pmu_state == idle && !req_awaiting_reply) { in pmu_suspend()
[all …]
/linux-4.1.27/Documentation/trace/
Dftrace.txt804 <idle>-0 [001] dNs4 21169.031481: wake_up_idle_cpu <-add_timer_on
805 <idle>-0 [001] dNs4 21169.031482: _raw_spin_unlock_irqrestore <-add_timer_on
806 <idle>-0 [001] .Ns4 21169.031484: sub_preempt_count <-_raw_spin_unlock_irqrestore
808 <idle>-0 [002] .N.1 21169.031484: rcu_idle_exit <-cpu_idle
809 <idle>-0 [001] .Ns3 21169.031484: _raw_spin_unlock <-clocksource_watchdog
810 <idle>-0 [001] .Ns3 21169.031485: sub_preempt_count <-_raw_spin_unlock
878 <idle>-0 [002] 23636.756054: ttwu_do_activate.constprop.89 <-try_to_wake_up
879 <idle>-0 [002] 23636.756054: activate_task <-ttwu_do_activate.constprop.89
880 <idle>-0 [002] 23636.756055: enqueue_task <-activate_task
945 <idle>-0 0d.s2 0us+: _raw_spin_lock_irq <-run_timer_softirq
[all …]
Devents-nmi.txt39 <idle>-0 [000] d.h3 505.397558: nmi_handler: perf_event_nmi_handler() delta_ns: 3236765 handl…
40 <idle>-0 [000] d.h3 505.805893: nmi_handler: perf_event_nmi_handler() delta_ns: 3174234 handl…
41 <idle>-0 [000] d.h3 506.158206: nmi_handler: perf_event_nmi_handler() delta_ns: 3084642 handl…
42 <idle>-0 [000] d.h3 506.334346: nmi_handler: perf_event_nmi_handler() delta_ns: 3080351 handl…
Devents-power.txt37 enters the idle state 4, while trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id())
38 means that the system exits the previous idle state.
/linux-4.1.27/drivers/media/rc/
Drc-ir-raw.c165 if (dev->idle && !ev->pulse) in ir_raw_event_store_with_filter()
167 else if (dev->idle) in ir_raw_event_store_with_filter()
193 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) in ir_raw_event_set_idle() argument
198 IR_dprintk(2, "%s idle mode\n", idle ? "enter" : "leave"); in ir_raw_event_set_idle()
200 if (idle) { in ir_raw_event_set_idle()
207 dev->s_idle(dev, idle); in ir_raw_event_set_idle()
209 dev->idle = idle; in ir_raw_event_set_idle()
Drc-loopback.c43 bool idle; member
149 if (lodev->idle != enable) { in loop_set_idle()
151 lodev->idle = enable; in loop_set_idle()
218 loopdev.idle = true; in loop_init()
Dstreamzap.c95 bool idle; member
138 if (sz->idle) { in sz_push_full_pulse()
159 sz->idle = false; in sz_push_full_pulse()
259 sz->idle = true; in streamzap_callback()
416 sz->idle = true; in streamzap_probe()
/linux-4.1.27/drivers/cpuidle/
DKconfig.arm5 bool "Generic ARM/ARM64 CPU idle Driver"
9 It provides a generic idle driver whose idle states are configured
11 initialized by calling the CPU operations init idle hook
22 Select this option to enable CPU idle driver for big.LITTLE based
25 multiple CPU idle drivers infrastructure.
DKconfig4 bool "CPU idle PM support"
9 CPU idle is a generic framework for supporting software-controlled
10 idle processor power management. It includes modular cross-platform
DKconfig.powerpc10 Select this option to enable processor idle state management
19 Select this option to enable processor idle state management
DKconfig.mips13 Select this option to enable processor idle state management
16 the deepest idle states you will need to ensure that you are
Dcpuidle-pseries.c39 get_lppaca()->idle = 1; in idle_loop_prolog()
49 get_lppaca()->idle = 0; in idle_loop_epilog()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Didle.fuc26 process(PROC_IDLE, #idle, #idle_recv)
41 // $r15 - current (idle)
49 // $r15 - current (idle)
51 idle:
83 bra #idle
Dgk208.fuc544 #include "idle.fuc"
55 #include "idle.fuc"
68 #include "idle.fuc"
Dgf110.fuc444 #include "idle.fuc"
55 #include "idle.fuc"
68 #include "idle.fuc"
Dgt215.fuc344 #include "idle.fuc"
55 #include "idle.fuc"
68 #include "idle.fuc"
Dgf100.fuc344 #include "idle.fuc"
55 #include "idle.fuc"
68 #include "idle.fuc"
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/
Datmel-wdt.txt27 - atmel,idle-halt : Should be present if you want to stop the watchdog when
28 entering idle state.
30 watchdog not counting when the CPU is in idle state, therefore the
32 if the CPU stop working while it is in idle state, which is probably
46 atmel,idle-halt;
/linux-4.1.27/drivers/idle/
DKconfig8 native Intel hardware idle features. The acpi_idle driver
19 tristate "Intel chipset idle memory power saving driver"
22 Enable memory power savings when idle with certain Intel server
/linux-4.1.27/arch/mips/kernel/
Dsmp-cmp.c81 static void cmp_boot_secondary(int cpu, struct task_struct *idle) in cmp_boot_secondary() argument
83 struct thread_info *gp = task_thread_info(idle); in cmp_boot_secondary()
84 unsigned long sp = __KSTK_TOS(idle); in cmp_boot_secondary()
Dsmp-mt.c195 static void vsmp_boot_secondary(int cpu, struct task_struct *idle) in vsmp_boot_secondary() argument
197 struct thread_info *gp = task_thread_info(idle); in vsmp_boot_secondary()
215 write_tc_gpr_sp( __KSTK_TOS(idle)); in vsmp_boot_secondary()
Dsmp-cps.c228 static void cps_boot_secondary(int cpu, struct task_struct *idle) in cps_boot_secondary() argument
238 vpe_cfg->sp = __KSTK_TOS(idle); in cps_boot_secondary()
239 vpe_cfg->gp = (unsigned long)task_thread_info(idle); in cps_boot_secondary()
Dsmp-bmips.c180 static void bmips_boot_secondary(int cpu, struct task_struct *idle) in bmips_boot_secondary() argument
182 bmips_smp_boot_sp = __KSTK_TOS(idle); in bmips_boot_secondary()
183 bmips_smp_boot_gp = (unsigned long)task_thread_info(idle); in bmips_boot_secondary()
Dsmp-up.c42 static void up_boot_secondary(int cpu, struct task_struct *idle) in up_boot_secondary() argument
/linux-4.1.27/arch/mips/sibyte/sb1250/
Dsmp.c109 static void sb1250_boot_secondary(int cpu, struct task_struct *idle) in sb1250_boot_secondary() argument
114 __KSTK_TOS(idle), in sb1250_boot_secondary()
115 (unsigned long)task_thread_info(idle), 0); in sb1250_boot_secondary()
/linux-4.1.27/arch/m32r/kernel/
Dsmpboot.c261 struct task_struct *idle; in do_boot_cpu() local
271 idle = fork_idle(cpu_id); in do_boot_cpu()
272 if (IS_ERR(idle)) in do_boot_cpu()
275 idle->thread.lr = (unsigned long)start_secondary; in do_boot_cpu()
281 stack_start.spi = (void *)idle->thread.sp; in do_boot_cpu()
282 task_thread_info(idle)->cpu = cpu_id; in do_boot_cpu()
/linux-4.1.27/drivers/isdn/gigaset/
Disocdata.c24 void gigaset_isowbuf_init(struct isowbuf_t *iwb, unsigned char idle) in gigaset_isowbuf_init() argument
31 iwb->idle = idle; in gigaset_isowbuf_init()
32 memset(iwb->data + BAS_OUTBUFSIZE, idle, BAS_OUTBUFPAD); in gigaset_isowbuf_init()
122 iwb->idle = iwb->data[write]; in isowbuf_putflag()
123 gig_dbg(DEBUG_ISO, "idle fill byte %02x", iwb->idle); in isowbuf_putflag()
171 __func__, write, limit, iwb->idle); in gigaset_isowbuf_getbytes()
173 memset(iwb->data + write, iwb->idle, in gigaset_isowbuf_getbytes()
177 memset(iwb->data + write, iwb->idle, in gigaset_isowbuf_getbytes()
201 memset(iwb->data + dst, iwb->idle, in gigaset_isowbuf_getbytes()
475 iwb->idle = c; in trans_buildframe()
/linux-4.1.27/arch/arm/boot/dts/
Dqcom-apq8084.dtsi25 cpu-idle-states = <&CPU_SPC>;
36 cpu-idle-states = <&CPU_SPC>;
47 cpu-idle-states = <&CPU_SPC>;
58 cpu-idle-states = <&CPU_SPC>;
67 idle-states {
69 compatible = "qcom,idle-state-spc",
70 "arm,idle-state";
Dqcom-msm8974.dtsi25 cpu-idle-states = <&CPU_SPC>;
36 cpu-idle-states = <&CPU_SPC>;
47 cpu-idle-states = <&CPU_SPC>;
58 cpu-idle-states = <&CPU_SPC>;
67 idle-states {
69 compatible = "qcom,idle-state-spc",
70 "arm,idle-state";
Dqcom-apq8064.dtsi26 cpu-idle-states = <&CPU_SPC>;
37 cpu-idle-states = <&CPU_SPC>;
48 cpu-idle-states = <&CPU_SPC>;
59 cpu-idle-states = <&CPU_SPC>;
67 idle-states {
69 compatible = "qcom,idle-state-spc",
70 "arm,idle-state";
Dvexpress-v2p-ca15_a7.dts41 cpu-idle-states = <&CLUSTER_SLEEP_BIG>;
49 cpu-idle-states = <&CLUSTER_SLEEP_BIG>;
57 cpu-idle-states = <&CLUSTER_SLEEP_LITTLE>;
65 cpu-idle-states = <&CLUSTER_SLEEP_LITTLE>;
73 cpu-idle-states = <&CLUSTER_SLEEP_LITTLE>;
76 idle-states {
78 compatible = "arm,idle-state";
86 compatible = "arm,idle-state";
Dtwl4030_omap3.dtsi29 * this file. For proper idle mode signaling with sys_clkreq and sys_off_mode
Dhi3620-hi4511.dts33 pinctrl-names = "default", "idle";
40 pinctrl-names = "default", "idle";
47 pinctrl-names = "default", "idle";
54 pinctrl-names = "default", "idle";
61 pinctrl-names = "default", "idle";
/linux-4.1.27/arch/mips/paravirt/
Dparavirt-smp.c102 static void paravirt_boot_secondary(int cpu, struct task_struct *idle) in paravirt_boot_secondary() argument
104 paravirt_smp_gp[cpu] = (unsigned long)task_thread_info(idle); in paravirt_boot_secondary()
106 paravirt_smp_sp[cpu] = __KSTK_TOS(idle); in paravirt_boot_secondary()
/linux-4.1.27/arch/mips/sibyte/bcm1480/
Dsmp.c121 static void bcm1480_boot_secondary(int cpu, struct task_struct *idle) in bcm1480_boot_secondary() argument
126 __KSTK_TOS(idle), in bcm1480_boot_secondary()
127 (unsigned long)task_thread_info(idle), 0); in bcm1480_boot_secondary()
/linux-4.1.27/arch/arm/mach-shmobile/
Dsmp-r8a7791.c46 struct task_struct *idle) in r8a7791_smp_boot_secondary() argument
54 return shmobile_smp_apmu_boot_secondary(cpu, idle); in r8a7791_smp_boot_secondary()
Dplatsmp-apmu.h28 struct task_struct *idle);
Dsmp-emev2.c30 static int emev2_boot_secondary(unsigned int cpu, struct task_struct *idle) in emev2_boot_secondary() argument
Dsmp-sh73a0.c44 static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle) in sh73a0_boot_secondary() argument
Dsmp-r8a7779.c83 static int r8a7779_boot_secondary(unsigned int cpu, struct task_struct *idle) in r8a7779_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-imx/
Dcpuidle-imx6q.c29 goto idle; in imx6q_enter_wait()
37 idle: in imx6q_enter_wait()
Dplatsmp.c49 static int imx_boot_secondary(unsigned int cpu, struct task_struct *idle) in imx_boot_secondary() argument
103 static int ls1021a_boot_secondary(unsigned int cpu, struct task_struct *idle) in ls1021a_boot_secondary() argument
/linux-4.1.27/drivers/net/wireless/orinoco/
Dspectrum_cs.c77 spectrum_reset(struct pcmcia_device *link, int idle) in spectrum_reset() argument
108 ccsr = (idle ? HCR_IDLE : HCR_RUN) | (ccsr & HCR_MEM16); in spectrum_reset()
143 spectrum_cs_stop_firmware(struct orinoco_private *priv, int idle) in spectrum_cs_stop_firmware() argument
148 return spectrum_reset(link, idle); in spectrum_cs_stop_firmware()
/linux-4.1.27/arch/powerpc/sysdev/
Dmpic_timer.c75 unsigned int idle; member
156 map = casc_priv->cascade_map & priv->idle; in detect_idle_cascade_timer()
162 priv->idle &= ~casc_priv->cascade_map; in detect_idle_cascade_timer()
257 if (priv->idle & (1 << i)) { in get_timer()
259 priv->idle &= ~(1 << i); in get_timer()
375 priv->idle |= casc_priv->cascade_map; in mpic_free_timer()
378 priv->idle |= TIMER_OFFSET(handle->num); in mpic_free_timer()
493 priv->idle |= TIMER_OFFSET((offset + j)); in timer_group_get_irq()
/linux-4.1.27/drivers/block/
Dswim3.c48 idle, enumerator
319 if (fs->state == idle && fs->wanted) { in start_request()
324 while (fs->state == idle) { in start_request()
510 case idle: in act()
552 fs->state = idle; in act()
588 fs->state = idle; in scan_timeout()
612 fs->state = idle; in seek_timeout()
641 fs->state = idle; in settle_timeout()
670 fs->state = idle; in xfer_timeout()
707 fs->state = idle; in swim3_interrupt()
[all …]
/linux-4.1.27/Documentation/block/
Dcfq-iosched.txt17 This specifies how long CFQ should idle for next request on certain cfq queues
21 By default slice_idle is a non-zero value. That means by default we idle on
73 in higher end storage due to idle on sequential queue and allow dispatch
238 sync-idle sync-noidle async
240 All cfq queues doing synchronous sequential IO go on to sync-idle tree.
241 On this tree we idle on each queue individually.
245 tree we do not idle on individual queues instead idle on the whole group
247 we will idle only once last queue has dispatched the IO and there is
256 all the queues move to sync-noidle tree and only tree idle remains. This
261 Q1. Why to idle at all on queues marked with REQ_NOIDLE.
[all …]
Dioprio.txt36 IOPRIO_CLASS_IDLE: This is the idle scheduling class, processes running at this
37 level only get io time when no one else needs the disk. The idle class has no
114 const char *to_prio[] = { "none", "realtime", "best-effort", "idle", };
/linux-4.1.27/drivers/i2c/muxes/
Di2c-mux-gpio.c49 i2c_mux_gpio_set(mux, mux->data.idle); in i2c_mux_gpio_deselect()
101 if (of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_gpio_probe_dt()
102 mux->data.idle = I2C_MUX_GPIO_NO_IDLE; in i2c_mux_gpio_probe_dt()
194 if (mux->data.idle != I2C_MUX_GPIO_NO_IDLE) { in i2c_mux_gpio_probe()
195 initial_state = mux->data.idle; in i2c_mux_gpio_probe()
/linux-4.1.27/arch/arm/mach-hisi/
Dplatsmp.c84 static int hi3xxx_boot_secondary(unsigned int cpu, struct task_struct *idle) in hi3xxx_boot_secondary() argument
117 static int hix5hd2_boot_secondary(unsigned int cpu, struct task_struct *idle) in hix5hd2_boot_secondary() argument
152 static int hip01_boot_secondary(unsigned int cpu, struct task_struct *idle) in hip01_boot_secondary() argument
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dti-omap-hsmmc.txt83 this work, we need to set the named pinctrl states "default" and "idle".
84 Prepare idle to remux dat1 as a gpio, and default to remux it back as sdio
85 dat1. The MMC driver will then toggle between idle and default state during
90 2. specify pinctrl states "default" and "idle", "sleep" is optional.
100 pinctrl-names = "default", "idle", "sleep"
/linux-4.1.27/arch/arc/kernel/
Dsmp.c152 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
156 secondary_idle_tsk = idle; in __cpu_up()
158 pr_info("Idle Task [%d] %p", cpu, idle); in __cpu_up()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv50.c243 bool idle, timeout = false; in g84_gr_tlb_flush() local
253 idle = true; in g84_gr_tlb_flush()
255 for (tmp = nv_rd32(priv, 0x400380); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
257 idle = false; in g84_gr_tlb_flush()
260 for (tmp = nv_rd32(priv, 0x400384); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
262 idle = false; in g84_gr_tlb_flush()
265 for (tmp = nv_rd32(priv, 0x400388); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
267 idle = false; in g84_gr_tlb_flush()
269 } while (!idle && in g84_gr_tlb_flush()
/linux-4.1.27/arch/mips/netlogic/common/
Dsmp.c147 void nlm_boot_secondary(int logical_cpu, struct task_struct *idle) in nlm_boot_secondary() argument
155 nlm_next_sp = (unsigned long)__KSTK_TOS(idle); in nlm_boot_secondary()
156 nlm_next_gp = (unsigned long)task_thread_info(idle); in nlm_boot_secondary()
/linux-4.1.27/include/uapi/linux/
Dax25.h93 unsigned int idle, idletimer; member
103 unsigned int idle, idletimer; member
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/ti/
Demif.txt32 - hw-caps-read-idle-ctrl: Have this property if the controller
33 supports read idle window programming
52 hw-caps-read-idle-ctrl;
/linux-4.1.27/arch/mips/sgi-ip27/
Dip27-smp.c194 static void ip27_boot_secondary(int cpu, struct task_struct *idle) in ip27_boot_secondary() argument
196 unsigned long gp = (unsigned long)task_thread_info(idle); in ip27_boot_secondary()
197 unsigned long sp = __KSTK_TOS(idle); in ip27_boot_secondary()
/linux-4.1.27/kernel/sched/
Dfair.c3493 cfs_b->idle = 0; in assign_cfs_rq_runtime()
3719 if (rq->curr == rq->idle && rq->cfs.nr_running) in unthrottle_cfs_rq()
3784 if (cfs_b->idle && !throttled) in do_sched_cfs_period_timer()
3798 cfs_b->idle = 1; in do_sched_cfs_period_timer()
3833 cfs_b->idle = 0; in do_sched_cfs_period_timer()
4013 int idle = 0; in sched_cfs_period_timer() local
4023 idle = do_sched_cfs_period_timer(cfs_b, overrun); in sched_cfs_period_timer()
4027 return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; in sched_cfs_period_timer()
4712 struct cpuidle_state *idle = idle_get_state(rq); in find_idlest_cpu() local
4713 if (idle && idle->exit_latency < min_exit_latency) { in find_idlest_cpu()
[all …]
Dstats.h139 if (prev != rq->idle) in __sched_info_switch()
142 if (next != rq->idle) in __sched_info_switch()
DMakefile16 obj-y += wait.o completion.o idle.o
Didle_task.c32 return rq->idle; in pick_next_task_idle()
Dcore.c635 if (set_nr_and_not_polling(rq->idle)) in wake_up_idle_cpu()
1586 if (!set_nr_if_polling(rq->idle)) in ttwu_queue_remote()
1603 if (set_nr_if_polling(rq->idle)) { in wake_up_if_idle()
3020 if (unlikely(p == rq->idle)) { in rt_mutex_setprio()
3201 if (rq->curr != rq->idle) in idle_cpu()
3223 return cpu_rq(cpu)->idle; in idle_task()
4590 void init_idle_bootup_task(struct task_struct *idle) in init_idle_bootup_task() argument
4592 idle->sched_class = &idle_sched_class; in init_idle_bootup_task()
4603 void init_idle(struct task_struct *idle, int cpu) in init_idle() argument
4610 __sched_fork(0, idle); in init_idle()
[all …]
Drt.c23 int idle = 0; in sched_rt_period_timer() local
32 idle = do_sched_rt_period_timer(rt_b, overrun); in sched_rt_period_timer()
35 return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; in sched_rt_period_timer()
810 int i, idle = 1, throttled = 0; in do_sched_rt_period_timer() local
852 if (rt_rq->rt_nr_running && rq->curr == rq->idle) in do_sched_rt_period_timer()
856 idle = 0; in do_sched_rt_period_timer()
859 idle = 0; in do_sched_rt_period_timer()
874 return idle; in do_sched_rt_period_timer()
/linux-4.1.27/arch/x86/kernel/
Dsmpboot.c779 void common_cpu_up(unsigned int cpu, struct task_struct *idle) in common_cpu_up() argument
784 per_cpu(current_task, cpu) = idle; in common_cpu_up()
790 (unsigned long)task_stack_page(idle) + THREAD_SIZE; in common_cpu_up()
792 clear_tsk_thread_flag(idle, TIF_FORK); in common_cpu_up()
796 (unsigned long)task_stack_page(idle) + THREAD_SIZE; in common_cpu_up()
805 static int do_boot_cpu(int apicid, int cpu, struct task_struct *idle) in do_boot_cpu() argument
816 idle->thread.sp = (unsigned long) (((struct pt_regs *) in do_boot_cpu()
817 (THREAD_SIZE + task_stack_page(idle))) - 1); in do_boot_cpu()
821 stack_start = idle->thread.sp; in do_boot_cpu()
/linux-4.1.27/Documentation/usb/
Dpower-management.txt12 * When is a USB device idle?
15 * Changing the default idle-delay time
79 When is a USB device idle?
82 A device is idle whenever the kernel thinks it's not busy doing
85 to declare that a device isn't idle even when there's no actual
86 communication taking place. (For example, a hub isn't considered idle
88 In addition, a device isn't considered idle so long as a program keeps
92 being accessed through sysfs, then it definitely is idle.
98 Dynamic suspends occur when the kernel decides to suspend an idle
100 won't be autosuspended unless it has been idle for some minimum period
[all …]
/linux-4.1.27/arch/arm64/kernel/
Dsmp.c77 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() argument
87 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
95 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; in __cpu_up()
101 ret = boot_secondary(cpu, idle); in __cpu_up()
/linux-4.1.27/arch/parisc/kernel/
Dsmp.c317 int smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu() argument
322 task_thread_info(idle)->cpu = cpuid; in smp_boot_one_cpu()
333 smp_init_current_idle_task = idle ; in smp_boot_one_cpu()
/linux-4.1.27/Documentation/zh_CN/
Dbasic_profiling.txt49 在kernel启动命令行增加“idle=poll”
57 说明APIC特性没有开启。另外注意idle=poll选项可能有损性能。
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dbtcoex.c326 goto idle; in brcmf_btcoex_handler()
347 goto idle; in brcmf_btcoex_handler()
351 goto idle; in brcmf_btcoex_handler()
356 idle: in brcmf_btcoex_handler()
/linux-4.1.27/arch/x86/xen/
Dsmp.c358 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() argument
404 ctxt->kernel_sp = idle->thread.sp0; in cpu_initialize_context()
431 ctxt->user_regs.esp = idle->thread.sp0 - sizeof(struct pt_regs); in cpu_initialize_context()
440 static int xen_cpu_up(unsigned int cpu, struct task_struct *idle) in xen_cpu_up() argument
444 common_cpu_up(cpu, idle); in xen_cpu_up()
461 rc = cpu_initialize_context(cpu, idle); in xen_cpu_up()
/linux-4.1.27/Documentation/
Dcpu-load.txt11 avg-cpu: %user %nice %system %iowait %steal %idle
18 kernel, and was overall 81.63% of the time idle.
47 system is executing the idle handler), but in reality the load is
Dbasic_profiling.txt32 http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel command
41 a 0Hz CPU, APIC was not on. Be aware that idle=poll may mean a performance
Dkernel-per-CPU-kthreads.txt70 is non-idle, for example, by avoiding system calls and by forcing
120 is non-idle, for example, by avoiding system calls and by
126 is non-idle. For example, avoid system calls and force both
136 1. Offload callbacks and keep the CPU in either dyntick-idle or
144 when it is non-idle, for example, by avoiding system
147 2. Enable RCU to do its processing remotely via dyntick-idle by
150 b. Ensure that the CPU goes idle frequently, allowing other
156 when it is non-idle, for example, by avoiding system
237 boosting, for example, if you ensure frequent idle time on all
/linux-4.1.27/arch/mips/cavium-octeon/
Dsmp.c155 static void octeon_boot_secondary(int cpu, struct task_struct *idle) in octeon_boot_secondary() argument
162 octeon_processor_sp = __KSTK_TOS(idle); in octeon_boot_secondary()
163 octeon_processor_gp = (unsigned long)(task_thread_info(idle)); in octeon_boot_secondary()
/linux-4.1.27/drivers/scsi/
DNCR53c406a.c160 idle, enumerator
687 current_SC->SCp.phase = idle;
818 current_SC->SCp.phase = idle; in NCR53c406a_intr()
826 current_SC->SCp.phase = idle; in NCR53c406a_intr()
835 current_SC->SCp.phase = idle; in NCR53c406a_intr()
843 current_SC->SCp.phase = idle; in NCR53c406a_intr()
859 current_SC->SCp.phase = idle; in NCR53c406a_intr()
Dsym53c416.c202 idle, enumerator
347 current_command->SCp.phase = idle; in sym53c416_intr_handle()
357 current_command->SCp.phase = idle; in sym53c416_intr_handle()
367 current_command->SCp.phase = idle; in sym53c416_intr_handle()
377 current_command->SCp.phase = idle; in sym53c416_intr_handle()
387 current_command->SCp.phase = idle; in sym53c416_intr_handle()
400 current_command->SCp.phase = idle; in sym53c416_intr_handle()
Dmac53c94.c36 idle, enumerator
96 if (state->phase == idle) in mac53c94_queue_lck()
152 if (state->phase != idle || state->current_req != NULL) in mac53c94_start()
354 state->phase = idle; in cmd_done()
Dmesh.c103 idle, enumerator
399 ms->phase = idle; in mesh_init()
475 ms->phase = idle; in mesh_start_cmd()
561 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
567 while (ms->phase == idle) { in mesh_start()
620 ms->phase = idle; in mesh_done()
863 case idle: in reselected()
1008 ms->phase = idle; in handle_reset()
1540 case idle: in cmd_complete()
1611 ms->phase = idle; in cmd_complete()
[all …]
/linux-4.1.27/kernel/
Dcpu.c493 struct task_struct *idle; in _cpu_up() local
502 idle = idle_thread_get(cpu); in _cpu_up()
503 if (IS_ERR(idle)) { in _cpu_up()
504 ret = PTR_ERR(idle); in _cpu_up()
521 ret = __cpu_up(cpu, idle); in _cpu_up()
/linux-4.1.27/arch/alpha/kernel/
Dsmp.c291 secondary_cpu_start(int cpuid, struct task_struct *idle) in secondary_cpu_start() argument
302 ipcb = &task_thread_info(idle)->pcb; in secondary_cpu_start()
322 cpuid, idle->state, ipcb->flags)); in secondary_cpu_start()
362 smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu() argument
370 if (secondary_cpu_start(cpuid, idle)) in smp_boot_one_cpu()
/linux-4.1.27/arch/hexagon/kernel/
Dsmp.c193 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
195 struct thread_info *thread = (struct thread_info *)idle->stack; in __cpu_up()
/linux-4.1.27/Documentation/devicetree/bindings/arm/omap/
Domap.txt22 - ti,no_idle_on_suspend: When present, it prevents the PM to idle the module
25 - ti,no-idle-on-init: When present, the module should not be idled at init
26 - ti,no-idle: When present, the module is never allowed to idle.
/linux-4.1.27/arch/metag/kernel/
Dsmp.c71 static int boot_secondary(unsigned int thread, struct task_struct *idle) in boot_secondary() argument
216 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
230 secondary_data_stack = task_stack_page(idle); in __cpu_up()
237 ret = boot_secondary(thread, idle); in __cpu_up()
/linux-4.1.27/Documentation/RCU/
Dstallwarn.txt33 information on scheduling-clock ticks and RCU's idle-CPU tracking.
108 0: (63959 ticks this GP) idle=241/3fffffffffffffff/0 softirq=82/543
115 …0: (64628 ticks this GP) idle=dd5/3fffffffffffffff/0 softirq=82/543 last_accelerate: a345/d342 non…
124 The "idle=" portion of the message prints the dyntick-idle state.
127 in dyntick-idle mode and an odd-numbered value otherwise. The hex
129 be a small positive number if in the idle loop and a very large positive
137 example, if the CPU might have been in dyntick-idle mode for an extended
152 "D" indicates that dyntick-idle processing is enabled ("." is printed
223 interrupt on a CPU that is not in dyntick-idle mode. This
Dtrace.txt79 completed. Offlined CPUs and CPUs in dynticks idle mode may lag
88 started. Again, offlined CPUs and CPUs in dynticks idle mode
102 this CPU. Offlined CPUs and CPUs in dyntick idle mode might
106 when entering or leaving idle, either due to a context switch or
107 due to an interrupt. This number is even if the CPU is in idle
109 first "/" is the interrupt nesting depth when in idle state,
111 running a non-idle task. Some architectures do not accurately
112 count interrupt nesting when running in non-idle kernel context,
119 idle state.
294 in progress, in other words, RCU is idle. On the other hand,
[all …]
/linux-4.1.27/arch/blackfin/mach-common/
Dsmp.c249 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
253 secondary_stack = task_stack_page(idle) + THREAD_SIZE; in __cpu_up()
255 ret = platform_boot_secondary(cpu, idle); in __cpu_up()
/linux-4.1.27/arch/arm/mach-qcom/
Dplatsmp.c305 static int msm8660_boot_secondary(unsigned int cpu, struct task_struct *idle) in msm8660_boot_secondary() argument
310 static int kpssv1_boot_secondary(unsigned int cpu, struct task_struct *idle) in kpssv1_boot_secondary() argument
315 static int kpssv2_boot_secondary(unsigned int cpu, struct task_struct *idle) in kpssv2_boot_secondary() argument
/linux-4.1.27/arch/arm/plat-versatile/include/plat/
Dplatsmp.h14 extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle);
/linux-4.1.27/arch/mn10300/kernel/
Dsmp.c752 struct task_struct *idle; in do_boot_cpu() local
764 idle = fork_idle(cpu_id); in do_boot_cpu()
765 if (IS_ERR(idle)) in do_boot_cpu()
768 idle->thread.pc = (unsigned long)start_secondary; in do_boot_cpu()
771 start_stack[cpu_id - 1] = idle->thread.sp; in do_boot_cpu()
773 task_thread_info(idle)->cpu = cpu_id; in do_boot_cpu()
/linux-4.1.27/include/linux/
Di2c-mux-gpio.h40 unsigned idle; member
Dhid.h751 int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype); member
1074 static inline int hid_hw_idle(struct hid_device *hdev, int report, int idle, in hid_hw_idle() argument
1077 if (hdev->ll_driver->idle) in hid_hw_idle()
1078 return hdev->ll_driver->idle(hdev, report, idle, reqtype); in hid_hw_idle()
/linux-4.1.27/arch/blackfin/include/asm/
Dcpu.h18 struct task_struct *idle; member
/linux-4.1.27/arch/arm/mach-omap2/
Dsram34xx.S167 bl sdram_in_selfrefresh @ put SDRAM in self refresh, idle SDRC
171 bl enable_sdrc @ take SDRC out of idle
201 orr r12, r12, #SRFRONIDLEREQ_MASK @ enable self refresh on idle
212 and r12, r12, #ST_SDRC_MASK @ check for SDRC idle
DMakefile106 omap-4-5-idle-common = cpuidle44xx.o
107 obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-idle-common)
108 obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-idle-common)
109 obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-idle-common)
Domap-smp.c81 static int omap4_boot_secondary(unsigned int cpu, struct task_struct *idle) in omap4_boot_secondary() argument
Dsleep24xx.S73 orr r4, r4, #0x40 @ enable self refresh on idle req
/linux-4.1.27/arch/xtensa/kernel/
Dsmp.c224 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
231 start_info.stack = (unsigned long)task_pt_regs(idle); in __cpu_up()
235 __func__, cpu, idle, start_info.stack); in __cpu_up()
237 ret = boot_secondary(cpu, idle); in __cpu_up()
Dplatform.c35 _F(void, idle, (void), { __asm__ __volatile__ ("waiti 0" ::: "memory"); });
/linux-4.1.27/arch/powerpc/platforms/pasemi/
DMakefile1 obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o dma_lib.o misc.o
/linux-4.1.27/arch/sparc/kernel/
Dkernel.h93 int smp4m_boot_one_cpu(int i, struct task_struct *idle);
114 int smp4d_boot_one_cpu(int i, struct task_struct *idle);
Dsun4m_smp.c78 int smp4m_boot_one_cpu(int i, struct task_struct *idle) in smp4m_boot_one_cpu() argument
85 current_set[i] = task_thread_info(idle); in smp4m_boot_one_cpu()
Dsun4d_smp.c121 int smp4d_boot_one_cpu(int i, struct task_struct *idle) in smp4d_boot_one_cpu() argument
128 current_set[i] = task_thread_info(idle); in smp4d_boot_one_cpu()
Dleon_smp.c182 int leon_boot_one_cpu(int i, struct task_struct *idle) in leon_boot_one_cpu() argument
186 current_set[i] = task_thread_info(idle); in leon_boot_one_cpu()
/linux-4.1.27/net/ax25/
Dax25_timer.c77 if (ax25->idle > 0) in ax25_start_idletimer()
78 mod_timer(&ax25->idletimer, jiffies + ax25->idle); in ax25_start_idletimer()
Daf_ax25.c428 ax25->idle = ax25_ctl.arg * 60 * HZ; in ax25_ctl_ioctl()
458 ax25->idle = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_IDLE]); in ax25_fillin_cb_from_dev()
492 ax25->idle = msecs_to_jiffies(AX25_DEF_IDLE); in ax25_fillin_cb()
611 ax25->idle = opt * 60 * HZ; in ax25_setsockopt()
725 val = ax25->idle / (60 * HZ); in ax25_getsockopt()
928 ax25->idle = oax25->idle; in ax25_make_new()
1775 ax25_info.idle = ax25->idle / (60 * HZ); in ax25_ioctl()
1904 ax25->idle / (60 * HZ), in ax25_info_show()
/linux-4.1.27/drivers/irqchip/
Dirq-omap-intc.c63 u32 idle; member
93 intc_context.idle = in omap_intc_save_context()
112 intc_writel(INTC_IDLE, intc_context.idle); in omap_intc_restore_context()
/linux-4.1.27/arch/blackfin/mach-bf561/include/mach/
Dsmp.h18 int platform_boot_secondary(unsigned int cpu, struct task_struct *idle);
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt20 - idle-doze : specifier consist of one cell. For each
49 idle-doze = <0x02000000>;
/linux-4.1.27/arch/arm/mach-gemini/
DMakefile7 obj-y := irq.o mm.o time.o devices.o gpio.o idle.o reset.o
/linux-4.1.27/arch/arm/mach-alpine/
Dplatsmp.c26 static int alpine_boot_secondary(unsigned int cpu, struct task_struct *idle) in alpine_boot_secondary() argument
/linux-4.1.27/drivers/misc/mei/
Dinit.c362 bool idle = (dev->dev_state == MEI_DEV_ENABLED && in mei_write_is_idle() local
367 idle, in mei_write_is_idle()
372 return idle; in mei_write_is_idle()
/linux-4.1.27/include/media/
Drc-core.h136 bool idle; member
252 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle);
/linux-4.1.27/arch/arm/plat-versatile/
Dplatsmp.c50 int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle) in versatile_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-keystone/
Dplatsmp.c27 struct task_struct *idle) in keystone_smp_boot_secondary() argument
/linux-4.1.27/arch/ia64/sn/kernel/
DMakefile12 obj-y += setup.o bte.o bte_error.o irq.o mca.o idle.o \
/linux-4.1.27/drivers/iio/adc/
Dti_am335x_adc.c489 unsigned int idle; in tiadc_suspend() local
493 idle = tiadc_readl(adc_dev, REG_CTRL); in tiadc_suspend()
494 idle &= ~(CNTRLREG_TSCSSENB); in tiadc_suspend()
495 tiadc_writel(adc_dev, REG_CTRL, (idle | in tiadc_suspend()
/linux-4.1.27/Documentation/filesystems/nfs/
Dknfsd-stats.txt77 already choosing not to wake idle nfsd threads because there are too
83 Counts how many times an idle nfsd thread is woken to try to
93 nfsd thread, despite the presence of idle nfsd threads, because
122 Counts how many times an nfsd thread triggered an idle timeout,
133 slow; the idle timeout is 60 minutes. Unless the NFS workload
/linux-4.1.27/arch/powerpc/platforms/44x/
DMakefile3 obj-$(CONFIG_44x) += idle.o
/linux-4.1.27/net/rose/
Drose_timer.c104 if (rose->idle > 0) { in rose_start_idletimer()
107 rose->idletimer.expires = jiffies + rose->idle; in rose_start_idletimer()
Daf_rose.c416 rose->idle = opt * 60 * HZ; in rose_setsockopt()
467 val = rose->idle / (60 * HZ); in rose_getsockopt()
547 rose->idle = msecs_to_jiffies(sysctl_rose_no_activity_timeout); in rose_create()
592 rose->idle = orose->idle; in rose_make_new()
1439 rose->idle / (60 * HZ), in rose_info_show()
/linux-4.1.27/arch/arm/mach-mvebu/
Dplatsmp-a9.c28 struct task_struct *idle) in mvebu_cortex_a9_boot_secondary() argument
Dplatsmp.c75 static int armada_xp_boot_secondary(unsigned int cpu, struct task_struct *idle) in armada_xp_boot_secondary() argument
/linux-4.1.27/tools/power/cpupower/
DToDo8 - Add another c1e debug idle monitor
/linux-4.1.27/arch/arm/kernel/
Dpsci_smp.c50 static int psci_boot_secondary(unsigned int cpu, struct task_struct *idle) in psci_boot_secondary() argument
Dsmp.c94 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
105 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; in __cpu_up()
119 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up()
/linux-4.1.27/arch/arm/mach-sti/
Dplatsmp.c56 static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) in sti_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-socfpga/
Dplatsmp.c32 static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle) in socfpga_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-prima2/
Dplatsmp.c48 static int sirfsoc_boot_secondary(unsigned int cpu, struct task_struct *idle) in sirfsoc_boot_secondary() argument
/linux-4.1.27/arch/mips/include/asm/
Dsmp-ops.h29 void (*boot_secondary)(int cpu, struct task_struct *idle);
/linux-4.1.27/net/netrom/
Dnr_timer.c77 if (nr->idle > 0) in nr_start_idletimer()
78 mod_timer(&nr->idletimer, jiffies + nr->idle); in nr_start_idletimer()
Daf_netrom.c343 nr->idle = opt * 60 * HZ; in nr_setsockopt()
386 val = nr->idle / (60 * HZ); in nr_getsockopt()
461 nr->idle = in nr_create()
507 nr->idle = onr->idle; in nr_make_new()
1320 nr->idle / (60 * HZ), in nr_info_show()
/linux-4.1.27/arch/arm/include/asm/
Dsmp.h103 int (*smp_boot_secondary)(unsigned int cpu, struct task_struct *idle);
/linux-4.1.27/arch/arm/mach-spear/
Dplatsmp.c54 static int spear13xx_boot_secondary(unsigned int cpu, struct task_struct *idle) in spear13xx_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-lpc32xx/
Dsuspend.S53 @ Wait for SDRAM busy status to go busy and then idle
/linux-4.1.27/arch/arm/mach-axxia/
Dplatsmp.c34 static int axxia_boot_secondary(unsigned int cpu, struct task_struct *idle) in axxia_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-berlin/
Dplatsmp.c38 static int berlin_boot_secondary(unsigned int cpu, struct task_struct *idle) in berlin_boot_secondary() argument
/linux-4.1.27/arch/arm/mach-omap1/
Dsleep.S103 @ request ARM idle
187 @ request ARM idle
258 @ Request ARM idle
/linux-4.1.27/drivers/dma/
Dmmp_pdma.c114 bool idle; /* channel statue machine */ member
301 if (!chan->idle) { in start_pending_queue()
335 chan->idle = false; in start_pending_queue()
410 chan->idle = true; in mmp_pdma_alloc_chan_resources()
438 chan->idle = true; in mmp_pdma_free_chan_resources()
751 chan->idle = true; in mmp_pdma_terminate_all()
913 chan->idle = list_empty(&chan->chain_running); in dma_do_tasklet()
Dfsldma.c589 if (!chan->idle) { in fsl_chan_xfer_ld_queue()
628 chan->idle = false; in fsl_chan_xfer_ld_queue()
962 chan->idle = true; in fsl_dma_device_terminate_all()
1109 chan->idle = true; in dma_do_tasklet()
1299 chan->idle = true; in fsl_dma_chan_probe()
1460 if (unlikely(!chan->idle)) in fsldma_suspend_late()
/linux-4.1.27/arch/arm/common/
Dmcpm_platsmp.c32 static int mcpm_boot_secondary(unsigned int cpu, struct task_struct *idle) in mcpm_boot_secondary() argument
/linux-4.1.27/drivers/net/appletalk/
Dltpc.c495 static void idle(struct net_device *dev) in idle() function
661 idle(dev); in do_write()
685 idle(dev); in do_read()
798 idle(dev); /* handle whatever is coming in */ in ltpc_interrupt()
888 idle(dev); in ltpc_poll()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c127 get_lppaca()->idle = 1; in pseries_mach_cpu_die()
144 get_lppaca()->idle = 0; in pseries_mach_cpu_die()
/linux-4.1.27/drivers/thermal/
Drcar_thermal.c374 int idle = IDLE_INTERVAL; in rcar_thermal_probe() local
400 idle = 0; /* polling delay is not needed */ in rcar_thermal_probe()
430 idle); in rcar_thermal_probe()
/linux-4.1.27/arch/arm/mach-ux500/
Dplatsmp.c71 static int ux500_boot_secondary(unsigned int cpu, struct task_struct *idle) in ux500_boot_secondary() argument
/linux-4.1.27/include/linux/mfd/wm8994/
Dpdata.h128 bool idle; member
/linux-4.1.27/Documentation/power/
Dsuspend-and-interrupts.txt97 Suspend-to-idle (also known as the "freeze" sleep state) is a relatively new
102 set will bring CPUs out of idle while in that state, but they will not cause the
105 System wakeup interrupts, in turn, will trigger wakeup from suspend-to-idle in
107 is that the wakeup from suspend-to-idle is signaled using the usual working
/linux-4.1.27/arch/arm/mach-zynq/
Dplatsmp.c90 static int zynq_boot_secondary(unsigned int cpu, struct task_struct *idle) in zynq_boot_secondary() argument
/linux-4.1.27/arch/powerpc/include/asm/
Dlppaca.h77 u8 idle; /* Indicate OS is idle */ member
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-system-cpu115 Various CPUs today support multiple idle levels that are
117 consumption during idle.
119 Idle policy (governor) is differentiated from idle mechanism
122 current_driver: displays current idle mechanism
124 current_governor_ro: displays current idle policy
/linux-4.1.27/drivers/input/touchscreen/
Dti_am335x_tsc.c497 unsigned int idle; in titsc_suspend() local
501 idle = titsc_readl(ts_dev, REG_IRQENABLE); in titsc_suspend()
503 (idle | IRQENB_HW_PEN)); in titsc_suspend()
Dzforce_ts.c236 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency() argument
241 (idle & 0xff), ((idle >> 8) & 0xff), in zforce_scan_frequency()
247 idle, finger, stylus); in zforce_scan_frequency()
/linux-4.1.27/arch/mips/loongson/loongson-3/
Dsmp.c375 static void loongson3_boot_secondary(int cpu, struct task_struct *idle) in loongson3_boot_secondary() argument
383 startargs[1] = (unsigned long)__KSTK_TOS(idle); in loongson3_boot_secondary()
384 startargs[2] = (unsigned long)task_thread_info(idle); in loongson3_boot_secondary()
/linux-4.1.27/arch/arm/mach-sunxi/
Dplatsmp.c72 struct task_struct *idle) in sun6i_smp_boot_secondary() argument
/linux-4.1.27/tools/perf/util/
Dparse-events.l180 stalled-cycles-frontend|idle-cycles-frontend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT…
181 stalled-cycles-backend|idle-cycles-backend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_H…
/linux-4.1.27/arch/arm/include/debug/
Dsamsung.S81 @ idle waiting for non fifo
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/
Dautoidle.txt6 clock which can be put to idle automatically by hardware based on the usage
/linux-4.1.27/arch/arm/mach-bcm/
Dkona_smp.c142 static int bcm_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm_boot_secondary() argument
/linux-4.1.27/include/linux/mfd/
Ddb8500-prcmu.h500 struct prcmu_auto_pm_config *idle);
608 struct prcmu_auto_pm_config *idle) in prcmu_configure_auto_pm() argument
/linux-4.1.27/arch/powerpc/kernel/
Dsmp.c468 static void cpu_idle_thread_init(unsigned int cpu, struct task_struct *idle) in cpu_idle_thread_init() argument
470 struct thread_info *ti = task_thread_info(idle); in cpu_idle_thread_init()
473 paca[cpu].__current = idle; in cpu_idle_thread_init()
/linux-4.1.27/arch/blackfin/mach-bf561/
Dsmp.c76 int platform_boot_secondary(unsigned int cpu, struct task_struct *idle) in platform_boot_secondary() argument
/linux-4.1.27/arch/sh/kernel/
DMakefile15 idle.o io.o irq.o irq_$(BITS).o kdebugfs.o \
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_fw.c120 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()
164 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dnvidia,tegra20-usb-phy.txt40 - nvidia,idle-wait-delay : Number of 480 Mhz clock cycles of idle to wait
/linux-4.1.27/drivers/misc/sgi-xp/
Dxpc_main.c619 int idle = atomic_read(&ch->kthreads_idle); in xpc_activate_kthreads() local
625 if (idle > 0) { in xpc_activate_kthreads()
626 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads()
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dqcom,lpass-cpu.txt37 pinctrl-names = "default", "idle";
/linux-4.1.27/net/sched/
Dsch_cbq.c709 long idle; in cbq_update() local
721 idle = now - cl->last; in cbq_update()
722 if ((unsigned long)idle > 128*1024*1024) { in cbq_update()
725 idle -= L2T(cl, len); in cbq_update()
732 avgidle += idle - (avgidle>>cl->ewma_log); in cbq_update()
751 idle = (-avgidle) - ((-avgidle) >> cl->ewma_log); in cbq_update()
762 idle -= L2T(&q->link, len); in cbq_update()
763 idle += L2T(cl, len); in cbq_update()
765 cl->undertime = now + idle; in cbq_update()
/linux-4.1.27/drivers/gpu/host1x/
Dcdma.c466 bool idle = list_empty(&cdma->sync_queue); in host1x_cdma_end() local
476 if (job->timeout && idle) in host1x_cdma_end()
/linux-4.1.27/arch/x86/include/asm/
Dsmp.h168 void x86_idle_thread_init(unsigned int cpu, struct task_struct *idle);
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_gpu.h52 void (*idle)(struct msm_gpu *gpu); member
/linux-4.1.27/arch/blackfin/mach-bf609/
Ddpm.S111 idle;

123