FreeBSD/sys/dev/twe/twe_freebsd.c
/********************************************************************************
 * Bring the controller back to a state ready for operation.
 */
Bring the controller back to a state ready for operation.
Bring the controller back to a state ready for operation .
static int
twe_resume(device_t dev)
{
    struct twe_softc	*sc = device_get_softc(dev);
    debug_called(4);
    TWE_IO_LOCK(sc);
    sc->twe_state &= ~TWE_STATE_SUSPEND;
    twe_enable_interrupts(sc);
    TWE_IO_UNLOCK(sc);
    return(0);
}
static int twe_resume ( device_t dev ) { struct twe_softc * sc = device_get_softc ( dev ) ; debug_called ( 4 ) ; TWE_IO_LOCK ( sc ) ; sc -> twe_state &= ~ TWE_STATE_SUSPEND ; twe_enable_interrupts ( sc ) ; TWE_IO_UNLOCK ( sc ) ; return ( 0 ) ; }
Bring the controller back to a state ready for operation.
Bring the controller back to a state ready for operation .