/hardware/bsp/intel/peripheral/libmraa/src/uart/ |
D | uart.c | 218 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/ |
D | ublox6.cxx | 142 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/ |
D | hm11.cxx | 145 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/ |
D | mhz16.cxx | 149 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/ |
D | hmtrp.cxx | 151 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/ |
D | grovescam.cxx | 161 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/ |
D | zfm20.cxx | 162 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/ |
D | wt5001.cxx | 150 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()
|