Searched refs:SERIAL_XMIT_SIZE (Results 1 - 24 of 24) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/serial/
H A D68328serial.h173 #define SERIAL_XMIT_SIZE 4096 macro
H A D68328serial.c344 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
621 info->xmit_tail = (info->xmit_tail+1) & (SERIAL_XMIT_SIZE-1);
703 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
733 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
734 SERIAL_XMIT_SIZE - info->xmit_head));
743 info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
766 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
786 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
H A Dcrisv10.c1843 info->xmit.tail,SERIAL_XMIT_SIZE)));
1867 info->xmit.tail,SERIAL_XMIT_SIZE)));
1945 SERIAL_XMIT_SIZE));
1984 info->xmit.tail = (info->xmit.tail + sentl) & (SERIAL_XMIT_SIZE - 1);
1990 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
1995 c = CIRC_CNT_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
3007 info->xmit.tail = (info->xmit.tail + 1) & (SERIAL_XMIT_SIZE-1);
3033 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
3617 SERIAL_XMIT_SIZE);
3632 SERIAL_XMIT_SIZE);
[all...]
H A Dmcfserial.c386 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
758 c = min(count, (int) min(((int)SERIAL_XMIT_SIZE) - info->xmit_cnt - 1,
759 ((int)SERIAL_XMIT_SIZE) - info->xmit_head));
768 info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
793 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/
H A Dgeneric_serial.c80 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
87 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
134 t = SERIAL_XMIT_SIZE - port->xmit_head;
140 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
149 port -> xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE -1);
217 t = SERIAL_XMIT_SIZE - port->xmit_head;
223 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
233 (SERIAL_XMIT_SIZE-1));
262 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
790 if (tmp >= SERIAL_XMIT_SIZE) tm
[all...]
H A Dsb1250_duart.c106 unsigned char outp_buf[SERIAL_XMIT_SIZE];
199 us->outp_head = (us->outp_head + 1) & (SERIAL_XMIT_SIZE-1);
217 (us->outp_count < (SERIAL_XMIT_SIZE/2))) {
284 retval = SERIAL_XMIT_SIZE - us->outp_count;
327 t = SERIAL_XMIT_SIZE - us->outp_tail;
330 t = SERIAL_XMIT_SIZE - 1 - us->outp_count;
338 us->outp_tail = (us->outp_tail + c) & (SERIAL_XMIT_SIZE - 1);
367 if (us->outp_count == SERIAL_XMIT_SIZE) {
373 us->outp_tail = (us->outp_tail + 1) &(SERIAL_XMIT_SIZE-1);
H A Disicom.c471 cnt = min_t(int, txcount, (SERIAL_XMIT_SIZE
479 & (SERIAL_XMIT_SIZE - 1);
493 + (word_count << 1)) & (SERIAL_XMIT_SIZE - 1);
500 & (SERIAL_XMIT_SIZE - 1);
1127 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt
1128 - 1, SERIAL_XMIT_SIZE - port->xmit_head));
1133 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE
1160 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
1166 port->xmit_head &= (SERIAL_XMIT_SIZE - 1);
1197 free = SERIAL_XMIT_SIZE
[all...]
H A Driscom8.c476 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE-1);
697 port->wakeup_chars = (tmp < 0) ? 0 : ((tmp >= SERIAL_XMIT_SIZE) ?
698 SERIAL_XMIT_SIZE - 1 : tmp);
1118 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
1119 SERIAL_XMIT_SIZE - port->xmit_head));
1126 port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
1160 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1164 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
1196 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
H A Damiserial.c356 info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1);
361 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
854 SERIAL_XMIT_SIZE) == 0) {
860 info->xmit.head &= SERIAL_XMIT_SIZE-1;
909 SERIAL_XMIT_SIZE);
917 (SERIAL_XMIT_SIZE-1));
946 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
955 return CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
H A Dspecialix.c768 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE-1);
860 dprintk (SX_DEBUG_FLOW, "enter %s port %d room: %ld\n", __FUNCTION__, port_No(sx_get_port(bp, "INT")), SERIAL_XMIT_SIZE - sx_get_port(bp, "ITN")->xmit_cnt - 1);
1105 port->wakeup_chars = (tmp < 0) ? 0 : ((tmp >= SERIAL_XMIT_SIZE) ?
1106 SERIAL_XMIT_SIZE - 1 : tmp);
1626 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
1627 SERIAL_XMIT_SIZE - port->xmit_head));
1633 port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
1677 if ((port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) || (!port->xmit_buf)) {
1685 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
1732 ret = SERIAL_XMIT_SIZE
[all...]
H A Dcyclades.c89 #ifndef SERIAL_XMIT_SIZE
90 #define SERIAL_XMIT_SIZE (min(PAGE_SIZE, 4096)) macro
692 (SERIAL_XMIT_SIZE - 1);
699 (SERIAL_XMIT_SIZE - 1);
1064 (SERIAL_XMIT_SIZE - info->xmit_tail),
1078 (SERIAL_XMIT_SIZE - 1);
1085 (SERIAL_XMIT_SIZE - 1);
2244 c = min(count, min((int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1),
2245 (int)(SERIAL_XMIT_SIZE - info->xmit_head)));
2252 (SERIAL_XMIT_SIZE
[all...]
H A Dmxser.c1134 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1135 SERIAL_XMIT_SIZE - info->xmit_head));
1142 (SERIAL_XMIT_SIZE - 1);
1172 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1177 info->xmit_head &= SERIAL_XMIT_SIZE - 1;
1220 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
2210 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE - 1);
H A Dmxser_new.c1073 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1074 SERIAL_XMIT_SIZE - info->xmit_head));
1081 (SERIAL_XMIT_SIZE - 1);
1113 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1118 info->xmit_head &= SERIAL_XMIT_SIZE - 1;
1163 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
2253 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE - 1);
H A Dsynclink.c336 #ifndef SERIAL_XMIT_SIZE
337 #define SERIAL_XMIT_SIZE 4096 macro
2060 if (info->xmit_cnt < SERIAL_XMIT_SIZE - 1) {
2062 info->xmit_head &= SERIAL_XMIT_SIZE-1;
2215 min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
2216 SERIAL_XMIT_SIZE - info->xmit_head));
2223 (SERIAL_XMIT_SIZE-1));
2261 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
5766 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
5768 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE
[all...]
H A Dser_a2232.c572 port->gs.xmit_tail = (port->gs.xmit_tail+1) & (SERIAL_XMIT_SIZE-1); /* modulo-addition for the gs.xmit_buf ring-buffer */
H A Dsx.c863 if (c > SERIAL_XMIT_SIZE - port->gs.xmit_tail)
864 c = SERIAL_XMIT_SIZE - port->gs.xmit_tail;
867 c, SERIAL_XMIT_SIZE - port->gs.xmit_tail);
882 (SERIAL_XMIT_SIZE - 1);
H A Dserial167.c1139 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1140 SERIAL_XMIT_SIZE - info->xmit_head));
1148 (info->xmit_head + c) & (SERIAL_XMIT_SIZE - 1);
H A Dvme_scc.c522 port->gs.xmit_tail = port->gs.xmit_tail & (SERIAL_XMIT_SIZE-1);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ia64/hp/sim/
H A Dsimserial.c214 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) {
219 info->xmit.head = (info->xmit.head + 1) & (SERIAL_XMIT_SIZE-1);
257 count = min(CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE),
258 SERIAL_XMIT_SIZE - info->xmit.tail);
261 info->xmit.tail = (info->xmit.tail+count) & (SERIAL_XMIT_SIZE-1);
266 count = CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
298 c = CIRC_SPACE_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
306 (SERIAL_XMIT_SIZE-1));
315 if (CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE)
326 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dserial.h30 #define SERIAL_XMIT_SIZE PAGE_SIZE macro
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/rio/
H A Driointr.c133 if (c > SERIAL_XMIT_SIZE - PortP->gs.xmit_tail)
134 c = SERIAL_XMIT_SIZE - PortP->gs.xmit_tail;
159 PortP->gs.xmit_tail = (PortP->gs.xmit_tail + c) & (SERIAL_XMIT_SIZE - 1);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/tc/
H A Dzs.h153 #define SERIAL_XMIT_SIZE 4096 macro
H A Dzs.c431 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
881 c = min(count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
882 SERIAL_XMIT_SIZE - info->xmit_head));
887 info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
909 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/wan/
H A Dz85230.h431 #define SERIAL_XMIT_SIZE 4096 macro

Completed in 331 milliseconds