Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/tty/
Dcyclades.c1019 __u32 tx_put, tx_get, tx_bufsize, tx_bufaddr; in cyz_handle_tx() local
1025 tx_put = readl(&buf_ctrl->tx_put); in cyz_handle_tx()
1028 if (tx_put >= tx_get) in cyz_handle_tx()
1029 char_count = tx_get - tx_put - 1 + tx_bufsize; in cyz_handle_tx()
1031 char_count = tx_get - tx_put - 1; in cyz_handle_tx()
1043 cy_writeb(cinfo->base_addr + tx_bufaddr + tx_put, data); in cyz_handle_tx()
1044 tx_put = (tx_put + 1) & (tx_bufsize - 1); in cyz_handle_tx()
1051 tx_bufsize - tx_put, min_t(unsigned int, in cyz_handle_tx()
1056 memcpy_toio((char *)(cinfo->base_addr + tx_bufaddr + tx_put), in cyz_handle_tx()
1060 tx_put = (tx_put + small_count) & (tx_bufsize - 1); in cyz_handle_tx()
[all …]
Dsynclinkmp.c168 int tx_put; member
951 info->max_frame_size - info->tx_put)); in write()
955 memcpy(info->tx_buf + info->tx_put, buf, c); in write()
958 info->tx_put += c; in write()
959 if (info->tx_put >= info->max_frame_size) in write()
960 info->tx_put -= info->max_frame_size; in write()
1016 info->tx_buf[info->tx_put++] = ch; in put_char()
1017 if (info->tx_put >= info->max_frame_size) in put_char()
1018 info->tx_put -= info->max_frame_size; in put_char()
1197 info->tx_count = info->tx_put = info->tx_get = 0; in flush_buffer()
[all …]
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c151 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()
1512 info->tx_buf[info->tx_put++] = ch; in mgslpc_put_char()
1513 info->tx_put &= TXBUFSIZE-1; in mgslpc_put_char()
1590 TXBUFSIZE - info->tx_put)); in mgslpc_write()
1594 memcpy(info->tx_buf + info->tx_put, buf, c); in mgslpc_write()
1597 info->tx_put = (info->tx_put + c) & (TXBUFSIZE-1); in mgslpc_write()
1688 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_flush_buffer()
1926 info->tx_count = info->tx_put = info->tx_get = 0; in tx_abort()
[all …]
/linux-4.4.14/include/uapi/linux/
Dcyclades.h427 __u32 tx_put; /* head index tx buf */ member