/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()
|
/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
|
/linux/drivers/cpuidle/ |
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 | 260 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 D | cpuidle-riscv-sbi.c | 302 /* 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 D | cpuidle-big_little.c | 203 /* 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 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
|
/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()
|
/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
|
/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()
|
/linux/include/linux/platform_data/ |
H A D | pm33xx.h | 16 * WFI Flags for sleep code control 29 * execute when WFI instruction executes.
|
/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()
|
/linux/arch/arm/mach-mvebu/ |
H A D | pmsu.c | 233 * 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 D | platsmp.c | 56 /* 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 D | pm.c | 98 "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 D | pm.c | 19 /* 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 D | cpuidle.h | 18 * to entering WFI. in cpu_do_idle()
|
/linux/arch/arm/mm/ |
H A D | proc-v7.S | 79 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 D | hotplug.c | 103 /* WFI Mask */ in set_cpu_hi3620() 113 /* wfi mask */ in set_cpu_hi3620()
|
/linux/arch/arm64/kernel/ |
H A D | idle.c | 30 wfi(); in cpu_do_idle()
|