Home
last modified time | relevance | path

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

/drivers/tty/
Dmetag_da.c114 unsigned int xmit_head; member
247 dport->xmit_head = 0; in put_channel_data()
447 dport->xmit_head = 0; in dashtty_hangup()
498 block = min(count, (int)(SERIAL_XMIT_SIZE - dport->xmit_head)); in dashtty_write()
499 memcpy(dport->port.xmit_buf + dport->xmit_head, buf, block); in dashtty_write()
500 dport->xmit_head += block; in dashtty_write()
501 if (dport->xmit_head >= SERIAL_XMIT_SIZE) in dashtty_write()
502 dport->xmit_head -= SERIAL_XMIT_SIZE; in dashtty_write()
Dmips_ejtag_fdc.c114 unsigned int xmit_head; member
454 dport->xmit_head = 0; in mips_ejtag_fdc_put_chan()
792 dport->xmit_head = 0; in mips_ejtag_fdc_tty_hangup()
826 block = min(count, (int)(priv->xmit_size - dport->xmit_head)); in mips_ejtag_fdc_tty_write()
827 memcpy(dport->port.xmit_buf + dport->xmit_head, buf, block); in mips_ejtag_fdc_tty_write()
828 dport->xmit_head += block; in mips_ejtag_fdc_tty_write()
829 if (dport->xmit_head >= priv->xmit_size) in mips_ejtag_fdc_tty_write()
830 dport->xmit_head -= priv->xmit_size; in mips_ejtag_fdc_tty_write()
Disicom.c209 int xmit_head; member
818 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0; in isicom_activate()
904 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0; in isicom_flush_buffer()
956 - 1, SERIAL_XMIT_SIZE - port->xmit_head)); in isicom_write()
960 memcpy(port->port.xmit_buf + port->xmit_head, buf, cnt); in isicom_write()
961 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE in isicom_write()
990 port->port.xmit_buf[port->xmit_head++] = ch; in isicom_put_char()
991 port->xmit_head &= (SERIAL_XMIT_SIZE - 1); in isicom_put_char()
Dmxser.c254 int xmit_head; member
937 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_activate()
1024 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_flush_buffer()
1107 SERIAL_XMIT_SIZE - info->xmit_head)); in mxser_write()
1111 memcpy(info->port.xmit_buf + info->xmit_head, buf, c); in mxser_write()
1113 info->xmit_head = (info->xmit_head + c) & in mxser_write()
1150 info->port.xmit_buf[info->xmit_head++] = ch; in mxser_put_char()
1151 info->xmit_head &= SERIAL_XMIT_SIZE - 1; in mxser_put_char()
Drocket.c480 printk(KERN_DEBUG "(%d,%d,%d,%d)...\n", info->xmit_cnt, info->xmit_head, in rp_do_transmit()
1555 info->xmit_buf[info->xmit_head++] = ch; in rp_put_char()
1556 info->xmit_head &= XMIT_BUF_SIZE - 1; in rp_put_char()
1632 c = min(c, XMIT_BUF_SIZE - info->xmit_head); in rp_write()
1637 memcpy(info->xmit_buf + info->xmit_head, b, c); in rp_write()
1640 info->xmit_head = in rp_write()
1641 (info->xmit_head + c) & (XMIT_BUF_SIZE - 1); in rp_write()
1718 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in rp_flush_buffer()
Dcyclades.c1368 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_startup()
1679 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_flush_buffer()
1785 c = min(c, (int)(SERIAL_XMIT_SIZE - info->xmit_head)); in cy_write()
1790 memcpy(info->port.xmit_buf + info->xmit_head, buf, c); in cy_write()
1791 info->xmit_head = (info->xmit_head + c) & in cy_write()
1837 info->port.xmit_buf[info->xmit_head++] = ch; in cy_put_char()
1838 info->xmit_head &= SERIAL_XMIT_SIZE - 1; in cy_put_char()
Dsynclink.c192 int xmit_head; member
1244 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_isr_transmit_status()
1870 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_program_hw()
2022 info->xmit_buf[info->xmit_head++] = ch; in mgsl_put_char()
2023 info->xmit_head &= SERIAL_XMIT_SIZE-1; in mgsl_put_char()
2177 SERIAL_XMIT_SIZE - info->xmit_head)); in mgsl_write()
2182 memcpy(info->xmit_buf + info->xmit_head, buf, c); in mgsl_write()
2183 info->xmit_head = ((info->xmit_head + c) & in mgsl_write()
2297 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_flush_buffer()
7537 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_tx_timeout()
Drocket_int.h1139 int xmit_head; member
/drivers/net/wan/
Dz85230.h342 int xmit_head; /* Transmit ring */ member