Home
last modified time | relevance | path

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

/hardware/broadcom/libbt/src/
Duserial_vendor.c71 static vnd_userial_cb_t vnd_userial; variable
145 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) in userial_ioctl_init_bt_wake()
178 vnd_userial.fd = -1; in userial_vendor_init()
179 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", \ in userial_vendor_init()
199 vnd_userial.fd = -1; in userial_vendor_open()
242 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
244 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) in userial_vendor_open()
246 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
250 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
252 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhci_uart.c56 vnd_userial_cb_t vnd_userial; variable
214 vnd_userial.fd = -1; in userial_vendor_init()
215 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
234 vnd_userial.fd = -1; in userial_vendor_open()
277 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
279 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
281 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
285 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
287 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
288 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c745 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op()
837vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhci_uart.c56 vnd_userial_cb_t vnd_userial; variable
214 vnd_userial.fd = -1; in userial_vendor_init()
215 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
234 vnd_userial.fd = -1; in userial_vendor_open()
277 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
279 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
281 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
285 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
287 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
288 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c750 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op()
842vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhci_uart.c55 vnd_userial_cb_t vnd_userial; variable
213 vnd_userial.fd = -1; in userial_vendor_init()
214 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
233 vnd_userial.fd = -1; in userial_vendor_open()
276 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
278 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
280 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
284 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
286 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
287 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c769 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op()
871 vnd_userial.fd = fd = connect_to_local_socket("bt_sock"); in op()
1089 ret = write (vnd_userial.fd, &trig_ssr, 1); in ssr_cleanup()
/hardware/qcom/bt/msm8996/libbt-vendor/include/
Dhci_uart.h167 extern vnd_userial_cb_t vnd_userial;
/hardware/qcom/bt/msm8992/libbt-vendor/include/
Dhci_uart.h167 extern vnd_userial_cb_t vnd_userial;
/hardware/qcom/bt/msm8909/libbt-vendor/include/
Dhci_uart.h167 extern vnd_userial_cb_t vnd_userial;