Lines Matching defs:termio
1570 * int MoxaPortSetTermio(int port, struct ktermios *termio, speed_t baud);
1572 * struct ktermios * termio : termio structure pointer
1575 * return: -1 : this port is invalid or termio == NULL
1747 static int MoxaPortSetTermio(struct moxa_port *port, struct ktermios *termio,
1755 mode = termio->c_cflag & CSIZE;
1765 if (termio->c_cflag & CSTOPB) {
1773 if (termio->c_cflag & PARENB) {
1774 if (termio->c_cflag & PARODD) {
1775 if (termio->c_cflag & CMSPAR)
1780 if (termio->c_cflag & CMSPAR)
1795 if (termio->c_iflag & (IXON | IXOFF | IXANY)) {
1797 writeb(termio->c_cc[VSTART], ofsAddr + FuncArg);
1798 writeb(termio->c_cc[VSTOP], ofsAddr + FuncArg1);