Lines Matching refs:prepare
92 int (*prepare)(struct device *dev);
245 More power-aware drivers might prepare the devices for triggering system wakeup
316 prepare, suspend, suspend_late, suspend_noirq.
318 1. The prepare phase is meant to prevent races by preventing new devices
322 time.) Unlike the other suspend-related phases, during the prepare
325 After the prepare callback method returns, no new children may be
326 registered below the device. The method may also prepare the device or
331 prepare callback can be used to indicate to the PM core that it may
334 runtime suspend. Namely, if the prepare callback returns a positive
340 the complete callback will be called directly after the prepare callback
347 PM, then its prepare callback must never return a positive value. This
412 2. The resume_early methods should prepare devices for the execution of
420 4. The complete phase should undo the actions of the prepare phase. Note,
425 Moreover, if the preceding prepare callback returned a positive number,
436 directly after the preceding prepare and special action may be required
481 prepare, freeze, freeze_late, freeze_noirq, thaw_noirq, thaw_early,
482 thaw, complete, prepare, poweroff, poweroff_late, poweroff_noirq
484 1. The prepare phase is discussed in the "Entering System Suspend" section
525 9. The prepare phase is discussed above.
565 creating a system image, and it is accomplished in the same way, using prepare,