Searched refs:tty_fd (Results 1 – 2 of 2) sorted by relevance
31 pd.fd = backend->tty_fd; in modem_backend_tty_routine()60 backend->tty_fd = open(backend->tty_path, (O_RDWR | O_NONBLOCK), 0644); in modem_backend_tty_open()61 if (backend->tty_fd < 0) { in modem_backend_tty_open()78 ret = write(backend->tty_fd, buf, size); in modem_backend_tty_transmit()88 ret = read(backend->tty_fd, buf, size); in modem_backend_tty_receive()101 close(backend->tty_fd); in modem_backend_tty_close()
24 int tty_fd; member