Lines Matching full:callback
68 callback, the PM core will invoke the corresponding driver callback stored in
71 The PM core always checks which callback to use in the order given above, so the
81 interrupts disabled. This implies that the callback routines in question must
86 The subsystem-level suspend callback, if present, is _entirely_ _responsible_
88 include executing the device driver's own ->runtime_suspend() callback (from the
90 callback in a device driver as long as the subsystem-level suspend callback
93 * Once the subsystem-level suspend callback (or the driver suspend callback,
98 RAM until the appropriate resume callback is executed for it. The runtime
99 PM status of a device after successful execution of the suspend callback is
102 * If the suspend callback returns -EBUSY or -EAGAIN, the device's runtime PM
106 * If the suspend callback returns an error code different from -EBUSY and
117 low-power state during the execution of the suspend callback, it is expected
121 The subsystem-level resume callback, if present, is **entirely responsible** for
123 include executing the device driver's own ->runtime_resume() callback (from the
125 callback in a device driver as long as the subsystem-level resume callback knows
128 * Once the subsystem-level resume callback (or the driver resume callback, if
134 * If the resume callback returns an error code, the PM core regards this as a
140 The idle callback (a subsystem-level one, if present, or the driver one) is
148 idle callback with the device as its argument.
150 The action performed by the idle callback is totally dependent on the subsystem
154 device in that case. If there is no idle callback, or if the callback returns
159 this circumstance). To prevent this (for example, if the callback routine has
247 callback
316 - execute the subsystem-level idle callback for the device; returns an
318 already being executed; if there is no callback or the callback returns 0
322 - execute the subsystem-level suspend callback for the device; returns 0 on
335 - execute the subsystem-level resume callback for the device; returns 0 on
343 - submit a request to execute the subsystem-level idle callback for the
348 - schedule the execution of the subsystem-level suspend callback for the
353 - schedule the execution of the subsystem-level suspend callback for the
363 - submit a request to execute the subsystem-level resume callback for the
425 necessary to execute the subsystem-level resume callback for the device
433 necessary to execute the subsystem-level resume callback for the device to
576 ->probe() callback will likely need to wake it up using one of the PM core's
589 request to execute the subsystem-level idle callback for the device at that
594 notifier callback in __device_release_driver(), which is necessary, because the
609 Drivers in ->remove() callback should undo the runtime PM changes done
636 the subsystem-level system suspend callback is responsible for changing the
671 ->suspend() callback and decrements it after calling the ->resume() callback.
674 following the return of the ->resume() callback, the ->runtime_idle() callback
691 callback returns a positive number for a device, that indicates to the PM core
696 complete callback, which is then entirely responsible for handling the device
706 right before executing the subsystem-level .prepare() callback for it and
708 subsystem-level .suspend() callback for it. In addition to that the PM core
710 device right before executing the subsystem-level .suspend_late() callback
715 callback and right after executing the subsystem-level .complete() callback
725 - invoke the ->runtime_suspend() callback provided by the driver of this
729 - invoke the ->runtime_resume() callback provided by the driver of this
734 callback provided by its driver and return its result, or return 0 if not
739 callback provided by the device's driver and return its result, or return
743 - invoke the ->resume() callback provided by the driver of this device and,
747 - invoke the ->resume_noirq() callback provided by the driver of this device
751 callback provided by its driver and return its result, or return 0 if not
756 callback provided by the device's driver and return its result, or return
761 callback provided by its driver and return its result, or return 0 if not
766 callback provided by the device's driver and return its result, or return
771 callback provided by its driver and return its result, or return 0 if not
776 callback provided by the device's driver and return its result, or return
780 - invoke the ->restore() callback provided by the driver of this device and,
784 - invoke the ->restore_noirq() callback provided by the device's driver
794 poweroff and runtime suspend callback, and similarly for system resume, thaw,
799 8. "No-Callback" Devices
867 autosuspend delay time has expired. If the ->runtime_suspend() callback
869 in the future (as it normally would be if the callback invoked
871 autosuspend. The ->runtime_suspend() callback can't do this rescheduling
873 suspending (i.e., while the callback is running).
936 the foo_runtime_suspend() callback may race with foo_read_or_write().
944 callback while holding its private lock. If the function returns a nonzero
945 value then the delay has not yet expired and the callback should return