Home
last modified time | relevance | path

Searched refs:platform_mode (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/kernel/power/
Dhibernate.c141 static int platform_begin(int platform_mode) in platform_begin() argument
143 return (platform_mode && hibernation_ops) ? in platform_begin()
151 static void platform_end(int platform_mode) in platform_end() argument
153 if (platform_mode && hibernation_ops) in platform_end()
165 static int platform_pre_snapshot(int platform_mode) in platform_pre_snapshot() argument
167 return (platform_mode && hibernation_ops) ? in platform_pre_snapshot()
180 static void platform_leave(int platform_mode) in platform_leave() argument
182 if (platform_mode && hibernation_ops) in platform_leave()
195 static void platform_finish(int platform_mode) in platform_finish() argument
197 if (platform_mode && hibernation_ops) in platform_finish()
[all …]
Dpower.h61 extern int hibernation_snapshot(int platform_mode);
62 extern int hibernation_restore(int platform_mode);
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch843 @@ -326,7 +326,7 @@ static int create_image(int platform_mode)
851 platform_leave(platform_mode);