kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * Function to start a delayed output after RAW3215_TIMEOUT seconds
 */
Function to start a delayed output after RAW3215_TIMEOUT seconds
Function to start a delayed output after RAW3215_TIMEOUT seconds
static void raw3215_timeout(unsigned long __data)
{
	raw3215_info *raw = (raw3215_info *) __data;
	unsigned long flags;
	s390irq_spin_lock_irqsave(raw->irq, flags);
	if (raw->flags & RAW3215_TIMER_RUNS) {
		del_timer(&raw->timer);
		raw->flags &= ~RAW3215_TIMER_RUNS;
		raw3215_start_io(raw);
	}
	s390irq_spin_unlock_irqrestore(raw->irq, flags);
}
static void raw3215_timeout ( unsigned long __data ) { raw3215_info * raw = ( raw3215_info * ) __data ; unsigned long flags ; s390irq_spin_lock_irqsave ( raw -> irq , flags ) ; if ( raw -> flags & RAW3215_TIMER_RUNS ) { del_timer ( & raw -> timer ) ; raw -> flags &= ~ RAW3215_TIMER_RUNS ; raw3215_start_io ( raw ) ; } s390irq_spin_unlock_irqrestore ( raw -> irq , flags ) ; }
Function to start a delayed output after RAW3215_TIMEOUT seconds
Function to start a delayed output after RAW3215_TIMEOUT seconds