kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * Find the raw3215_info structure associated with irq
 */
Find the raw3215_info structure associated with irq
Find the raw3215_info structure associated with irq
static inline raw3215_info *raw3215_find_info(int irq) {
	raw3215_info *raw;
	int i;
	for (i = 0; i < NR_3215; i++) {
		raw = raw3215[i];
		if (raw != NULL && raw->irq == irq &&
		    (raw->flags & RAW3215_ACTIVE))
			break;
	}
	return (i >= NR_3215) ? NULL : raw;
}
static inline raw3215_info * raw3215_find_info ( int irq ) { raw3215_info * raw ; int i ; for ( i = 0 ; i < NR_3215 ; i ++ ) { raw = raw3215 [ i ] ; if ( raw != NULL && raw -> irq == irq && ( raw -> flags & RAW3215_ACTIVE ) ) break ; } return ( i >= NR_3215 ) ? NULL : raw ; }
Find the raw3215_info structure associated with irq
Find the raw3215_info structure associated with irq