Lines Matching refs:buffer
1624 * Function 19: Flush the Rx/Tx buffer data of this port.
1629 * 0 : flush the Rx buffer
1630 * 1 : flush the Tx buffer
1631 * 2 : flush the Rx and Tx buffer
1636 * int MoxaPortWriteData(int port, unsigned char * buffer, int length);
1638 * unsigned char * buffer : pointer to write data buffer.
1653 * Function 24: Get the Tx buffer current queued data bytes
1658 * return: .. : Tx buffer current queued data bytes
1661 * Function 25: Get the Tx buffer current free space
1666 * return: .. : Tx buffer current free space
1669 * Function 26: Get the Rx buffer current queued data bytes
1674 * return: .. : Rx buffer current queued data bytes
1867 const unsigned char *buffer, int len)
1897 memcpy_toio(ofs, buffer, len);
1898 buffer += len;
1911 memcpy_toio(ofs, buffer, len);
1912 buffer += len;