Home
last modified time | relevance | path

Searched refs:termio (Results 1 – 8 of 8) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/uart/
Duart.c218 struct termios termio; in mraa_uart_init_raw() local
221 if (tcgetattr(dev->fd, &termio)) { in mraa_uart_init_raw()
231 cfmakeraw(&termio); in mraa_uart_init_raw()
232 if (tcsetattr(dev->fd, TCSAFLUSH, &termio) < 0) { in mraa_uart_init_raw()
289 struct termios termio; in mraa_uart_set_baudrate() local
290 if (tcgetattr(dev->fd, &termio)) { in mraa_uart_set_baudrate()
297 cfsetispeed(&termio, speed); in mraa_uart_set_baudrate()
298 cfsetospeed(&termio, speed); in mraa_uart_set_baudrate()
301 if (tcsetattr(dev->fd, TCSAFLUSH, &termio) < 0) { in mraa_uart_set_baudrate()
316 struct termios termio; in mraa_uart_set_mode() local
[all …]
/hardware/bsp/intel/peripheral/libupm/src/ublox6/
Dublox6.cxx142 struct termios termio; in setupTty() local
145 tcgetattr(m_ttyFd, &termio); in setupTty()
149 cfmakeraw(&termio); in setupTty()
152 cfsetispeed(&termio, baud); in setupTty()
153 cfsetospeed(&termio, baud); in setupTty()
157 if ( (rv = tcsetattr(m_ttyFd, TCSAFLUSH, &termio)) < 0) in setupTty()
/hardware/bsp/intel/peripheral/libupm/src/hm11/
Dhm11.cxx145 struct termios termio; in setupTty() local
148 tcgetattr(m_ttyFd, &termio); in setupTty()
152 cfmakeraw(&termio); in setupTty()
155 cfsetispeed(&termio, baud); in setupTty()
156 cfsetospeed(&termio, baud); in setupTty()
159 if (tcsetattr(m_ttyFd, TCSAFLUSH, &termio) < 0) in setupTty()
/hardware/bsp/intel/peripheral/libupm/src/mhz16/
Dmhz16.cxx149 struct termios termio; in setupTty() local
152 tcgetattr(m_ttyFd, &termio); in setupTty()
156 cfmakeraw(&termio); in setupTty()
159 cfsetispeed(&termio, baud); in setupTty()
160 cfsetospeed(&termio, baud); in setupTty()
163 if (tcsetattr(m_ttyFd, TCSAFLUSH, &termio) < 0) in setupTty()
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/
Dhmtrp.cxx151 struct termios termio; in setupTty() local
154 tcgetattr(m_ttyFd, &termio); in setupTty()
158 cfmakeraw(&termio); in setupTty()
161 cfsetispeed(&termio, baud); in setupTty()
162 cfsetospeed(&termio, baud); in setupTty()
165 if (tcsetattr(m_ttyFd, TCSAFLUSH, &termio) < 0) in setupTty()
/hardware/bsp/intel/peripheral/libupm/src/grovescam/
Dgrovescam.cxx161 struct termios termio; in setupTty() local
164 tcgetattr(m_ttyFd, &termio); in setupTty()
168 cfmakeraw(&termio); in setupTty()
171 cfsetispeed(&termio, baud); in setupTty()
172 cfsetospeed(&termio, baud); in setupTty()
175 if (tcsetattr(m_ttyFd, TCSAFLUSH, &termio) < 0) in setupTty()
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.cxx162 struct termios termio; in setupTty() local
165 tcgetattr(m_ttyFd, &termio); in setupTty()
169 cfmakeraw(&termio); in setupTty()
172 cfsetispeed(&termio, baud); in setupTty()
173 cfsetospeed(&termio, baud); in setupTty()
176 if (tcsetattr(m_ttyFd, TCSAFLUSH, &termio) < 0) in setupTty()
/hardware/bsp/intel/peripheral/libupm/src/wt5001/
Dwt5001.cxx150 struct termios termio; in setupTty() local
153 tcgetattr(m_ttyFd, &termio); in setupTty()
157 cfmakeraw(&termio); in setupTty()
160 cfsetispeed(&termio, baud); in setupTty()
161 cfsetospeed(&termio, baud); in setupTty()
164 if (tcsetattr(m_ttyFd, TCSAFLUSH, &termio) < 0) in setupTty()