Home
last modified time | relevance | path

Searched refs:SERIAL_XMIT_SIZE (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/include/linux/
Dserial.h29 #define SERIAL_XMIT_SIZE PAGE_SIZE macro
/Linux-v5.10/drivers/tty/
Disicom.c451 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()
Damiserial.c322 info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1); in transmit_chars()
327 SERIAL_XMIT_SIZE) < WAKEUP_CHARS) in transmit_chars()
754 SERIAL_XMIT_SIZE) == 0) { in rs_put_char()
760 info->xmit.head &= SERIAL_XMIT_SIZE-1; in rs_put_char()
799 SERIAL_XMIT_SIZE); in rs_write()
807 (SERIAL_XMIT_SIZE-1)); in rs_write()
834 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room()
841 return CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_chars_in_buffer()
Dcyclades.c93 #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 …]
Dmxser.c1104 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mxser_write()
1105 SERIAL_XMIT_SIZE - info->xmit_head)); in mxser_write()
1112 (SERIAL_XMIT_SIZE - 1); in mxser_write()
1144 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) in mxser_put_char()
1149 info->xmit_head &= SERIAL_XMIT_SIZE - 1; in mxser_put_char()
1191 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()
Dsynclink.c314 #ifndef SERIAL_XMIT_SIZE
315 #define SERIAL_XMIT_SIZE 4096 macro
2019 if (info->xmit_cnt < SERIAL_XMIT_SIZE - 1) { in mgsl_put_char()
2021 info->xmit_head &= SERIAL_XMIT_SIZE-1; in mgsl_put_char()
2174 min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mgsl_write()
2175 SERIAL_XMIT_SIZE - info->xmit_head)); in mgsl_write()
2182 (SERIAL_XMIT_SIZE-1)); in mgsl_write()
2220 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; in mgsl_write_room()
5532 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1); in usc_load_txfifo()
5534 info->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1); in usc_load_txfifo()
[all …]
Dmips_ejtag_fdc.c919 priv->xmit_size = min(tx_fifo * 4, (unsigned int)SERIAL_XMIT_SIZE); in mips_ejtag_fdc_tty_probe()
/Linux-v5.10/drivers/net/wan/
Dz85230.h428 #define SERIAL_XMIT_SIZE 4096 macro
/Linux-v5.10/drivers/tty/serial/
Dowl-uart.c200 xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1); in owl_uart_send_chars()
Dmeson_uart.c160 xmit->tail = (xmit->tail+1) & (SERIAL_XMIT_SIZE - 1); in meson_uart_start_tx()
Drda-uart.c354 xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1); in rda_uart_send_chars()