/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/ |
H A D | generic_serial.c | 68 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 D | isicom.c | 460 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 D | riscom8.c | 468 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 D | amiserial.c | 359 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 D | specialix.c | 720 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 D | cyclades.c | 95 #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 D | generic_serial.c | 68 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 D | isicom.c | 460 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 D | riscom8.c | 468 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 D | amiserial.c | 359 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 D | specialix.c | 720 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 D | 68328serial.h | 173 #define SERIAL_XMIT_SIZE 4096 macro
|
H A D | 68328serial.c | 324 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 D | crisv10.c | 1484 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 D | 68328serial.h | 173 #define SERIAL_XMIT_SIZE 4096 macro
|
H A D | 68328serial.c | 324 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 D | crisv10.c | 1484 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 D | simserial.c | 211 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 D | simserial.c | 211 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 D | riointr.c | 127 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 D | riointr.c | 127 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 D | serial.h | 31 #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 D | serial.h | 31 #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 D | z85230.h | 430 #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 D | z85230.h | 430 #define SERIAL_XMIT_SIZE 4096 macro
|