Home
last modified time | relevance | path

Searched refs:xmit_cnt (Results 1 – 9 of 9) sorted by relevance

/drivers/tty/serial/
D68328serial.c217 if (info->xmit_cnt && info->xmit_buf && !(uart->ustcnt & USTCNT_TXEN)) { in rs_start()
315 if((info->xmit_cnt <= 0) || info->tty->stopped) { in transmit_chars()
324 info->xmit_cnt--; in transmit_chars()
326 if(info->xmit_cnt <= 0) { in transmit_chars()
399 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in startup()
558 left = info->xmit_cnt; in rs_fair_output()
562 info->xmit_cnt--; in rs_fair_output()
568 left = min(info->xmit_cnt, left-1); in rs_fair_output()
624 if (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped ||
644 info->xmit_cnt--;
[all …]
D68328serial.h160 int xmit_cnt; member
/drivers/tty/
Disicom.c211 int xmit_cnt; member
445 txcount = min_t(short, TX_SIZE, port->xmit_cnt); in isicom_tx()
468 port->xmit_cnt--; in isicom_tx()
484 port->xmit_cnt -= (word_count << 1); in isicom_tx()
490 port->xmit_cnt--; in isicom_tx()
496 if (port->xmit_cnt <= 0) in isicom_tx()
498 if (port->xmit_cnt <= WAKEUP_CHARS) in isicom_tx()
823 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0; in isicom_activate()
909 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0; in isicom_flush_buffer()
960 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt in isicom_write()
[all …]
Dmxser.c256 int xmit_cnt; member
941 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_activate()
1028 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_flush_buffer()
1106 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mxser_write()
1115 info->xmit_cnt += c; in mxser_write()
1123 if (info->xmit_cnt && !tty->stopped) { in mxser_write()
1146 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) in mxser_put_char()
1152 info->xmit_cnt++; in mxser_put_char()
1174 if (info->xmit_cnt <= 0 || tty->stopped || !info->port.xmit_buf || in mxser_flush_chars()
1193 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; in mxser_write_room()
[all …]
Drocket.c454 c = min(info->xmit_fifo_room, info->xmit_cnt); in rp_do_transmit()
463 info->xmit_cnt -= c; in rp_do_transmit()
470 if (info->xmit_cnt == 0) in rp_do_transmit()
473 if (info->xmit_cnt < WAKEUP_CHARS) { in rp_do_transmit()
484 printk(KERN_DEBUG "(%d,%d,%d,%d)...\n", info->xmit_cnt, info->xmit_head, in rp_do_transmit()
1429 info->xmit_cnt, info->xmit_fifo_room); in rp_stop()
1445 info->xmit_cnt, info->xmit_fifo_room); in rp_start()
1582 if (tty->stopped || tty->hw_stopped || info->xmit_fifo_room == 0 || info->xmit_cnt != 0) { in rp_put_char()
1585 info->xmit_cnt++; in rp_put_char()
1630 if (!tty->stopped && !tty->hw_stopped && info->xmit_cnt == 0 && info->xmit_fifo_room > 0) { in rp_write()
[all …]
Dcyclades.c630 if (!info->xmit_cnt) { in cyy_chip_tx()
661 info->xmit_cnt--; in cyy_chip_tx()
668 info->xmit_cnt--; in cyy_chip_tx()
1030 if (info->xmit_cnt <= 0) /* Nothing to transmit */ in cyz_handle_tx()
1060 min_t(unsigned int, info->xmit_cnt, in cyz_handle_tx()
1071 info->xmit_cnt -= small_count; in cyz_handle_tx()
1076 while (info->xmit_cnt && char_count) { in cyz_handle_tx()
1078 info->xmit_cnt--; in cyz_handle_tx()
1389 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_startup()
1709 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_flush_buffer()
[all …]
Dsynclink.c194 int xmit_cnt; member
1248 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_isr_transmit_status()
1409 __FILE__,__LINE__,info->xmit_cnt); in mgsl_isr_transmit_data()
1418 if ( info->xmit_cnt ) in mgsl_isr_transmit_data()
1423 if (info->xmit_cnt < WAKEUP_CHARS) in mgsl_isr_transmit_data()
1878 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_program_hw()
2036 if (info->xmit_cnt < SERIAL_XMIT_SIZE - 1) { in mgsl_put_char()
2039 info->xmit_cnt++; in mgsl_put_char()
2063 __FILE__,__LINE__,info->device_name,info->xmit_cnt); in mgsl_flush_chars()
2068 if (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped || in mgsl_flush_chars()
[all …]
Drocket_int.h1141 int xmit_cnt; member
/drivers/net/wan/
Dz85230.h344 int xmit_cnt; member