Searched refs:tx_put (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/tty/ |
D | cyclades.c | 1015 __u32 tx_put, tx_get, tx_bufsize, tx_bufaddr; in cyz_handle_tx() local 1021 tx_put = readl(&buf_ctrl->tx_put); 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() 1039 cy_writeb(cinfo->base_addr + tx_bufaddr + tx_put, data); in cyz_handle_tx() 1040 tx_put = (tx_put + 1) & (tx_bufsize - 1); in cyz_handle_tx() 1047 tx_bufsize - tx_put, min_t(unsigned int, in cyz_handle_tx() 1052 memcpy_toio((char *)(cinfo->base_addr + tx_bufaddr + tx_put), in cyz_handle_tx() 1056 tx_put = (tx_put + small_count) & (tx_bufsize - 1); in cyz_handle_tx() [all …]
|
D | synclinkmp.c | 168 int tx_put; member 946 info->max_frame_size - info->tx_put)); in write() 950 memcpy(info->tx_buf + info->tx_put, buf, c); in write() 953 info->tx_put += c; in write() 954 if (info->tx_put >= info->max_frame_size) in write() 955 info->tx_put -= info->max_frame_size; in write() 1011 info->tx_buf[info->tx_put++] = ch; in put_char() 1012 if (info->tx_put >= info->max_frame_size) in put_char() 1013 info->tx_put -= info->max_frame_size; in put_char() 1192 info->tx_count = info->tx_put = info->tx_get = 0; in flush_buffer() [all …]
|
/Linux-v5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 151 int tx_put; member 972 info->tx_count = info->tx_put = info->tx_get = 0; in tx_done() 1375 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_program_hw() 1505 info->tx_buf[info->tx_put++] = ch; in mgslpc_put_char() 1506 info->tx_put &= TXBUFSIZE-1; in mgslpc_put_char() 1583 TXBUFSIZE - info->tx_put)); in mgslpc_write() 1587 memcpy(info->tx_buf + info->tx_put, buf, c); in mgslpc_write() 1590 info->tx_put = (info->tx_put + c) & (TXBUFSIZE-1); in mgslpc_write() 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() [all …]
|
/Linux-v5.10/include/uapi/linux/ |
D | cyclades.h | 428 __u32 tx_put; /* head index tx buf */ member
|