Searched refs:serial_priv (Results 1 – 1 of 1) sorted by relevance
1628 struct digi_serial *serial_priv = (struct digi_serial *)serial->private; in digi_startup_device() local1633 spin_lock( &serial_priv->ds_serial_lock ); in digi_startup_device()1634 if( serial_priv->ds_device_started ) { in digi_startup_device()1635 spin_unlock( &serial_priv->ds_serial_lock ); in digi_startup_device()1638 serial_priv->ds_device_started = 1; in digi_startup_device()1639 spin_unlock( &serial_priv->ds_serial_lock ); in digi_startup_device()1667 struct digi_serial *serial_priv; in digi_startup() local1712 serial_priv = serial->private = in digi_startup()1715 if( serial_priv == (struct digi_serial *)0 ) { in digi_startup()1722 spin_lock_init( &serial_priv->ds_serial_lock ); in digi_startup()[all …]