Home
last modified time | relevance | path

Searched refs:tx_get (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/char/pcmcia/
Dsynclink_cs.c152 int tx_get; member
972 info->tx_count = info->tx_put = info->tx_get = 0; in tx_done()
1022 c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get))); in tx_ready()
1025 write_reg(info, CHA + TXFIFO, *(info->tx_buf + info->tx_get)); in tx_ready()
1028 *((unsigned short*)(info->tx_buf + info->tx_get))); in tx_ready()
1031 info->tx_get = (info->tx_get + c) & (TXBUFSIZE - 1); in tx_ready()
1375 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_program_hw()
1681 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_flush_buffer()
1919 info->tx_count = info->tx_put = info->tx_get = 0; in tx_abort()
3849 info->tx_count = info->tx_put = info->tx_get = 0; in tx_timeout()
[all …]
/Linux-v5.10/drivers/tty/
Dcyclades.c1015 __u32 tx_put, tx_get, tx_bufsize, tx_bufaddr; in cyz_handle_tx() local
1020 tx_get = readl(&buf_ctrl->tx_get); in cyz_handle_tx()
1024 if (tx_put >= tx_get) in cyz_handle_tx()
1025 char_count = tx_get - tx_put - 1 + tx_bufsize; in cyz_handle_tx()
1027 char_count = tx_get - tx_put - 1; in cyz_handle_tx()
1908 __u32 tx_put, tx_get, tx_bufsize; in cy_chars_in_buffer() local
1910 tx_get = readl(&buf_ctrl->tx_get); in cy_chars_in_buffer()
1913 if (tx_put >= tx_get) in cy_chars_in_buffer()
1914 char_count = tx_put - tx_get; in cy_chars_in_buffer()
1916 char_count = tx_put - tx_get + tx_bufsize; in cy_chars_in_buffer()
Dsynclinkmp.c169 int tx_get; member
1192 info->tx_count = info->tx_put = info->tx_get = 0; in flush_buffer()
2230 info->tx_count = info->tx_put = info->tx_get = 0; in isr_txeom()
2702 info->tx_count = info->tx_put = info->tx_get = 0; in program_hw()
4291 TwoBytes[0] = info->tx_buf[info->tx_get++]; in tx_load_fifo()
4292 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4293 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4294 TwoBytes[1] = info->tx_buf[info->tx_get++]; in tx_load_fifo()
4295 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4296 info->tx_get -= info->max_frame_size; in tx_load_fifo()
[all …]
/Linux-v5.10/include/uapi/linux/
Dcyclades.h427 __u32 tx_get; /* tail index tx buf */ member