Searched refs:SERIAL_XMIT_SIZE (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/include/linux/ |
D | serial.h | 29 #define SERIAL_XMIT_SIZE PAGE_SIZE macro
|
/Linux-v5.4/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() 946 cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt in isicom_write() 947 - 1, SERIAL_XMIT_SIZE - port->xmit_head)); in isicom_write() 952 port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE in isicom_write() 976 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) { in isicom_put_char() 982 port->xmit_head &= (SERIAL_XMIT_SIZE - 1); in isicom_put_char() 1014 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() 2190 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() 5647 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1); in usc_load_txfifo() 5649 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-v5.4/drivers/net/wan/ |
D | z85230.h | 430 #define SERIAL_XMIT_SIZE 4096 macro
|
/Linux-v5.4/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 | 161 xmit->tail = (xmit->tail+1) & (SERIAL_XMIT_SIZE - 1); in meson_uart_start_tx()
|
D | rda-uart.c | 354 xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1); in rda_uart_send_chars()
|