12 #include <linux/module.h>
21 #include <asm/proc-fns.h>
31 bool recouple =
false;
39 if (!spin_trylock(&master_lock))
43 if (prcmu_gic_decouple())
53 if (!prcmu_is_cpu_in_wfi(this_cpu ? 0 : 1))
58 if (prcmu_copy_gic_settings())
63 if (prcmu_gic_pending_irq())
67 if (prcmu_pending_irq())
80 spin_unlock(&master_lock);
89 spin_unlock(&master_lock);
100 .en_core_tk_irqen = 1,
104 .enter = ux500_enter_idle,
106 .target_residency = 260,
109 .desc =
"ARM Retention",
112 .safe_state_index = 0,
120 static void ux500_setup_broadcast_timer(
void *
arg)
149 device = &
per_cpu(ux500_cpuidle_device, cpu);
154 "device for cpu%d\n", cpu);
163 device = &
per_cpu(ux500_cpuidle_device, cpu);