Home
last modified time | relevance | path

Searched full:wfi (Results 1 – 25 of 123) sorted by relevance

12345

/linux/drivers/soc/tegra/
H A Dflowctrl.c82 /* clear wfi bitmap */ in flowctrl_cpu_suspend_enter()
92 /* clear wfi bitmap */ in flowctrl_cpu_suspend_enter()
97 * The wfi doesn't work well on Tegra30 because in flowctrl_cpu_suspend_enter()
102 * wfi should be used for the "Cluster Switching", in flowctrl_cpu_suspend_enter()
108 /* pwr gating on wfi */ in flowctrl_cpu_suspend_enter()
138 /* clear wfi bitmap */ in flowctrl_cpu_suspend_exit()
146 /* clear wfi bitmap */ in flowctrl_cpu_suspend_exit()
/linux/arch/arm/include/asm/
H A Dcpuidle.h17 /* Common ARM WFI state */
23 .name = "WFI",\
24 .desc = "ARM WFI",\
28 * in case power_specified == 1, give a default WFI power value needed
H A Dbarrier.h13 #define wfi() __asm__ __volatile__ ("wfi" : : : "memory") macro
/linux/drivers/cpuidle/
H A Dcpuidle-ux500.c34 goto wfi; in ux500_enter_idle()
47 * cpu is in WFI, we have the guarantee it won't be wake in ux500_enter_idle()
67 * cpu to go WFI and this is what happens after exiting this in ux500_enter_idle()
78 wfi: in ux500_enter_idle()
H A Dcpuidle-psci.c260 state_count++; /* Add WFI state too */ in psci_dt_cpu_init_idle()
358 * PSCI idle states relies on architectural WFI to be represented as in psci_idle_init_cpu()
365 strcpy(drv->states[0].name, "WFI"); in psci_idle_init_cpu()
366 strcpy(drv->states[0].desc, "ARM WFI"); in psci_idle_init_cpu()
371 * initialize the idle driver if only wfi is supported, the in psci_idle_init_cpu()
372 * default archictectural back-end already executes wfi in psci_idle_init_cpu()
H A Dcpuidle-riscv-sbi.c302 /* RISC-V architectural WFI to be represented as state index 0. */ in sbi_cpuidle_init_cpu()
307 strcpy(drv->states[0].name, "WFI"); in sbi_cpuidle_init_cpu()
308 strcpy(drv->states[0].desc, "RISC-V WFI"); in sbi_cpuidle_init_cpu()
313 * initialize the idle driver if only wfi is supported, the in sbi_cpuidle_init_cpu()
314 * default archictectural back-end already executes wfi in sbi_cpuidle_init_cpu()
323 state_count = ret + 1; /* Include WFI state as well */ in sbi_cpuidle_init_cpu()
H A Dcpuidle-big_little.c203 /* Start at index 1, index 0 standard WFI */ in bl_idle_init()
208 /* Start at index 1, index 0 standard WFI */ in bl_idle_init()
/linux/arch/arm/mach-omap2/
H A Dsleep34xx.S116 * and executes the WFI instruction. Calling WFI effectively changes the
142 * For OFF mode: save context and jump to WFI in SDRAM (omap3_do_wfi)
143 * For non-OFF modes: jump to the WFI code in SRAM (omap3_do_wfi_sram)
148 bxeq r5 @ jump to the WFI code in SRAM
191 * == WFI instruction => Enter idle ==
196 * Do WFI instruction
217 * == WFI instruction => Enter idle ==
220 wfi @ wait for interrupt
339 * when back from WFI in OFF mode.
H A Dsleep33xx.S111 * For the MPU WFI to be registered as an interrupt
136 * Execute a WFI instruction and wait until the
139 * prefetch the instructions so add NOPs after WFI. Thirteen
142 wfi
H A Dsleep44xx.S42 * power down sequence. Calling WFI effectively changes the CPU
51 * Post WFI, CPU transitions to DORMANT or OFF power state and on wake-up
64 beq do_WFI @ No lowpower state, jump to WFI
353 * Execute a WFI instruction and wait until the
356 * prefetch the instructions so add NOPs after WFI. Sixteen
359 wfi @ Wait For Interrupt
H A Domap4-common.c87 * OMAP4 Errata i688 - asynchronous bridge corruption when entering WFI.
99 * Request Disconnection (which is trigged by software when executing WFI
104 * before issuing WFI. This condition will be met if one Strongly ordered
105 * access is performed to the target right before executing the WFI.
113 * as well, and is necessary prior to executing a WFI.
H A Dsleep43xx.S240 * For the MPU WFI to be registered as an interrupt
266 * Execute a WFI instruction and wait until the
269 * prefetch the instructions so add NOPs after WFI. Sixteen
272 wfi
/linux/arch/arm/mach-versatile/
H A Dhotplug.c61 * we can do is put the core into WFI; this is safe as the calling in versatile_immitation_do_lowpower()
67 wfi(); in versatile_immitation_do_lowpower()
77 * Getting here, means that we have come out of WFI without in versatile_immitation_do_lowpower()
/linux/arch/arm/mach-socfpga/
H A Dplatsmp.c94 /* Do WFI. If we wake up early, go back into WFI */ in socfpga_cpu_die()
102 * anything, because CPUs going offline just do WFI. We could reset
/linux/arch/arm/mach-milbeaut/
H A Dplatsmp.c73 wfi(); in m10v_cpu_die()
110 asm("wfi"); in m10v_die()
122 asm("wfi"); in m10v_pm_enter()
/linux/include/linux/platform_data/
H A Dpm33xx.h16 * WFI Flags for sleep code control
29 * execute when WFI instruction executes.
/linux/arch/arm/mach-spear/
H A Dhotplug.c57 wfi(); in spear13xx_do_lowpower()
67 * Getting here, means that we have come out of WFI without in spear13xx_do_lowpower()
/linux/arch/arm/mach-mvebu/
H A Dpmsu.c233 * Adjust the PMSU configuration to wait for WFI signal, enable in mvebu_v7_pmsu_idle_prepare()
283 wfi(); in armada_370_xp_pmsu_idle_enter()
285 /* If we are here, wfi failed. As processors run out of in armada_370_xp_pmsu_idle_enter()
556 wfi(); in mvebu_pmsu_dfs_request_local()
/linux/arch/arm/mach-exynos/
H A Dplatsmp.c56 /* Turn the CPU off on next WFI instruction. */ in platform_do_lowpower()
59 wfi(); in platform_do_lowpower()
69 * Getting here, means that we have come out of WFI without in platform_do_lowpower()
/linux/arch/arm/mach-s5pv210/
H A Dpm.c98 "wfi" : : "r" (tmp)); in s5pv210_cpu_suspend()
121 /* WFI for SLEEP mode configuration by SYSCON */ in s5pv210_pm_prepare()
/linux/arch/arm/mach-ux500/
H A Dpm.c19 /* ARM WFI Standby signal register */
125 * This function checks if the specified cpu is in WFI. It's usage
/linux/arch/riscv/include/asm/
H A Dcpuidle.h18 * to entering WFI. in cpu_do_idle()
/linux/arch/arm/mm/
H A Dproc-v7.S79 dsb @ WFI may enter a low-power mode
80 wfi
226 dsb @ WFI may enter a low-power mode
227 wfi
457 #define PJ4B_WFI_WFE (1 << 22) /* WFI/WFE - serve the DVM and back to idle */
/linux/arch/arm/mach-hisi/
H A Dhotplug.c103 /* WFI Mask */ in set_cpu_hi3620()
113 /* wfi mask */ in set_cpu_hi3620()
/linux/arch/arm64/kernel/
H A Didle.c30 wfi(); in cpu_do_idle()

12345