/openbmc/linux/arch/arm/include/asm/ |
H A D | cpuidle.h | 17 /* 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 D | barrier.h | 13 #define wfi() __asm__ __volatile__ ("wfi" : : : "memory") macro
|
/openbmc/linux/drivers/soc/tegra/ |
H A D | flowctrl.c | 82 /* 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()
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
H A D | psci.c | 18 asm volatile("wfi"); in park_cpu() 35 * - wait for the CPUs to hit wfi and be powered down again in psci_board_init() 38 * up first and park them in wfi. While they are waiting there, we can in psci_board_init() 39 * indeed program the Flow Controller to powergate them on wfi, which in psci_board_init()
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-arm.c | 49 * State at index 0 is standby wfi and considered standard 50 * on all ARM platforms. If in some platforms simple wfi 60 .name = "WFI", 61 .desc = "ARM WFI", 94 * wfi is supported. in arm_idle_init_cpu()
|
H A D | cpuidle-ux500.c | 34 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 D | cpuidle-psci.c | 253 state_count++; /* Add WFI state too */ in psci_dt_cpu_init_idle() 350 * PSCI idle states relies on architectural WFI to be represented as in psci_idle_init_cpu() 357 strcpy(drv->states[0].name, "WFI"); in psci_idle_init_cpu() 358 strcpy(drv->states[0].desc, "ARM WFI"); in psci_idle_init_cpu() 363 * initialize the idle driver if only wfi is supported, the in psci_idle_init_cpu() 364 * default archictectural back-end already executes wfi in psci_idle_init_cpu()
|
H A D | cpuidle-qcom-spm.c | 50 * ARM common code executes WFI without calling into our driver and in qcom_cpu_spc() 77 .name = "WFI", 78 .desc = "ARM WFI",
|
H A D | cpuidle-riscv-sbi.c | 332 /* RISC-V architectural WFI to be represented as state index 0. */ in sbi_cpuidle_init_cpu() 337 strcpy(drv->states[0].name, "WFI"); in sbi_cpuidle_init_cpu() 338 strcpy(drv->states[0].desc, "RISC-V WFI"); in sbi_cpuidle_init_cpu() 343 * initialize the idle driver if only wfi is supported, the in sbi_cpuidle_init_cpu() 344 * default archictectural back-end already executes wfi in sbi_cpuidle_init_cpu() 353 state_count = ret + 1; /* Include WFI state as well */ in sbi_cpuidle_init_cpu()
|
/openbmc/u-boot/arch/arm/mach-stm32mp/ |
H A D | psci.c | 153 /* reset core: wfi is managed by BootRom */ in psci_cpu_off() 161 wfi(); in psci_cpu_off() 170 wfi(); in psci_system_reset() 179 wfi(); in psci_system_off()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | sleep34xx.S | 116 * 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 D | sleep33xx.S | 111 * 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 D | sleep44xx.S | 42 * 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 D | omap4-common.c | 87 * 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 D | sleep43xx.S | 240 * 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
|
/openbmc/linux/arch/arm/mach-versatile/ |
H A D | hotplug.c | 61 * 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()
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | lowlevel_init.c | 113 /* Core should not enter into WFI here */ in low_power_start() 114 wfi(); in low_power_start() 142 /* Core enter WFI */ in power_down_core() 143 wfi(); in power_down_core()
|
/openbmc/linux/arch/arm/mach-socfpga/ |
H A D | platsmp.c | 94 /* 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
|
/openbmc/linux/arch/arm/mach-milbeaut/ |
H A D | platsmp.c | 73 wfi(); in m10v_cpu_die() 110 asm("wfi"); in m10v_die() 122 asm("wfi"); in m10v_pm_enter()
|
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/ |
H A D | boot0.h | 27 .word 0xe320f003 // wfi 28 .word 0xeafffffd // b @wfi
|
/openbmc/u-boot/arch/arm/mach-imx/mx7/ |
H A D | psci-mx7.c | 233 wfi(); in psci_cpu_off() 246 wfi(); in psci_system_reset() 261 wfi(); in psci_system_off() 339 * the SoC enters low power mode before the ARM core executes WFI. in imx_gpcv2_set_lpm_mode() 632 * to mask wakeup INT, and then execute “wfi” is used to in psci_system_suspend() 634 * The counter must be enabled as close to the “wfi” state in psci_system_suspend() 687 wfi(); in psci_system_suspend()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | pm33xx.h | 16 * WFI Flags for sleep code control 29 * execute when WFI instruction executes.
|
/openbmc/linux/arch/arm/mach-spear/ |
H A D | hotplug.c | 57 wfi(); in spear13xx_do_lowpower() 67 * Getting here, means that we have come out of WFI without in spear13xx_do_lowpower()
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | ls102xa_psci.c | 141 /* Enter WFI mode, and EPU FSM will start */ in ls1_start_fsm() 142 __asm__ __volatile__ ("wfi" : : : "memory"); in ls1_start_fsm() 228 __asm__ __volatile__ ("wfi" : : : "memory"); in ls1_sleep()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | system.h | 97 #define SCTLR_EL1_NTWI_DIS (0 << 16) /* WFI instruction disabled */ 128 #define wfi() \ macro 130 "wfi" : : : "memory"); \ 343 #define wfi() __asm__ __volatile__ ("wfi" : : : "memory") macro 345 #define wfi() macro
|