Searched refs:vnd_userial (Results 1 – 1 of 1) sorted by relevance
70 static vnd_userial_cb_t vnd_userial; variable164 vnd_userial.fd = -1; in userial_vendor_init()165 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", \ in userial_vendor_init()185 vnd_userial.fd = -1; in userial_vendor_open()228 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()230 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) in userial_vendor_open()232 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()236 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()238 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()239 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()[all …]