FreeBSD/sys/kern/subr_bus.c
/**
 * @brief Helper function for implementing DEVICE_RESUME()
 *
 * This function can be used to help implement the DEVICE_RESUME() for
 * a bus. It calls DEVICE_RESUME() on each of the device's children.
 */
@brief Helper function for implementing DEVICE_RESUME()
This function can be used to help implement the DEVICE_RESUME() for
a bus. It calls DEVICE_RESUME() on each of the device's children.
@brief Helper function for implementing DEVICE_RESUME () This function can be used to help implement the DEVICE_RESUME () for a bus . It calls DEVICE_RESUME () on each of the device ' s children .
int
bus_generic_resume(device_t dev)
{
	device_t	child;
	TAILQ_FOREACH(child, &dev->children, link) {
		BUS_RESUME_CHILD(dev, child);
	}
	return (0);
}
int bus_generic_resume ( device_t dev ) { device_t child ; TAILQ_FOREACH ( child , & dev -> children , link ) { BUS_RESUME_CHILD ( dev , child ) ; } return ( 0 ) ; }
@brief Helper function for implementing DEVICE_RESUME()
 This function can be used to help implement the DEVICE_RESUME() for
 a bus.
@brief Helper function for implementing DEVICE_RESUME () This function can be used to help implement the DEVICE_RESUME () for a bus .
/* if resume fails, there's nothing we can usefully do... */