Home
last modified time | relevance | path

Searched refs:wfi_flags (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/arm/mach-omap2/
H A Dpm33xx-core.c39 static int (*idle_fn)(u32 wfi_flags);
42 int wfi_flags; member
80 static int amx3_common_init(int (*idle)(u32 wfi_flags)) in amx3_common_init() argument
105 static int am33xx_suspend_init(int (*idle)(u32 wfi_flags)) in am33xx_suspend_init() argument
117 static int am43xx_suspend_init(int (*idle)(u32 wfi_flags)) in am43xx_suspend_init() argument
400 states[state_count].wfi_flags = 0; in amx3_idle_init()
403 states[state_count].wfi_flags |= WFI_FLAG_WAKE_M3 | in amx3_idle_init()
414 idle_states[i].wfi_flags = states[i].wfi_flags; in amx3_idle_init()
427 idle_fn(idle_state->wfi_flags); in amx3_idle_enter()
H A Dpm-asm-offsets.c17 offsetof(struct am33xx_pm_sram_data, wfi_flags)); in main()
/openbmc/linux/include/linux/platform_data/
H A Dpm33xx.h49 int (*init)(int (*idle)(u32 wfi_flags));
63 u32 wfi_flags; member
/openbmc/linux/drivers/soc/ti/
H A Dpm33xx.c137 static int am33xx_do_sram_idle(u32 wfi_flags) in am33xx_do_sram_idle() argument
142 if (wfi_flags & WFI_FLAG_WAKE_M3) in am33xx_do_sram_idle()
145 return pm_ops->cpu_suspend(am33xx_do_wfi_sram, wfi_flags); in am33xx_do_sram_idle()
175 static int am33xx_rtc_only_idle(unsigned long wfi_flags) in am33xx_rtc_only_idle() argument
178 am33xx_do_wfi_sram(wfi_flags); in am33xx_rtc_only_idle()