Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra124/
H A Dpsci.c19 asm volatile("wfi"); in park_cpu()
36 * - wait for the CPUs to hit wfi and be powered down again in psci_board_init()
39 * up first and park them in wfi. While they are waiting there, we can in psci_board_init()
40 * indeed program the Flow Controller to powergate them on wfi, which in psci_board_init()
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle-arm.c49 * 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 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.c221 state_count++; /* Add WFI state too */ in psci_dt_cpu_init_idle()
318 * PSCI idle states relies on architectural WFI to be represented as in psci_idle_init_cpu()
325 strcpy(drv->states[0].name, "WFI"); in psci_idle_init_cpu()
326 strcpy(drv->states[0].desc, "ARM WFI"); in psci_idle_init_cpu()
331 * initialize the idle driver if only wfi is supported, the in psci_idle_init_cpu()
332 * default archictectural back-end already executes wfi in psci_idle_init_cpu()
H A Dcpuidle-qcom-spm.c179 * ARM common code executes WFI without calling into our driver and in qcom_cpu_spc()
206 .name = "WFI",
207 .desc = "ARM WFI",
/OK3568_Linux_fs/kernel/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.c88 * OMAP4 Errata i688 - asynchronous bridge corruption when entering WFI.
100 * Request Disconnection (which is trigged by software when executing WFI
105 * before issuing WFI. This condition will be met if one Strongly ordered
106 * access is performed to the target right before executing the WFI.
114 * 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
/OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/
H A Dlowlevel_init.c113 /* 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()
/OK3568_Linux_fs/kernel/arch/arm/plat-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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm/mach-prima2/
H A Dhotplug.c17 /* we put the platform to just WFI */ in platform_do_lowpower()
19 __asm__ __volatile__("dsb\n\t" "wfi\n\t" in platform_do_lowpower()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dboot0.h28 .word 0xe320f003 // wfi
29 .word 0xeafffffd // b @wfi
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dls102xa_psci.c141 /* Enter WFI mode, and EPU FSM will start */ in ls1_start_fsm()
142 __asm__ __volatile__ ("wfi" : : : "memory"); in ls1_start_fsm()
225 __asm__ __volatile__ ("wfi" : : : "memory"); in ls1_sleep()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dpm33xx.h16 * WFI Flags for sleep code control
29 * execute when WFI instruction executes.
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dsystem.h100 #define SCTLR_EL1_NTWI_DIS (0 << 16) /* WFI instruction disabled */
131 #define wfi() \ macro
133 "wfi" : : : "memory"); \
361 #define wfi() __asm__ __volatile__ ("wfi" : : : "memory") macro
363 #define wfi() macro
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/msm/
H A Dqcom,idle-state.txt14 When the WFI instruction is executed the ARM core would gate its internal
21 execution. This state is defined as a generic ARM WFI state by the ARM cpuidle
/OK3568_Linux_fs/kernel/arch/arm/mach-mvebu/
H A Dpmsu.c236 * Adjust the PMSU configuration to wait for WFI signal, enable in mvebu_v7_pmsu_idle_prepare()
286 wfi(); in armada_370_xp_pmsu_idle_enter()
288 /* If we are here, wfi failed. As processors run out of in armada_370_xp_pmsu_idle_enter()
558 wfi(); in mvebu_pmsu_dfs_request_local()

1234567