hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/platform_data/pm33xx.h
....@@ -46,11 +46,17 @@
4646 };
4747
4848 struct am33xx_pm_platform_data {
49
- int (*init)(void);
49
+ int (*init)(int (*idle)(u32 wfi_flags));
50
+ int (*deinit)(void);
5051 int (*soc_suspend)(unsigned int state, int (*fn)(unsigned long),
5152 unsigned long args);
53
+ int (*cpu_suspend)(int (*fn)(unsigned long), unsigned long args);
54
+ void (*begin_suspend)(void);
55
+ void (*finish_suspend)(void);
5256 struct am33xx_pm_sram_addr *(*get_sram_addrs)(void);
53
- void __iomem *(*get_rtc_base_addr)(void);
57
+ void (*save_context)(void);
58
+ void (*restore_context)(void);
59
+ int (*check_off_mode_enable)(void);
5460 };
5561
5662 struct am33xx_pm_sram_data {