Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/
Dmips_ejtag_fdc.c110 unsigned int xmit_cnt; member
427 if (dport->xmit_cnt) { in mips_ejtag_fdc_put_chan()
431 dport->xmit_cnt); in mips_ejtag_fdc_put_chan()
433 sizes[1] = dport->xmit_cnt - sizes[0]; in mips_ejtag_fdc_put_chan()
449 dport->xmit_cnt -= word.bytes; in mips_ejtag_fdc_put_chan()
450 if (!dport->xmit_cnt) { in mips_ejtag_fdc_put_chan()
523 ret = dport->xmit_cnt; in mips_ejtag_fdc_put()
731 count = dport->xmit_cnt; in mips_ejtag_fdc_tty_port_shutdown()
787 if (dport->xmit_cnt) { in mips_ejtag_fdc_tty_hangup()
788 atomic_sub(dport->xmit_cnt, &priv->xmit_total); in mips_ejtag_fdc_tty_hangup()
[all …]
Disicom.c207 int xmit_cnt; member
437 txcount = min_t(short, TX_SIZE, port->xmit_cnt); in isicom_tx()
460 port->xmit_cnt--; in isicom_tx()
476 port->xmit_cnt -= (word_count << 1); in isicom_tx()
482 port->xmit_cnt--; in isicom_tx()
488 if (port->xmit_cnt <= 0) in isicom_tx()
490 if (port->xmit_cnt <= WAKEUP_CHARS) in isicom_tx()
809 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0; in isicom_activate()
895 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0; in isicom_flush_buffer()
946 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt in isicom_write()
[all …]
Dmxser.c252 int xmit_cnt; member
935 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_activate()
1022 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_flush_buffer()
1104 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mxser_write()
1113 info->xmit_cnt += c; in mxser_write()
1121 if (info->xmit_cnt && !tty->stopped) { in mxser_write()
1144 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) in mxser_put_char()
1150 info->xmit_cnt++; in mxser_put_char()
1172 if (info->xmit_cnt <= 0 || tty->stopped || !info->port.xmit_buf || in mxser_flush_chars()
1191 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; in mxser_write_room()
[all …]
Drocket.c437 c = min(info->xmit_fifo_room, info->xmit_cnt); in rp_do_transmit()
446 info->xmit_cnt -= c; in rp_do_transmit()
453 if (info->xmit_cnt == 0) in rp_do_transmit()
456 if (info->xmit_cnt < WAKEUP_CHARS) { in rp_do_transmit()
467 printk(KERN_DEBUG "(%d,%d,%d,%d)...\n", info->xmit_cnt, info->xmit_head, in rp_do_transmit()
1388 info->xmit_cnt, info->xmit_fifo_room); in rp_stop()
1404 info->xmit_cnt, info->xmit_fifo_room); in rp_start()
1537 if (tty->stopped || info->xmit_fifo_room == 0 || info->xmit_cnt != 0) { in rp_put_char()
1540 info->xmit_cnt++; in rp_put_char()
1585 if (!tty->stopped && info->xmit_cnt == 0 && info->xmit_fifo_room > 0) { in rp_write()
[all …]
Dcyclades.c621 if (!info->xmit_cnt) { in cyy_chip_tx()
652 info->xmit_cnt--; in cyy_chip_tx()
659 info->xmit_cnt--; in cyy_chip_tx()
1017 if (info->xmit_cnt <= 0) /* Nothing to transmit */ in cyz_handle_tx()
1049 min_t(unsigned int, info->xmit_cnt, in cyz_handle_tx()
1059 info->xmit_cnt -= small_count; in cyz_handle_tx()
1064 while (info->xmit_cnt && char_count) { in cyz_handle_tx()
1066 info->xmit_cnt--; in cyz_handle_tx()
1366 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_startup()
1677 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_flush_buffer()
[all …]
Dsynclink.c193 int xmit_cnt; member
1242 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_isr_transmit_status()
1402 __FILE__,__LINE__,info->xmit_cnt); in mgsl_isr_transmit_data()
1411 if ( info->xmit_cnt ) in mgsl_isr_transmit_data()
1416 if (info->xmit_cnt < WAKEUP_CHARS) in mgsl_isr_transmit_data()
1868 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_program_hw()
2019 if (info->xmit_cnt < SERIAL_XMIT_SIZE - 1) { in mgsl_put_char()
2022 info->xmit_cnt++; in mgsl_put_char()
2046 __FILE__,__LINE__,info->device_name,info->xmit_cnt); in mgsl_flush_chars()
2051 if (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped || in mgsl_flush_chars()
[all …]
Drocket_int.h1142 int xmit_cnt; member
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c207 static u32 xmit_cnt; in traffic_check_for_leave_lps() local
214 xmit_cnt += tx_packets; in traffic_check_for_leave_lps()
220 if (xmit_cnt > 8) { in traffic_check_for_leave_lps()
224 DBG_871X("leave lps via Tx = %d\n", xmit_cnt); in traffic_check_for_leave_lps()
230 xmit_cnt = 0; in traffic_check_for_leave_lps()
/Linux-v5.10/include/linux/
Dcyclades.h151 int xmit_cnt; member
/Linux-v5.10/drivers/net/wan/
Dz85230.h345 int xmit_cnt; member