Lines Matching refs:sync_state
188 void (*sync_state) (struct device *dev);
190 sync_state is called only once for a device. It's called when all the consumer
195 The first attempt to call sync_state() is made during late_initcall_sync() to
197 attempt at calling sync_state(), if all the consumers of the device at that
198 point in time have already probed successfully, sync_state() is called right
200 too is considered as "all consumers of the device have probed" and sync_state()
203 If during the first attempt at calling sync_state() for a device, there are
204 still consumers that haven't probed successfully, the sync_state() call is
208 sync_state() call is postponed again.
210 A typical use case for sync_state() is to have the kernel cleanly take over
217 name sync_state().
219 While obvious examples of resources that can benefit from sync_state() include
220 resources such as regulator, sync_state() can also be useful for complex
226 While the typical use case for sync_state() is to have the kernel cleanly take
227 over management of devices from the bootloader, the usage of sync_state() is