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

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/
H A Dgeneric_serial.c68 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
75 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
119 t = SERIAL_XMIT_SIZE - port->xmit_head;
125 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
134 port -> xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE -1);
163 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
668 if (tmp >= SERIAL_XMIT_SIZE) tmp = SERIAL_XMIT_SIZE-1;
H A Disicom.c460 cnt = min_t(int, txcount, (SERIAL_XMIT_SIZE
468 & (SERIAL_XMIT_SIZE - 1);
483 + (word_count << 1)) & (SERIAL_XMIT_SIZE - 1);
490 & (SERIAL_XMIT_SIZE - 1);
962 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt
963 - 1, SERIAL_XMIT_SIZE - port->xmit_head));
968 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE
992 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
998 port->xmit_head &= (SERIAL_XMIT_SIZE - 1);
1030 free = SERIAL_XMIT_SIZE
[all...]
H A Driscom8.c468 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE-1);
684 port->wakeup_chars = (tmp < 0) ? 0 : ((tmp >= SERIAL_XMIT_SIZE) ?
685 SERIAL_XMIT_SIZE - 1 : tmp);
985 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
986 SERIAL_XMIT_SIZE - port->xmit_head));
991 port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
1024 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1028 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
1065 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
H A Damiserial.c359 info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1);
364 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
853 SERIAL_XMIT_SIZE) == 0) {
859 info->xmit.head &= SERIAL_XMIT_SIZE-1;
906 SERIAL_XMIT_SIZE);
914 (SERIAL_XMIT_SIZE-1));
943 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
952 return CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
H A Dspecialix.c720 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE-1);
813 SERIAL_XMIT_SIZE - sx_get_port(bp, "ITN")->xmit_cnt - 1);
1058 port->wakeup_chars = (tmp < 0) ? 0 : ((tmp >= SERIAL_XMIT_SIZE) ?
1059 SERIAL_XMIT_SIZE - 1 : tmp);
1609 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
1610 SERIAL_XMIT_SIZE - port->xmit_head));
1616 port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
1661 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1 || !port->xmit_buf) {
1669 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
1717 ret = SERIAL_XMIT_SIZE
[all...]
H A Dcyclades.c95 #ifndef SERIAL_XMIT_SIZE
96 #define SERIAL_XMIT_SIZE (min(PAGE_SIZE, 4096)) macro
666 (SERIAL_XMIT_SIZE - 1);
673 (SERIAL_XMIT_SIZE - 1);
1062 (SERIAL_XMIT_SIZE - info->xmit_tail),
1076 (SERIAL_XMIT_SIZE - 1);
1083 (SERIAL_XMIT_SIZE - 1);
1831 c = min(count, (int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1));
1832 c = min(c, (int)(SERIAL_XMIT_SIZE - info->xmit_head));
1839 (SERIAL_XMIT_SIZE
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/
H A Dgeneric_serial.c68 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
75 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
119 t = SERIAL_XMIT_SIZE - port->xmit_head;
125 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
134 port -> xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE -1);
163 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
668 if (tmp >= SERIAL_XMIT_SIZE) tmp = SERIAL_XMIT_SIZE-1;
H A Disicom.c460 cnt = min_t(int, txcount, (SERIAL_XMIT_SIZE
468 & (SERIAL_XMIT_SIZE - 1);
483 + (word_count << 1)) & (SERIAL_XMIT_SIZE - 1);
490 & (SERIAL_XMIT_SIZE - 1);
962 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt
963 - 1, SERIAL_XMIT_SIZE - port->xmit_head));
968 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE
992 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
998 port->xmit_head &= (SERIAL_XMIT_SIZE - 1);
1030 free = SERIAL_XMIT_SIZE
[all...]
H A Driscom8.c468 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE-1);
684 port->wakeup_chars = (tmp < 0) ? 0 : ((tmp >= SERIAL_XMIT_SIZE) ?
685 SERIAL_XMIT_SIZE - 1 : tmp);
985 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
986 SERIAL_XMIT_SIZE - port->xmit_head));
991 port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
1024 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1028 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
1065 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
H A Damiserial.c359 info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1);
364 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
853 SERIAL_XMIT_SIZE) == 0) {
859 info->xmit.head &= SERIAL_XMIT_SIZE-1;
906 SERIAL_XMIT_SIZE);
914 (SERIAL_XMIT_SIZE-1));
943 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
952 return CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
H A Dspecialix.c720 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE-1);
813 SERIAL_XMIT_SIZE - sx_get_port(bp, "ITN")->xmit_cnt - 1);
1058 port->wakeup_chars = (tmp < 0) ? 0 : ((tmp >= SERIAL_XMIT_SIZE) ?
1059 SERIAL_XMIT_SIZE - 1 : tmp);
1609 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
1610 SERIAL_XMIT_SIZE - port->xmit_head));
1616 port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
1661 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1 || !port->xmit_buf) {
1669 port->xmit_head &= SERIAL_XMIT_SIZE - 1;
1717 ret = SERIAL_XMIT_SIZE
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/serial/
H A D68328serial.h173 #define SERIAL_XMIT_SIZE 4096 macro
H A D68328serial.c324 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
597 info->xmit_tail = (info->xmit_tail+1) & (SERIAL_XMIT_SIZE-1);
679 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
709 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
710 SERIAL_XMIT_SIZE - info->xmit_head));
719 info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
742 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
762 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
H A Dcrisv10.c1484 info->xmit.tail,SERIAL_XMIT_SIZE)));
1509 info->xmit.tail,SERIAL_XMIT_SIZE)));
1587 SERIAL_XMIT_SIZE));
1626 info->xmit.tail = (info->xmit.tail + sentl) & (SERIAL_XMIT_SIZE - 1);
1632 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
1637 c = CIRC_CNT_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
2569 info->xmit.tail = (info->xmit.tail + 1) & (SERIAL_XMIT_SIZE-1);
2595 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
3175 SERIAL_XMIT_SIZE);
3184 (SERIAL_XMIT_SIZE
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/serial/
H A D68328serial.h173 #define SERIAL_XMIT_SIZE 4096 macro
H A D68328serial.c324 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
597 info->xmit_tail = (info->xmit_tail+1) & (SERIAL_XMIT_SIZE-1);
679 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
709 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
710 SERIAL_XMIT_SIZE - info->xmit_head));
719 info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
742 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
762 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
H A Dcrisv10.c1484 info->xmit.tail,SERIAL_XMIT_SIZE)));
1509 info->xmit.tail,SERIAL_XMIT_SIZE)));
1587 SERIAL_XMIT_SIZE));
1626 info->xmit.tail = (info->xmit.tail + sentl) & (SERIAL_XMIT_SIZE - 1);
1632 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
1637 c = CIRC_CNT_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
2569 info->xmit.tail = (info->xmit.tail + 1) & (SERIAL_XMIT_SIZE-1);
2595 SERIAL_XMIT_SIZE) < WAKEUP_CHARS)
3175 SERIAL_XMIT_SIZE);
3184 (SERIAL_XMIT_SIZE
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/ia64/hp/sim/
H A Dsimserial.c211 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) {
216 info->xmit.head = (info->xmit.head + 1) & (SERIAL_XMIT_SIZE-1);
255 count = min(CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE),
256 SERIAL_XMIT_SIZE - info->xmit.tail);
259 info->xmit.tail = (info->xmit.tail+count) & (SERIAL_XMIT_SIZE-1);
264 count = CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
296 c = CIRC_SPACE_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
304 (SERIAL_XMIT_SIZE-1));
313 if (CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE)
324 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/ia64/hp/sim/
H A Dsimserial.c211 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) {
216 info->xmit.head = (info->xmit.head + 1) & (SERIAL_XMIT_SIZE-1);
255 count = min(CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE),
256 SERIAL_XMIT_SIZE - info->xmit.tail);
259 info->xmit.tail = (info->xmit.tail+count) & (SERIAL_XMIT_SIZE-1);
264 count = CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
296 c = CIRC_SPACE_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
304 (SERIAL_XMIT_SIZE-1));
313 if (CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE)
324 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/rio/
H A Driointr.c127 if (c > SERIAL_XMIT_SIZE - PortP->gs.xmit_tail)
128 c = SERIAL_XMIT_SIZE - PortP->gs.xmit_tail;
153 PortP->gs.xmit_tail = (PortP->gs.xmit_tail + c) & (SERIAL_XMIT_SIZE - 1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/rio/
H A Driointr.c127 if (c > SERIAL_XMIT_SIZE - PortP->gs.xmit_tail)
128 c = SERIAL_XMIT_SIZE - PortP->gs.xmit_tail;
153 PortP->gs.xmit_tail = (PortP->gs.xmit_tail + c) & (SERIAL_XMIT_SIZE - 1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dserial.h31 #define SERIAL_XMIT_SIZE PAGE_SIZE macro
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dserial.h31 #define SERIAL_XMIT_SIZE PAGE_SIZE macro
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wan/
H A Dz85230.h430 #define SERIAL_XMIT_SIZE 4096 macro
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wan/
H A Dz85230.h430 #define SERIAL_XMIT_SIZE 4096 macro

Completed in 196 milliseconds

12