Searched refs:NUMLINES (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/
H A Dser_a2232.h63 #define NUMLINES 7 /* number of lines per board */ macro
101 (0x0200 - NUMLINES * sizeof(struct a2232status) - \
103 #define A2232_MEMPAD2 (0x2000 - NUMLINES * A2232_IOBUFLEN - A2232_IOBUFLEN)
106 struct a2232status Status[NUMLINES]; /* 0x0000-0x006f status areas */
109 u_char OutBuf[NUMLINES][A2232_IOBUFLEN];/* 0x0200-0x08ff output bufs */
110 u_char InBuf[NUMLINES][A2232_IOBUFLEN]; /* 0x0900-0x0fff input bufs */
111 u_char InCtl[NUMLINES][A2232_IOBUFLEN]; /* 0x1000-0x16ff control data */
H A Dser_a2232.c163 static struct a2232_port a2232_ports[MAX_A2232_BOARDS*NUMLINES];
510 for (p = 0; p < NUMLINES; p++){ /* for every port on this board */
512 port = &a2232_ports[n*NUMLINES+p];
598 for(p=0; p < NUMLINES; p++){ /* for all ports */
634 for (i = 0; i < MAX_A2232_BOARDS*NUMLINES; i++) {
636 port->which_a2232 = i/NUMLINES;
637 port->which_port_on_a2232 = i%NUMLINES;
673 a2232_driver = alloc_tty_driver(NUMLINES * nr_a2232);

Completed in 40 milliseconds