Lines Matching defs:buffer
175 #define IntrTx 0x02 /* transmit buffer empty */
205 #define RXrptr 0x00 /* read pointer for RX buffer */
206 #define RXwptr 0x02 /* write pointer for RX buffer */
207 #define TXrptr 0x04 /* read pointer for TX buffer */
208 #define TXwptr 0x06 /* write pointer for TX buffer */
1924 * Function 19: Flush the Rx/Tx buffer data of this port.
1929 * 0 : flush the Rx buffer
1930 * 1 : flush the Tx buffer
1931 * 2 : flush the Rx and Tx buffer
1936 * int MoxaPortWriteData(int port, unsigned char * buffer, int length);
1938 * unsigned char * buffer : pointer to write data buffer.
1953 * Function 24: Get the Tx buffer current queued data bytes
1958 * return: .. : Tx buffer current queued data bytes
1961 * Function 25: Get the Tx buffer current free space
1966 * return: .. : Tx buffer current free space
1969 * Function 26: Get the Rx buffer current queued data bytes
1974 * return: .. : Rx buffer current queued data bytes
2166 static int MoxaPortWriteData(struct tty_struct *tty, const u8 *buffer, int len)
2196 memcpy_toio(ofs, buffer, len);
2197 buffer += len;
2210 memcpy_toio(ofs, buffer, len);
2211 buffer += len;