• Home
  • Raw
  • Download

Lines Matching refs:platform_mode

141 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()
211 static int platform_pre_restore(int platform_mode) in platform_pre_restore() argument
213 return (platform_mode && hibernation_ops) ? in platform_pre_restore()
228 static void platform_restore_cleanup(int platform_mode) in platform_restore_cleanup() argument
230 if (platform_mode && hibernation_ops) in platform_restore_cleanup()
238 static void platform_recover(int platform_mode) in platform_recover() argument
240 if (platform_mode && hibernation_ops && hibernation_ops->recover) in platform_recover()
286 static int create_image(int platform_mode) in create_image() argument
296 error = platform_pre_snapshot(platform_mode); in create_image()
332 platform_leave(platform_mode); in create_image()
349 platform_finish(platform_mode); in create_image()
363 int hibernation_snapshot(int platform_mode) in hibernation_snapshot() argument
369 error = platform_begin(platform_mode); in hibernation_snapshot()
404 platform_recover(platform_mode); in hibernation_snapshot()
406 error = create_image(platform_mode); in hibernation_snapshot()
428 platform_end(platform_mode); in hibernation_snapshot()
452 static int resume_target_kernel(bool platform_mode) in resume_target_kernel() argument
462 error = platform_pre_restore(platform_mode); in resume_target_kernel()
512 platform_restore_cleanup(platform_mode); in resume_target_kernel()
527 int hibernation_restore(int platform_mode) in hibernation_restore() argument
536 error = resume_target_kernel(platform_mode); in hibernation_restore()