Home
last modified time | relevance | path

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

/vendor/hihope/rk3568/bluetooth/src/
Duserial_vendor.c77 static vnd_userial_cb_t vnd_userial; variable
152 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) { in userial_ioctl_init_bt_wake()
181 vnd_userial.fd = -1; in userial_vendor_init()
182 (void)snprintf_s(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, VND_PORT_NAME_MAXLEN, "%s", in userial_vendor_init()
202 vnd_userial.fd = -1; in userial_vendor_open()
229 HILOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
231 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) { in userial_vendor_open()
235 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
237 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
238 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]