Searched refs:vnd_userial (Results 1 - 2 of 2) sorted by relevance
/vendor/hihope/dayu210/bluetooth/src/ |
H A D | userial_vendor.c | 77 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() 200 vnd_userial.fd = -1; in userial_vendor_open() 212 HILOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open() 214 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) { in userial_vendor_open() 218 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open() 220 tcgetattr(vnd_userial in userial_vendor_open() [all...] |
/vendor/hihope/rk3568/bluetooth/src/ |
H A D | userial_vendor.c | 77 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 in userial_vendor_open() [all...] |
Completed in 1 milliseconds