FreeBSD/sys/kern/subr_bus.c
/**
 * @brief Return the device's softc field
 *
 * The softc is allocated and zeroed when a driver is attached, based
 * on the size field of the driver.
 */
@brief Return the device's softc field
The softc is allocated and zeroed when a driver is attached, based
on the size field of the driver.
@brief Return the device ' s softc field The softc is allocated and zeroed when a driver is attached based on the size field of the driver .
void *
device_get_softc(device_t dev)
{
	return (dev->softc);
}
void * device_get_softc ( device_t dev ) { return ( dev -> softc ) ; }
@brief Return the device's softc field
 The softc is allocated and zeroed when a driver is attached, based
 on the size field of the driver.
@brief Return the device ' s softc field The softc is allocated and zeroed when a driver is attached based on the size field of the driver .