Searched refs:xmit_cnt (Results 1 - 25 of 30) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/serial/
H A Dmcfserial.h63 int xmit_cnt; member in struct:mcf_serial
H A D68328serial.c234 if (info->xmit_cnt && info->xmit_buf && !(uart->ustcnt & USTCNT_TXEN)) {
336 if((info->xmit_cnt <= 0) || info->tty->stopped) {
345 info->xmit_cnt--;
347 if (info->xmit_cnt < WAKEUP_CHARS)
350 if(info->xmit_cnt <= 0) {
459 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
618 left = info->xmit_cnt;
622 info->xmit_cnt--;
628 left = min(info->xmit_cnt, left-1);
684 if (info->xmit_cnt <
[all...]
H A D68328serial.h160 int xmit_cnt; member in struct:m68k_serial
H A Dmcfserial.c291 if (info->xmit_cnt && info->xmit_buf) {
378 if ((info->xmit_cnt <= 0) || info->tty->stopped) {
388 if (--info->xmit_cnt <= 0)
392 if (info->xmit_cnt < WAKEUP_CHARS)
530 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
729 if (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped ||
758 c = min(count, (int) min(((int)SERIAL_XMIT_SIZE) - info->xmit_cnt - 1,
769 info->xmit_cnt += c;
793 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
805 return info->xmit_cnt;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/
H A Driscom8.h81 int xmit_cnt; member in struct:riscom_port
H A Dgeneric_serial.c80 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
88 port->xmit_cnt++; /* Characters in buffer */
137 /* This is safe because the xmit_cnt can only decrease. This
140 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
148 port -> xmit_cnt += c;
159 if (port->xmit_cnt &&
220 /* This is safe because the xmit_cnt can only decrease. This
223 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
234 port->xmit_cnt += c;
241 if (port->xmit_cnt
[all...]
H A Dspecialix_io8.h122 int xmit_cnt; member in struct:specialix_port
H A Disicom.c218 int xmit_cnt; member in struct:isi_port
455 txcount = min_t(short, TX_SIZE, port->xmit_cnt);
480 port->xmit_cnt--;
495 port->xmit_cnt -= (word_count << 1);
501 port->xmit_cnt--;
507 if (port->xmit_cnt <= 0)
509 if (port->xmit_cnt <= WAKEUP_CHARS)
849 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0;
1127 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt
1135 port->xmit_cnt
[all...]
H A Driscom8.c441 if ((port->xmit_cnt <= 0 && !port->break_length)
477 if (--port->xmit_cnt <= 0)
481 if (port->xmit_cnt <= 0) {
486 if (port->xmit_cnt <= port->wakeup_chars)
514 if (port->xmit_cnt <= port->wakeup_chars)
526 if (port->xmit_cnt <= port->wakeup_chars)
829 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0;
1118 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
1127 port->xmit_cnt += c;
1136 if (port->xmit_cnt
[all...]
H A Desp.c219 if (info->xmit_cnt && info->xmit_buf && !(info->IER & UART_IER_THRI)) {
442 while (space_avail && info->xmit_cnt) {
455 info->xmit_cnt -= space_avail;
468 if (info->xmit_cnt) {
474 if (space_avail > info->xmit_cnt)
475 space_avail = info->xmit_cnt;
479 if (info->xmit_cnt < WAKEUP_CHARS) {
486 if (info->xmit_cnt <= 0) {
514 info->xmit_cnt -= dma_bytes;
517 if (info->xmit_cnt < WAKEUP_CHAR
[all...]
H A Dmxser.c326 int xmit_cnt; member in struct:mxser_struct
1134 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1143 info->xmit_cnt += c;
1151 if (info->xmit_cnt && !tty->stopped && !(info->IER & UART_IER_THRI)) {
1172 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1178 info->xmit_cnt++;
1198 if (info->xmit_cnt <= 0 ||
1220 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
1229 return info->xmit_cnt;
1240 info->xmit_cnt
[all...]
H A Dmxser_new.c280 int xmit_cnt; member in struct:mxser_port
849 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1073 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1082 info->xmit_cnt += c;
1090 if (info->xmit_cnt && !tty->stopped) {
1113 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1119 info->xmit_cnt++;
1140 if (info->xmit_cnt <= 0 ||
1163 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
1172 return info->xmit_cnt;
[all...]
H A Dspecialix.c730 if ((port->xmit_cnt <= 0 && !port->break_length)
769 if (--port->xmit_cnt <= 0)
773 if (port->xmit_cnt <= 0) {
778 if (port->xmit_cnt <= port->wakeup_chars)
818 if (port->xmit_cnt <= port->wakeup_chars)
830 if (port->xmit_cnt <= port->wakeup_chars)
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);
1256 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0;
1626 c = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
1634 port->xmit_cnt
[all...]
H A Drocket.c455 c = min(info->xmit_fifo_room, min(info->xmit_cnt, XMIT_BUF_SIZE - info->xmit_tail));
463 info->xmit_cnt -= c;
470 if (info->xmit_cnt == 0)
473 if (info->xmit_cnt < WAKEUP_CHARS) {
483 printk(KERN_INFO "(%d,%d,%d,%d)...", info->xmit_cnt, info->xmit_head,
1525 info->xmit_cnt, info->xmit_fifo_room);
1541 info->xmit_cnt, info->xmit_fifo_room);
1674 if (tty->stopped || tty->hw_stopped || info->xmit_fifo_room == 0 || info->xmit_cnt != 0) {
1677 info->xmit_cnt++;
1720 if (!tty->stopped && !tty->hw_stopped && info->xmit_cnt
[all...]
H A Dserial167.c496 if (info->xmit_cnt < WAKEUP_CHARS) {
535 if (!info->xmit_cnt) {
560 info->xmit_cnt--;
567 info->xmit_cnt--;
580 if (info->xmit_cnt < WAKEUP_CHARS) {
741 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1076 if (info->xmit_cnt >= PAGE_SIZE - 1) {
1083 info->xmit_cnt++;
1101 if (info->xmit_cnt <= 0 || tty->stopped
1139 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt
[all...]
H A Dcyclades.c650 if (!info->xmit_cnt) {
690 info->xmit_cnt--;
697 info->xmit_cnt--;
711 if (info->xmit_cnt < WAKEUP_CHARS) {
1035 if (info->xmit_cnt <= 0) /* Nothing to transmit */
1065 min_t(unsigned int, info->xmit_cnt,
1076 info->xmit_cnt -= small_count;
1081 while (info->xmit_cnt && char_count) {
1083 info->xmit_cnt--;
1094 if (info->xmit_cnt < WAKEUP_CHAR
[all...]
H A Dsynclink.c209 int xmit_cnt; member in struct:mgsl_struct
1269 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1429 printk("%s(%d):mgsl_isr_transmit_data xmit_cnt=%d\n",
1430 __FILE__,__LINE__,info->xmit_cnt);
1439 if ( info->xmit_cnt )
1444 if (info->xmit_cnt < WAKEUP_CHARS)
1902 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
2060 if (info->xmit_cnt < SERIAL_XMIT_SIZE - 1) {
2063 info->xmit_cnt++;
2085 printk( "%s(%d):mgsl_flush_chars() entry on %s xmit_cnt
[all...]
H A Dser_a2232.c567 while ( (port->gs.xmit_cnt > 0) &&
574 port->gs.xmit_cnt--;
583 if ((port->gs.xmit_cnt <= port->gs.wakeup_chars) && port->gs.tty) {
H A Dvme_scc.c517 else if ((port->gs.xmit_cnt <= 0) || port->gs.tty->stopped ||
523 if (--port->gs.xmit_cnt <= 0)
527 if ((port->gs.xmit_cnt <= 0) || port->gs.tty->stopped ||
534 if (port->gs.tty && port->gs.xmit_cnt <= port->gs.wakeup_chars)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dgeneric_serial.h39 int xmit_cnt; member in struct:gs_port
H A Dhayesesp.h103 int xmit_cnt; member in struct:esp_struct
H A Dserial167.h49 int xmit_cnt; member in struct:cyclades_port
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/rio/
H A Driointr.c113 rio_dprintk(RIO_DEBUG_INTR, "tx port %d: %d chars queued.\n", PortP->PortNum, PortP->gs.xmit_cnt);
115 if (!PortP->gs.xmit_cnt)
128 c = PortP->gs.xmit_cnt;
160 PortP->gs.xmit_cnt -= c;
165 if (PortP->gs.xmit_cnt <= (PortP->gs.wakeup_chars + 2 * PKT_MAX_DATA_LEN))
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/tc/
H A Dzs.c424 if ((info->xmit_cnt <= 0) || (info->tty && info->tty->stopped)
432 info->xmit_cnt--;
435 if (info->xmit_cnt < WAKEUP_CHARS)
594 if (info->xmit_cnt && info->xmit_buf && !(info->zs_channel->curregs[5] & TxENAB)) {
690 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
856 if (info->xmit_cnt <= 0 || tty->stopped || info->tx_stopped ||
881 c = min(count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
888 info->xmit_cnt += c;
895 if (info->xmit_cnt && !tty->stopped && !info->tx_stopped
909 ret = SERIAL_XMIT_SIZE - info->xmit_cnt
[all...]
H A Dzs.h141 int xmit_cnt; member in struct:dec_serial

Completed in 304 milliseconds

12