Lines Matching +full:suspend +full:- +full:to +full:- +full:ram
4 * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
95 * to locate the statefile.
129 /* booter to verify */
131 char cf_path[MAXNAMELEN]; /* fs-relative path */
135 char cf_devfs[MAXNAMELEN]; /* path to device node */
142 int is_cpr_capable; /* 0 - False, 1 - True */
143 int is_cpr_default; /* 0 - False, 1 - True */
144 int is_autowakeup_capable; /* 0 - False, 1 - True */
162 int is_autopm_default; /* 0 - False, 1 - True */
193 * CPR_DEBUG1 displays the main flow of CPR. Use it to identify which
194 * sub-module of CPR causes problems.
214 #define CPR_DEBUG_BIT(dval) (1 << (dval - AD_CPR_DEBUG0 - 1))
242 * the size of these structures written to a cpr statefile
283 * Maximum supported bitmap descriptors; 1-2 + null-terminator is common
289 * To save space data will be compressed before saved.
351 cpr_time_t tm_cprboot_start; /* time when cprboot starts to run */
352 cpr_time_t tm_cprboot_end; /* time before jumping to kernel */
364 (char *)desc->cbd_reg_bitmap : (char *)desc->cbd_vlt_bitmap
369 (ppn <= desc->cbd_epfn && ppn >= desc->cbd_spfn)
388 * converts byte size to bitmap size; 1 bit represents one phys page
397 #define AD_CPR_FORCE AD_FORCE /* force to do AD_CPR_COMPRESS */
401 #define AD_CPR_REUSEFINI AD_REUSEFINI /* revert to non-reusable CPR */
403 #define AD_CPR_TESTNOZ 7 /* test mode, auto-restart uncompress */
404 #define AD_CPR_TESTZ 8 /* test mode, auto-restart compress */
407 #define AD_CPR_SUSP_DEVICES 11 /* Only suspend resume devices */
419 * Suspend to RAM test points.
428 /* S3 ignored devices that fail to suspend */
437 * Temporary definition of the Suspend to RAM development subcommands
438 * so that non-ON apps will work after initial integration.
476 int cs_upage2statef; /* actual # of upages gone to statef */
507 int c_substate; /* tracking suspend progress */
530 * definitions for c_substate. It works together w/ c_flags to determine which
549 #define cpr_set_substate(a) (CPR->c_substate = (a))
551 #define C_VP (CPR->c_vp)
590 * Values used to differentiate between suspend to disk and suspend to ram