Home
last modified time | relevance | path

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

/drivers/tty/
Dmetag_da.c104 unsigned int xmit_head; member
237 dport->xmit_head = 0; in put_channel_data()
437 dport->xmit_head = 0; in dashtty_hangup()
488 block = min(count, (int)(SERIAL_XMIT_SIZE - dport->xmit_head)); in dashtty_write()
489 memcpy(dport->port.xmit_buf + dport->xmit_head, buf, block); in dashtty_write()
490 dport->xmit_head += block; in dashtty_write()
491 if (dport->xmit_head >= SERIAL_XMIT_SIZE) in dashtty_write()
492 dport->xmit_head -= SERIAL_XMIT_SIZE; in dashtty_write()
Disicom.c209 int xmit_head; member
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()
961 - 1, SERIAL_XMIT_SIZE - port->xmit_head)); in isicom_write()
965 memcpy(port->port.xmit_buf + port->xmit_head, buf, cnt); in isicom_write()
966 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE in isicom_write()
995 port->port.xmit_buf[port->xmit_head++] = ch; in isicom_put_char()
996 port->xmit_head &= (SERIAL_XMIT_SIZE - 1); in isicom_put_char()
Dmxser.c254 int xmit_head; 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()
1111 SERIAL_XMIT_SIZE - info->xmit_head)); in mxser_write()
1115 memcpy(info->port.xmit_buf + info->xmit_head, buf, c); in mxser_write()
1117 info->xmit_head = (info->xmit_head + c) & in mxser_write()
1154 info->port.xmit_buf[info->xmit_head++] = ch; in mxser_put_char()
1155 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()
1570 info->xmit_buf[info->xmit_head++] = ch; in rp_put_char()
1571 info->xmit_head &= XMIT_BUF_SIZE - 1; in rp_put_char()
1647 c = min(c, XMIT_BUF_SIZE - info->xmit_head); in rp_write()
1652 memcpy(info->xmit_buf + info->xmit_head, b, c); in rp_write()
1655 info->xmit_head = in rp_write()
1656 (info->xmit_head + c) & (XMIT_BUF_SIZE - 1); in rp_write()
1733 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in rp_flush_buffer()
Dsynclink.c192 int xmit_head; member
1244 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_isr_transmit_status()
1873 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_program_hw()
2032 info->xmit_buf[info->xmit_head++] = ch; in mgsl_put_char()
2033 info->xmit_head &= SERIAL_XMIT_SIZE-1; in mgsl_put_char()
2187 SERIAL_XMIT_SIZE - info->xmit_head)); in mgsl_write()
2192 memcpy(info->xmit_buf + info->xmit_head, buf, c); in mgsl_write()
2193 info->xmit_head = ((info->xmit_head + c) & in mgsl_write()
2307 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_flush_buffer()
7565 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mgsl_tx_timeout()
Dcyclades.c1370 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_startup()
1690 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in cy_flush_buffer()
1796 c = min(c, (int)(SERIAL_XMIT_SIZE - info->xmit_head)); in cy_write()
1801 memcpy(info->port.xmit_buf + info->xmit_head, buf, c); in cy_write()
1802 info->xmit_head = (info->xmit_head + c) & in cy_write()
1848 info->port.xmit_buf[info->xmit_head++] = ch; in cy_put_char()
1849 info->xmit_head &= SERIAL_XMIT_SIZE - 1; in cy_put_char()
Drocket_int.h1139 int xmit_head; member
/drivers/tty/serial/
D68328serial.c120 int xmit_head; member
410 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in startup()
681 SERIAL_XMIT_SIZE - info->xmit_head));
687 memcpy(info->xmit_buf + info->xmit_head, buf, c);
690 info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
756 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
/drivers/net/wan/
Dz85230.h342 int xmit_head; /* Transmit ring */ member