Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/
Dcyclades.c1690 volatile uclong tx_put, tx_get, tx_bufsize, tx_bufaddr; in cyz_handle_tx() local
1696 tx_put = cy_readl(&buf_ctrl->tx_put); in cyz_handle_tx()
1699 if (tx_put >= tx_get) in cyz_handle_tx()
1700 char_count = tx_get - tx_put - 1 + tx_bufsize; in cyz_handle_tx()
1702 char_count = tx_get - tx_put - 1; in cyz_handle_tx()
1713 cy_writeb((cinfo->base_addr + tx_bufaddr + tx_put), data); in cyz_handle_tx()
1714 tx_put = (tx_put + 1) & (tx_bufsize - 1); in cyz_handle_tx()
1723 min_t(unsigned int, (tx_bufsize - tx_put), in cyz_handle_tx()
1727 memcpy_toio((char *)(cinfo->base_addr + tx_bufaddr + tx_put), in cyz_handle_tx()
1731 tx_put = (tx_put + small_count) & (tx_bufsize - 1); in cyz_handle_tx()
[all …]
Dsynclinkmp.c184 int tx_put; member
1084 info->max_frame_size - info->tx_put)); in write()
1089 COPY_FROM_USER(err, info->tx_buf + info->tx_put, buf, c); in write()
1096 memcpy(info->tx_buf + info->tx_put, buf, c); in write()
1099 info->tx_put += c; in write()
1100 if (info->tx_put >= info->max_frame_size) in write()
1101 info->tx_put -= info->max_frame_size; in write()
1156 info->tx_buf[info->tx_put++] = ch; in put_char()
1157 if (info->tx_put >= info->max_frame_size) in put_char()
1158 info->tx_put -= info->max_frame_size; in put_char()
[all …]
/linux-2.4.37.9/drivers/char/pcmcia/
Dsynclink_cs.c176 int tx_put; member
1214 info->tx_count = info->tx_put = info->tx_get = 0; in tx_done()
1613 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_program_hw()
1750 info->tx_buf[info->tx_put++] = ch; in mgslpc_put_char()
1751 info->tx_put &= TXBUFSIZE-1; in mgslpc_put_char()
1828 TXBUFSIZE - info->tx_put)); in mgslpc_write()
1833 COPY_FROM_USER(err, info->tx_buf + info->tx_put, buf, c); in mgslpc_write()
1840 memcpy(info->tx_buf + info->tx_put, buf, c); in mgslpc_write()
1843 info->tx_put = (info->tx_put + c) & (TXBUFSIZE-1); in mgslpc_write()
1934 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_flush_buffer()
[all …]
/linux-2.4.37.9/include/linux/
Dcyclades.h439 uclong tx_put; /* head index tx buf */ member