Home
last modified time | relevance | path

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

123

/linux-4.4.14/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 …]
/linux-4.4.14/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.txt57 Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie idle
62 idle-states node entry-method property is set
105 [1] Kernel documentation - ARM idle states bindings
106 Documentation/devicetree/bindings/arm/idle-states.txt
Dcoherency-fabric.txt32 - broken-idle: boolean to set when the Idle mode is not supported by the
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dg84.c119 bool idle, timeout = false; in g84_gr_tlb_flush() local
130 idle = true; in g84_gr_tlb_flush()
132 for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
134 idle = false; in g84_gr_tlb_flush()
137 for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
139 idle = false; in g84_gr_tlb_flush()
142 for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
144 idle = false; in g84_gr_tlb_flush()
146 } while (!idle && in g84_gr_tlb_flush()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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-reg.txt23 - idle-state: value to set the muxer to when idle. When no value is
29 If an idle state is defined, using the idle-state (optional) property,
31 register will be set according to the idle value.
33 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.4.14/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.4.14/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.4.14/Documentation/vm/
Didle_page_tracking.txt3 The idle page tracking feature allows to track which memory pages are being
4 accessed by a workload and which are idle. This information can be useful for
13 The idle page tracking API is located at /sys/kernel/mm/page_idle. Currently,
19 set, the corresponding page is idle.
21 A page is considered idle if it has not been accessed since it was marked idle
23 DETAILS section). To mark a page idle one has to set the bit corresponding to
29 page types (e.g. SLAB pages) an attempt to mark a page idle is silently ignored,
30 and hence such pages are never reported idle.
32 For huge pages the idle flag is set only on the head page, so one has to read
33 /proc/kpageflags in order to correctly count idle huge pages.
[all …]
/linux-4.4.14/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.
130 bool "Detect full-system idle state for full dynticks system"
135 timekeeping purposes whenever there is a non-idle CPU, where
136 "non-idle" also includes dynticks CPUs as long as they are
137 running non-idle tasks. Because the underlying adaptive-tick
138 support cannot distinguish between all CPUs being idle and
142 are idle. This Kconfig option enables scalable detection of
143 the all-CPUs-idle state, thus allowing the scheduling-clock
[all …]
Dtick-sched.c493 ktime_t now, idle; in get_cpu_idle_time_us() local
501 idle = ts->idle_sleeptime; in get_cpu_idle_time_us()
506 idle = ktime_add(ts->idle_sleeptime, delta); in get_cpu_idle_time_us()
508 idle = ts->idle_sleeptime; in get_cpu_idle_time_us()
512 return ktime_to_us(idle); in get_cpu_idle_time_us()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/Documentation/devicetree/bindings/watchdog/
Datmel-sama5d4-wdt.txt15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
16 in idle state.
18 watchdog not counting when the CPU is in idle state, therefore the
20 if the CPU stop working while it is in idle state, which is probably
33 atmel,idle-halt;
Datmel-wdt.txt28 - atmel,idle-halt : Should be present if you want to stop the watchdog when
29 entering idle state.
31 watchdog not counting when the CPU is in idle state, therefore the
33 if the CPU stop working while it is in idle state, which is probably
48 atmel,idle-halt;
/linux-4.4.14/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.4.14/Documentation/trace/
Dftrace.txt817 <idle>-0 [001] dNs4 21169.031481: wake_up_idle_cpu <-add_timer_on
818 <idle>-0 [001] dNs4 21169.031482: _raw_spin_unlock_irqrestore <-add_timer_on
819 <idle>-0 [001] .Ns4 21169.031484: sub_preempt_count <-_raw_spin_unlock_irqrestore
821 <idle>-0 [002] .N.1 21169.031484: rcu_idle_exit <-cpu_idle
822 <idle>-0 [001] .Ns3 21169.031484: _raw_spin_unlock <-clocksource_watchdog
823 <idle>-0 [001] .Ns3 21169.031485: sub_preempt_count <-_raw_spin_unlock
891 <idle>-0 [002] 23636.756054: ttwu_do_activate.constprop.89 <-try_to_wake_up
892 <idle>-0 [002] 23636.756054: activate_task <-ttwu_do_activate.constprop.89
893 <idle>-0 [002] 23636.756055: enqueue_task <-activate_task
958 <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.4.14/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()
160 sz->idle = false; in sz_push_full_pulse()
261 sz->idle = true; in streamzap_callback()
418 sz->idle = true; in streamzap_probe()
/linux-4.4.14/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.c41 get_lppaca()->idle = 1; in idle_loop_prolog()
51 get_lppaca()->idle = 0; in idle_loop_epilog()
/linux-4.4.14/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
Dgf119.fuc444 #include "idle.fuc"
55 #include "idle.fuc"
68 #include "idle.fuc"
Dgk208.fuc544 #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.4.14/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.4.14/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.c253 static void cps_boot_secondary(int cpu, struct task_struct *idle) in cps_boot_secondary() argument
263 vpe_cfg->sp = __KSTK_TOS(idle); in cps_boot_secondary()
264 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.4.14/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.4.14/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.4.14/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.dtsi36 cpu-idle-states = <&CPU_SPC>;
47 cpu-idle-states = <&CPU_SPC>;
58 cpu-idle-states = <&CPU_SPC>;
69 cpu-idle-states = <&CPU_SPC>;
78 idle-states {
80 compatible = "qcom,idle-state-spc",
81 "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";
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";
Dlogicpd-torpedo-som.dtsi156 compatible = "ti,twl4030-power-idle-osc-off", "ti,twl4030-power-idle";
Dtwl4030_omap3.dtsi29 * this file. For proper idle mode signaling with sys_clkreq and sys_off_mode
Dvf500-colibri.dtsi31 pinctrl-names = "idle","default","gpios";
Dhi3620-hi4511.dts34 pinctrl-names = "default", "idle";
41 pinctrl-names = "default", "idle";
48 pinctrl-names = "default", "idle";
55 pinctrl-names = "default", "idle";
62 pinctrl-names = "default", "idle";
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/clock/
Dmt8173-cpu-dvfs.txt28 cpu-idle-states = <&CPU_SLEEP_0>;
39 cpu-idle-states = <&CPU_SLEEP_0>;
50 cpu-idle-states = <&CPU_SLEEP_0>;
61 cpu-idle-states = <&CPU_SLEEP_0>;
/linux-4.4.14/arch/mips/sibyte/bcm1480/
Dsmp.c119 static void bcm1480_boot_secondary(int cpu, struct task_struct *idle) in bcm1480_boot_secondary() argument
124 __KSTK_TOS(idle), in bcm1480_boot_secondary()
125 (unsigned long)task_thread_info(idle), 0); in bcm1480_boot_secondary()
/linux-4.4.14/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.4.14/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.c36 static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle) in sh73a0_boot_secondary() argument
Dsmp-r8a7779.c74 static int r8a7779_boot_secondary(unsigned int cpu, struct task_struct *idle) in r8a7779_boot_secondary() argument
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/i2c/muxes/
Di2c-mux-gpio.c49 i2c_mux_gpio_set(mux, mux->data.idle); in i2c_mux_gpio_deselect()
102 if (of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_gpio_probe_dt()
103 mux->data.idle = I2C_MUX_GPIO_NO_IDLE; in i2c_mux_gpio_probe_dt()
195 if (mux->data.idle != I2C_MUX_GPIO_NO_IDLE) { in i2c_mux_gpio_probe()
196 initial_state = mux->data.idle; in i2c_mux_gpio_probe()
Di2c-mux-reg.c81 return i2c_mux_reg_set(mux, mux->data.idle); in i2c_mux_reg_deselect()
149 if (!of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_reg_probe_dt()
/linux-4.4.14/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.4.14/Documentation/features/core/generic-idle-thread/
Darch-support.txt2 # Feature name: generic-idle-thread
4 # description: arch makes use of the generic SMP idle thread facility
/linux-4.4.14/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.4.14/drivers/soc/rockchip/
Dpm_domains.c66 #define DOMAIN(pwr, status, req, idle, ack) \ argument
71 .idle_mask = BIT(idle), \
89 bool idle) in rockchip_pmu_set_idle_request() argument
96 pd_info->req_mask, idle ? -1U : 0); in rockchip_pmu_set_idle_request()
102 } while ((val & pd_info->ack_mask) != (idle ? pd_info->ack_mask : 0)); in rockchip_pmu_set_idle_request()
104 while (rockchip_pmu_domain_is_idle(pd) != idle) in rockchip_pmu_set_idle_request()
/linux-4.4.14/arch/arm/mach-socfpga/
Dplatsmp.c32 static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle) in socfpga_boot_secondary() argument
57 static int socfpga_a10_boot_secondary(unsigned int cpu, struct task_struct *idle) in socfpga_a10_boot_secondary() argument
/linux-4.4.14/kernel/sched/
Dfair.c3417 cfs_b->idle = 0; in assign_cfs_rq_runtime()
3652 if (rq->curr == rq->idle && rq->cfs.nr_running) in unthrottle_cfs_rq()
3717 if (cfs_b->idle && !throttled) in do_sched_cfs_period_timer()
3724 cfs_b->idle = 1; in do_sched_cfs_period_timer()
3759 cfs_b->idle = 0; in do_sched_cfs_period_timer()
3939 int idle = 0; in sched_cfs_period_timer() local
3947 idle = do_sched_cfs_period_timer(cfs_b, overrun); in sched_cfs_period_timer()
3949 if (idle) in sched_cfs_period_timer()
3953 return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; in sched_cfs_period_timer()
4802 struct cpuidle_state *idle = idle_get_state(rq); in find_idlest_cpu() local
[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()
Drt.c21 int idle = 0; in sched_rt_period_timer() local
31 idle = do_sched_rt_period_timer(rt_b, overrun); in sched_rt_period_timer()
34 if (idle) in sched_rt_period_timer()
38 return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; in sched_rt_period_timer()
813 int i, idle = 1, throttled = 0; in do_sched_rt_period_timer() local
855 if (rt_rq->rt_nr_running && rq->curr == rq->idle) in do_sched_rt_period_timer()
859 idle = 0; in do_sched_rt_period_timer()
862 idle = 0; in do_sched_rt_period_timer()
877 return idle; in do_sched_rt_period_timer()
/linux-4.4.14/arch/s390/lib/
Ddelay.c36 struct s390_idle_data idle; in __udelay_disabled() local
47 psw_idle(&idle, psw_mask); in __udelay_disabled()
/linux-4.4.14/include/uapi/linux/
Dax25.h93 unsigned int idle, idletimer; member
103 unsigned int idle, idletimer; member
/linux-4.4.14/arch/arc/kernel/
Dsmp.c158 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
162 secondary_idle_tsk = idle; in __cpu_up()
164 pr_info("Idle Task [%d] %p", cpu, idle); in __cpu_up()
/linux-4.4.14/arch/mips/netlogic/common/
Dsmp.c149 void nlm_boot_secondary(int logical_cpu, struct task_struct *idle) in nlm_boot_secondary() argument
157 nlm_next_sp = (unsigned long)__KSTK_TOS(idle); in nlm_boot_secondary()
158 nlm_next_gp = (unsigned long)task_thread_info(idle); in nlm_boot_secondary()
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/ti/
Demif.txt33 - hw-caps-read-idle-ctrl: Have this property if the controller
34 supports read idle window programming
53 hw-caps-read-idle-ctrl;
/linux-4.4.14/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.4.14/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.4.14/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.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dcolibri-vf50-ts.txt12 - pinctrl-names: "idle", "default", "gpios"
30 pinctrl-names = "idle","default","gpios";
/linux-4.4.14/Documentation/zh_CN/
Dbasic_profiling.txt49 在kernel启动命令行增加“idle=poll”
57 说明APIC特性没有开启。另外注意idle=poll选项可能有损性能。
/linux-4.4.14/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.4.14/arch/x86/kernel/
Dsmpboot.c807 void common_cpu_up(unsigned int cpu, struct task_struct *idle) in common_cpu_up() argument
812 per_cpu(current_task, cpu) = idle; in common_cpu_up()
818 (unsigned long)task_stack_page(idle) + THREAD_SIZE; in common_cpu_up()
820 clear_tsk_thread_flag(idle, TIF_FORK); in common_cpu_up()
831 static int do_boot_cpu(int apicid, int cpu, struct task_struct *idle) in do_boot_cpu() argument
842 idle->thread.sp = (unsigned long) (((struct pt_regs *) in do_boot_cpu()
843 (THREAD_SIZE + task_stack_page(idle))) - 1); in do_boot_cpu()
847 stack_start = idle->thread.sp; in do_boot_cpu()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/x86/xen/
Dsmp.c382 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() argument
428 ctxt->kernel_sp = idle->thread.sp0; in cpu_initialize_context()
455 ctxt->user_regs.esp = idle->thread.sp0 - sizeof(struct pt_regs); in cpu_initialize_context()
464 static int xen_cpu_up(unsigned int cpu, struct task_struct *idle) in xen_cpu_up() argument
468 common_cpu_up(cpu, idle); in xen_cpu_up()
485 rc = cpu_initialize_context(cpu, idle); in xen_cpu_up()
/linux-4.4.14/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.4.14/kernel/
Dcpu.c491 struct task_struct *idle; in _cpu_up() local
500 idle = idle_thread_get(cpu); in _cpu_up()
501 if (IS_ERR(idle)) { in _cpu_up()
502 ret = PTR_ERR(idle); in _cpu_up()
519 ret = __cpu_up(cpu, idle); in _cpu_up()
/linux-4.4.14/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.4.14/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.4.14/arch/arm64/kernel/
Dsmp.c79 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() argument
89 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
97 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; in __cpu_up()
103 ret = boot_secondary(cpu, idle); in __cpu_up()
/linux-4.4.14/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.4.14/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.4.14/arch/arm/plat-versatile/include/plat/
Dplatsmp.h14 extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle);
/linux-4.4.14/arch/arm/mach-sunxi/
Dplatsmp.c72 struct task_struct *idle) in sun6i_smp_boot_secondary() argument
155 struct task_struct *idle) in sun8i_smp_boot_secondary() argument
/linux-4.4.14/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.4.14/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi56 cpu-idle-states = <&CPU_SLEEP_0>;
64 cpu-idle-states = <&CPU_SLEEP_0>;
72 cpu-idle-states = <&CPU_SLEEP_0>;
80 cpu-idle-states = <&CPU_SLEEP_0>;
83 idle-states {
87 compatible = "arm,idle-state";
/linux-4.4.14/include/linux/
Di2c-mux-gpio.h40 unsigned idle; member
Dhid.h751 int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype); member
1076 static inline int hid_hw_idle(struct hid_device *hdev, int report, int idle, in hid_hw_idle() argument
1079 if (hdev->ll_driver->idle) in hid_hw_idle()
1080 return hdev->ll_driver->idle(hdev, report, idle, reqtype); in hid_hw_idle()
/linux-4.4.14/arch/blackfin/include/asm/
Dcpu.h18 struct task_struct *idle; member
/linux-4.4.14/include/linux/platform_data/
Di2c-mux-reg.h38 u32 idle; member
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.c427 ax25->idle = ax25_ctl.arg * 60 * HZ; in ax25_ctl_ioctl()
457 ax25->idle = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_IDLE]); in ax25_fillin_cb_from_dev()
491 ax25->idle = msecs_to_jiffies(AX25_DEF_IDLE); in ax25_fillin_cb()
610 ax25->idle = opt * 60 * HZ; in ax25_setsockopt()
724 val = ax25->idle / (60 * HZ); in ax25_getsockopt()
927 ax25->idle = oax25->idle; in ax25_make_new()
1774 ax25_info.idle = ax25->idle / (60 * HZ); in ax25_ioctl()
1903 ax25->idle / (60 * HZ), in ax25_info_show()
/linux-4.4.14/drivers/irqchip/
Dirq-omap-intc.c62 u32 idle; member
92 intc_context.idle = in omap_intc_save_context()
111 intc_writel(INTC_IDLE, intc_context.idle); in omap_intc_restore_context()
/linux-4.4.14/arch/blackfin/mach-bf561/include/mach/
Dsmp.h18 int platform_boot_secondary(unsigned int cpu, struct task_struct *idle);
/linux-4.4.14/arch/arm/mach-keystone/
Dplatsmp.c27 struct task_struct *idle) in keystone_smp_boot_secondary() argument
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368.dtsi108 idle-states {
112 compatible = "arm,idle-state";
124 cpu-idle-states = <&cpu_sleep>;
132 cpu-idle-states = <&cpu_sleep>;
140 cpu-idle-states = <&cpu_sleep>;
148 cpu-idle-states = <&cpu_sleep>;
156 cpu-idle-states = <&cpu_sleep>;
164 cpu-idle-states = <&cpu_sleep>;
172 cpu-idle-states = <&cpu_sleep>;
180 cpu-idle-states = <&cpu_sleep>;
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt20 - idle-doze : specifier consist of one cell. For each
49 idle-doze = <0x02000000>;
/linux-4.4.14/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.4.14/arch/arm/mach-gemini/
DMakefile7 obj-y := irq.o mm.o time.o devices.o gpio.o idle.o reset.o
/linux-4.4.14/drivers/misc/mei/
Dinit.c360 bool idle = (dev->dev_state == MEI_DEV_ENABLED && in mei_write_is_idle() local
366 idle, in mei_write_is_idle()
372 return idle; in mei_write_is_idle()
/linux-4.4.14/Documentation/RCU/
Dstallwarn.txt101 0: (63959 ticks this GP) idle=241/3fffffffffffffff/0 softirq=82/543
107 …0: (64628 ticks this GP) idle=dd5/3fffffffffffffff/0 softirq=82/543 last_accelerate: a345/d342 non…
116 The "idle=" portion of the message prints the dyntick-idle state.
119 in dyntick-idle mode and an odd-numbered value otherwise. The hex
121 be a small positive number if in the idle loop and a very large positive
129 example, if the CPU might have been in dyntick-idle mode for an extended
144 "D" indicates that dyntick-idle processing is enabled ("." is printed
239 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.
278 in progress, in other words, RCU is idle. On the other hand,
[all …]
/linux-4.4.14/include/media/
Drc-core.h136 bool idle; member
252 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle);
/linux-4.4.14/arch/arm/plat-versatile/
Dplatsmp.c50 int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle) in versatile_boot_secondary() argument
/linux-4.4.14/arch/ia64/sn/kernel/
DMakefile12 obj-y += setup.o bte.o bte_error.o irq.o mca.o idle.o \
/linux-4.4.14/arch/powerpc/platforms/44x/
DMakefile3 obj-$(CONFIG_44x) += idle.o
/linux-4.4.14/net/rose/
Drose_timer.c104 if (rose->idle > 0) { in rose_start_idletimer()
107 rose->idletimer.expires = jiffies + rose->idle; in rose_start_idletimer()
/linux-4.4.14/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.4.14/drivers/iio/adc/
Dti_am335x_adc.c540 unsigned int idle; in tiadc_suspend() local
544 idle = tiadc_readl(adc_dev, REG_CTRL); in tiadc_suspend()
545 idle &= ~(CNTRLREG_TSCSSENB); in tiadc_suspend()
546 tiadc_writel(adc_dev, REG_CTRL, (idle | in tiadc_suspend()
/linux-4.4.14/arch/arm/kernel/
Dsmp.c98 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
109 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; in __cpu_up()
123 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up()
Dpsci_smp.c52 static int psci_boot_secondary(unsigned int cpu, struct task_struct *idle) in psci_boot_secondary() argument
/linux-4.4.14/tools/power/cpupower/
DToDo8 - Add another c1e debug idle monitor
/linux-4.4.14/arch/mips/include/asm/
Dsmp-ops.h29 void (*boot_secondary)(int cpu, struct task_struct *idle);
/linux-4.4.14/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.4.14/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()
/linux-4.4.14/arch/arm/mach-omap2/
DMakefile103 omap-4-5-idle-common = cpuidle44xx.o
104 obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-idle-common)
105 obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-idle-common)
106 obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-idle-common)
Dsleep24xx.S73 orr r4, r4, #0x40 @ enable self refresh on idle req
Domap-smp.c81 static int omap4_boot_secondary(unsigned int cpu, struct task_struct *idle) in omap4_boot_secondary() argument
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dsuspend.S53 @ Wait for SDRAM busy status to go busy and then idle
/linux-4.4.14/arch/arm/mach-ux500/
Dplatsmp.c94 static int ux500_boot_secondary(unsigned int cpu, struct task_struct *idle) in ux500_boot_secondary() argument
/linux-4.4.14/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.4.14/arch/arm/include/asm/
Dsmp.h103 int (*smp_boot_secondary)(unsigned int cpu, struct task_struct *idle);
/linux-4.4.14/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.4.14/arch/arm/mach-omap1/
Dsleep.S103 @ request ARM idle
187 @ request ARM idle
258 @ Request ARM idle
/linux-4.4.14/drivers/dma/
Dmmp_pdma.c113 bool idle; /* channel statue machine */ member
300 if (!chan->idle) { in start_pending_queue()
334 chan->idle = false; in start_pending_queue()
409 chan->idle = true; in mmp_pdma_alloc_chan_resources()
437 chan->idle = true; in mmp_pdma_free_chan_resources()
750 chan->idle = true; in mmp_pdma_terminate_all()
912 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.4.14/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.4.14/arch/powerpc/platforms/powernv/
DMakefile1 obj-y += setup.o opal-wrappers.o opal.o opal-async.o idle.o
/linux-4.4.14/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.4.14/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.4.14/drivers/thermal/
Drcar_thermal.c391 int idle = IDLE_INTERVAL; in rcar_thermal_probe() local
419 idle = 0; /* polling delay is not needed */ in rcar_thermal_probe()
449 idle); in rcar_thermal_probe()
/linux-4.4.14/arch/arm/mach-sti/
Dplatsmp.c55 static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) in sti_boot_secondary() argument
/linux-4.4.14/include/linux/mfd/wm8994/
Dpdata.h128 bool idle; member
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/arm/mach-berlin/
Dplatsmp.c46 static int berlin_boot_secondary(unsigned int cpu, struct task_struct *idle) in berlin_boot_secondary() argument
/linux-4.4.14/arch/arm/mach-bcm/
Dbcm63xx_smp.c108 struct task_struct *idle) in bcm63138_smp_boot_secondary() argument
Dkona_smp.c142 static int bcm_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm_boot_secondary() argument
/linux-4.4.14/arch/powerpc/include/asm/
Dlppaca.h77 u8 idle; /* Indicate OS is idle */ member
/linux-4.4.14/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()
/linux-4.4.14/arch/mips/loongson64/loongson-3/
Dsmp.c384 static void loongson3_boot_secondary(int cpu, struct task_struct *idle) in loongson3_boot_secondary() argument
392 startargs[1] = (unsigned long)__KSTK_TOS(idle); in loongson3_boot_secondary()
393 startargs[2] = (unsigned long)task_thread_info(idle); in loongson3_boot_secondary()
/linux-4.4.14/Documentation/filesystems/nfs/
Dknfsd-stats.txt77 Counts how many times an idle nfsd thread is woken to try to
86 Counts how many times an nfsd thread triggered an idle timeout,
97 slow; the idle timeout is 60 minutes. Unless the NFS workload
/linux-4.4.14/arch/arm/mach-mediatek/
Dplatsmp.c59 static int mtk_boot_secondary(unsigned int cpu, struct task_struct *idle) in mtk_boot_secondary() argument
/linux-4.4.14/arch/arm/include/debug/
Dsamsung.S81 @ idle waiting for non fifo
/linux-4.4.14/Documentation/devicetree/bindings/clock/ti/
Dautoidle.txt6 clock which can be put to idle automatically by hardware based on the usage
/linux-4.4.14/arch/arm/mach-zx/
Dplatsmp.c101 static int zx_boot_secondary(unsigned int cpu, struct task_struct *idle) in zx_boot_secondary() argument
/linux-4.4.14/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.4.14/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()

123