Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/arch/s390/kernel/
Didle.c26 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in account_idle_time_irq() local
34 this_cpu_add(mt_cycles[i], cycles_new[i] - idle->mt_cycles_enter[i]); in account_idle_time_irq()
37 idle->clock_idle_exit = S390_lowcore.int_clock; in account_idle_time_irq()
38 idle->timer_idle_exit = S390_lowcore.sys_enter_timer; in account_idle_time_irq()
40 S390_lowcore.steal_timer += idle->clock_idle_enter - S390_lowcore.last_update_clock; in account_idle_time_irq()
41 S390_lowcore.last_update_clock = idle->clock_idle_exit; in account_idle_time_irq()
43 S390_lowcore.system_timer += S390_lowcore.last_update_timer - idle->timer_idle_enter; in account_idle_time_irq()
44 S390_lowcore.last_update_timer = idle->timer_idle_exit; in account_idle_time_irq()
49 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in arch_cpu_idle() local
59 psw_idle(idle, psw_mask); in arch_cpu_idle()
[all …]
/arch/arm/mach-tegra/
Dplatsmp.c42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument
70 static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra30_boot_secondary() argument
129 static int tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra114_boot_secondary() argument
159 struct task_struct *idle) in tegra_boot_secondary() argument
162 return tegra20_boot_secondary(cpu, idle); in tegra_boot_secondary()
164 return tegra30_boot_secondary(cpu, idle); in tegra_boot_secondary()
166 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
168 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
/arch/x86/include/asm/
Dstackprotector.h78 static inline void cpu_init_stack_canary(int cpu, struct task_struct *idle) in cpu_init_stack_canary() argument
81 per_cpu(fixed_percpu_data.stack_canary, cpu) = idle->stack_canary; in cpu_init_stack_canary()
83 per_cpu(__stack_chk_guard, cpu) = idle->stack_canary; in cpu_init_stack_canary()
91 static inline void cpu_init_stack_canary(int cpu, struct task_struct *idle) in cpu_init_stack_canary() argument
/arch/arm64/boot/dts/freescale/
Dfsl-ls2088a.dtsi21 cpu-idle-states = <&CPU_PW20>;
31 cpu-idle-states = <&CPU_PW20>;
41 cpu-idle-states = <&CPU_PW20>;
51 cpu-idle-states = <&CPU_PW20>;
62 cpu-idle-states = <&CPU_PW20>;
71 cpu-idle-states = <&CPU_PW20>;
81 cpu-idle-states = <&CPU_PW20>;
91 cpu-idle-states = <&CPU_PW20>;
113 compatible = "arm,idle-state";
114 idle-state-name = "PW20";
Dfsl-ls2080a.dtsi21 cpu-idle-states = <&CPU_PW20>;
31 cpu-idle-states = <&CPU_PW20>;
41 cpu-idle-states = <&CPU_PW20>;
51 cpu-idle-states = <&CPU_PW20>;
61 cpu-idle-states = <&CPU_PW20>;
71 cpu-idle-states = <&CPU_PW20>;
82 cpu-idle-states = <&CPU_PW20>;
91 cpu-idle-states = <&CPU_PW20>;
113 compatible = "arm,idle-state";
114 idle-state-name = "PW20";
/arch/powerpc/include/asm/
Didle.h49 get_lppaca()->idle = 1; in pseries_idle_prolog()
56 get_lppaca()->idle = 0; in pseries_idle_epilog()
68 if (unlikely(get_lppaca()->idle == 1)) { in read_this_idle_purr()
84 if (get_lppaca()->idle == 1) { in read_this_idle_spurr()
/arch/arm/boot/dts/
Domap3-beagle-ab4.dts21 /* Unusable as clockevent because of unreliable oscillator, allow to idle */
24 /delete-property/ti,no-idle;
33 ti,no-idle;
42 ti,no-idle;
Daspeed-bmc-facebook-cmm.dts336 i2c-mux-idle-disconnect;
349 i2c-mux-idle-disconnect;
398 i2c-mux-idle-disconnect;
454 i2c-mux-idle-disconnect;
503 i2c-mux-idle-disconnect;
559 i2c-mux-idle-disconnect;
608 i2c-mux-idle-disconnect;
664 i2c-mux-idle-disconnect;
713 i2c-mux-idle-disconnect;
769 i2c-mux-idle-disconnect;
[all …]
/arch/arm64/boot/dts/arm/
Djuno-r1.dts65 idle-states {
69 compatible = "arm,idle-state";
78 compatible = "arm,idle-state";
100 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
117 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
134 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
151 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
168 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
185 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Djuno.dts64 idle-states {
68 compatible = "arm,idle-state";
77 compatible = "arm,idle-state";
99 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
117 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
135 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
153 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
171 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
189 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Djuno-r2.dts65 idle-states {
69 compatible = "arm,idle-state";
78 compatible = "arm,idle-state";
100 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
118 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
136 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
154 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
172 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
190 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
/arch/arm64/boot/dts/synaptics/
Das370.dtsi31 cpu-idle-states = <&CPU_SLEEP_0>;
40 cpu-idle-states = <&CPU_SLEEP_0>;
49 cpu-idle-states = <&CPU_SLEEP_0>;
58 cpu-idle-states = <&CPU_SLEEP_0>;
65 idle-states {
68 compatible = "arm,idle-state";
/arch/arm/mach-omap2/
Dpm33xx-core.c81 static int amx3_common_init(int (*idle)(u32 wfi_flags)) in amx3_common_init()
101 idle_fn = idle; in amx3_common_init()
106 static int am33xx_suspend_init(int (*idle)(u32 wfi_flags)) in am33xx_suspend_init()
117 ret = amx3_common_init(idle); in am33xx_suspend_init()
122 static int am43xx_suspend_init(int (*idle)(u32 wfi_flags)) in am43xx_suspend_init()
132 ret = amx3_common_init(idle); in am43xx_suspend_init()
/arch/arm/mach-bcm/
Dplatsmp.c158 static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle) in kona_boot_secondary() argument
223 static int bcm23550_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm23550_boot_secondary() argument
249 ret = kona_boot_secondary(cpu, idle); in bcm23550_boot_secondary()
264 static int nsp_boot_secondary(unsigned int cpu, struct task_struct *idle) in nsp_boot_secondary() argument
285 static int bcm2836_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm2836_boot_secondary() argument
/arch/mips/kernel/
Dsmp-cmp.c69 static int cmp_boot_secondary(int cpu, struct task_struct *idle) in cmp_boot_secondary() argument
71 struct thread_info *gp = task_thread_info(idle); in cmp_boot_secondary()
72 unsigned long sp = __KSTK_TOS(idle); in cmp_boot_secondary()
Dsmp-mt.c142 static int vsmp_boot_secondary(int cpu, struct task_struct *idle) in vsmp_boot_secondary() argument
144 struct thread_info *gp = task_thread_info(idle); in vsmp_boot_secondary()
162 write_tc_gpr_sp( __KSTK_TOS(idle)); in vsmp_boot_secondary()
/arch/mips/sibyte/sb1250/
Dsmp.c96 static int sb1250_boot_secondary(int cpu, struct task_struct *idle) in sb1250_boot_secondary() argument
101 __KSTK_TOS(idle), in sb1250_boot_secondary()
102 (unsigned long)task_thread_info(idle), 0); in sb1250_boot_secondary()
/arch/mips/sibyte/bcm1480/
Dsmp.c107 static int bcm1480_boot_secondary(int cpu, struct task_struct *idle) in bcm1480_boot_secondary() argument
112 __KSTK_TOS(idle), in bcm1480_boot_secondary()
113 (unsigned long)task_thread_info(idle), 0); in bcm1480_boot_secondary()
/arch/mips/sgi-ip30/
Dip30-smp.c110 static int __init ip30_smp_boot_secondary(int cpu, struct task_struct *idle) in ip30_smp_boot_secondary() argument
115 mpc->stackaddr = (void *)__KSTK_TOS(idle); in ip30_smp_boot_secondary()
118 mpc->lnch_parm = task_thread_info(idle); in ip30_smp_boot_secondary()
/arch/arm64/boot/dts/sprd/
Dsc9863a.dtsi51 cpu-idle-states = <&CORE_PD>;
59 cpu-idle-states = <&CORE_PD>;
67 cpu-idle-states = <&CORE_PD>;
75 cpu-idle-states = <&CORE_PD>;
83 cpu-idle-states = <&CORE_PD>;
91 cpu-idle-states = <&CORE_PD>;
99 cpu-idle-states = <&CORE_PD>;
107 cpu-idle-states = <&CORE_PD>;
111 idle-states {
114 compatible = "arm,idle-state";
/arch/arm64/boot/dts/qcom/
Dmsm8998-clamshell.dtsi46 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
50 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
54 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
58 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
62 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
66 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
70 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
74 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
/arch/mips/sgi-ip27/
Dip27-smp.c145 static int ip27_boot_secondary(int cpu, struct task_struct *idle) in ip27_boot_secondary() argument
147 unsigned long gp = (unsigned long)task_thread_info(idle); in ip27_boot_secondary()
148 unsigned long sp = __KSTK_TOS(idle); in ip27_boot_secondary()
/arch/openrisc/kernel/
Dsmp.c40 static void boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() argument
98 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
106 secondary_thread_info = task_thread_info(idle); in __cpu_up()
109 boot_secondary(cpu, idle); in __cpu_up()
/arch/arm64/boot/dts/mediatek/
Dmt8192.dtsi42 cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
54 cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
66 cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
78 cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
90 cpu-idle-states = <&cpu_sleep_b &cluster_sleep_b>;
102 cpu-idle-states = <&cpu_sleep_b &cluster_sleep_b>;
114 cpu-idle-states = <&cpu_sleep_b &cluster_sleep_b>;
126 cpu-idle-states = <&cpu_sleep_b &cluster_sleep_b>;
175 idle-states {
178 compatible = "arm,idle-state";
[all …]
/arch/x86/xen/
Dsmp_pv.c261 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() argument
290 ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); in cpu_initialize_context()
309 ctxt->kernel_sp = task_top_of_stack(idle); in cpu_initialize_context()
326 static int xen_pv_cpu_up(unsigned int cpu, struct task_struct *idle) in xen_pv_cpu_up() argument
330 rc = common_cpu_up(cpu, idle); in xen_pv_cpu_up()
347 rc = cpu_initialize_context(cpu, idle); in xen_pv_cpu_up()

12345678910>>...12