Searched refs:SERIAL_XMIT_SIZE (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/arch/ia64/hp/sim/ |
D | simserial.c | 119 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) { in rs_put_char() 124 info->xmit.head = (info->xmit.head + 1) & (SERIAL_XMIT_SIZE-1); in rs_put_char() 162 count = min(CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE), in transmit_chars() 163 SERIAL_XMIT_SIZE - info->xmit.tail); in transmit_chars() 166 info->xmit.tail = (info->xmit.tail+count) & (SERIAL_XMIT_SIZE-1); in transmit_chars() 171 count = CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in transmit_chars() 203 c = CIRC_SPACE_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write() 211 (SERIAL_XMIT_SIZE-1)); in rs_write() 220 if (CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) && in rs_write() 231 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room() [all …]
|
/Linux-v4.19/include/linux/ |
D | serial.h | 29 #define SERIAL_XMIT_SIZE PAGE_SIZE macro
|
/Linux-v4.19/drivers/tty/ |
D | isicom.c | 451 cnt = min_t(int, txcount, (SERIAL_XMIT_SIZE in isicom_tx() 459 & (SERIAL_XMIT_SIZE - 1); in isicom_tx() 474 + (word_count << 1)) & (SERIAL_XMIT_SIZE - 1); in isicom_tx() 481 & (SERIAL_XMIT_SIZE - 1); in isicom_tx() 947 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt in isicom_write() 948 - 1, SERIAL_XMIT_SIZE - port->xmit_head)); in isicom_write() 953 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE in isicom_write() 977 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) { in isicom_put_char() 983 port->xmit_head &= (SERIAL_XMIT_SIZE - 1); in isicom_put_char() 1015 free = SERIAL_XMIT_SIZE - port->xmit_cnt - 1; in isicom_write_room()
|
D | amiserial.c | 360 info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1); in transmit_chars() 365 SERIAL_XMIT_SIZE) < WAKEUP_CHARS) in transmit_chars() 795 SERIAL_XMIT_SIZE) == 0) { in rs_put_char() 801 info->xmit.head &= SERIAL_XMIT_SIZE-1; in rs_put_char() 846 SERIAL_XMIT_SIZE); in rs_write() 854 (SERIAL_XMIT_SIZE-1)); in rs_write() 883 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room() 892 return CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_chars_in_buffer()
|
D | cyclades.c | 93 #ifndef SERIAL_XMIT_SIZE 94 #define SERIAL_XMIT_SIZE (min(PAGE_SIZE, 4096)) macro 654 (SERIAL_XMIT_SIZE - 1); in cyy_chip_tx() 661 (SERIAL_XMIT_SIZE - 1); in cyy_chip_tx() 1048 (SERIAL_XMIT_SIZE - info->xmit_tail), in cyz_handle_tx() 1061 (SERIAL_XMIT_SIZE - 1); in cyz_handle_tx() 1068 (SERIAL_XMIT_SIZE - 1); in cyz_handle_tx() 1782 c = min(count, (int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1)); in cy_write() 1783 c = min(c, (int)(SERIAL_XMIT_SIZE - info->xmit_head)); in cy_write() 1790 (SERIAL_XMIT_SIZE - 1); in cy_write() [all …]
|
D | mxser.c | 1107 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mxser_write() 1108 SERIAL_XMIT_SIZE - info->xmit_head)); in mxser_write() 1115 (SERIAL_XMIT_SIZE - 1); in mxser_write() 1147 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) in mxser_put_char() 1152 info->xmit_head &= SERIAL_XMIT_SIZE - 1; in mxser_put_char() 1194 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; in mxser_write_room() 2187 port->xmit_tail = port->xmit_tail & (SERIAL_XMIT_SIZE - 1); in mxser_transmit_chars()
|
D | synclink.c | 315 #ifndef SERIAL_XMIT_SIZE 316 #define SERIAL_XMIT_SIZE 4096 macro 2020 if (info->xmit_cnt < SERIAL_XMIT_SIZE - 1) { in mgsl_put_char() 2022 info->xmit_head &= SERIAL_XMIT_SIZE-1; in mgsl_put_char() 2175 min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mgsl_write() 2176 SERIAL_XMIT_SIZE - info->xmit_head)); in mgsl_write() 2183 (SERIAL_XMIT_SIZE-1)); in mgsl_write() 2221 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; in mgsl_write_room() 5690 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1); in usc_load_txfifo() 5692 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1); in usc_load_txfifo() [all …]
|
D | mips_ejtag_fdc.c | 918 priv->xmit_size = min(tx_fifo * 4, (unsigned int)SERIAL_XMIT_SIZE); in mips_ejtag_fdc_tty_probe()
|
/Linux-v4.19/drivers/net/wan/ |
D | z85230.h | 430 #define SERIAL_XMIT_SIZE 4096 macro
|
/Linux-v4.19/drivers/tty/serial/ |
D | owl-uart.c | 200 xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1); in owl_uart_send_chars()
|
D | meson_uart.c | 160 xmit->tail = (xmit->tail+1) & (SERIAL_XMIT_SIZE - 1); in meson_uart_start_tx()
|