Home
last modified time | relevance | path

Searched refs:vnd_userial (Results 1 – 13 of 13) 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/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/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/msm8996/libbt-vendor/src/
Dhci_uart.c58 vnd_userial_cb_t vnd_userial; variable
216 vnd_userial.fd = -1; in userial_vendor_init()
217 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
236 vnd_userial.fd = -1; in userial_vendor_open()
279 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
281 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
283 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
287 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
289 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
290 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c797 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op()
897vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
1128 ret = write (vnd_userial.fd, &trig_ssr, 1); in ssr_cleanup()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhci_uart.c57 vnd_userial_cb_t vnd_userial; variable
215 vnd_userial.fd = -1; in userial_vendor_init()
216 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
235 vnd_userial.fd = -1; in userial_vendor_open()
278 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
280 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
282 ALOGE("userial vendor open: unable to open %s: %s(%d)", vnd_userial.port_name, in userial_vendor_open()
287 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
289 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
290 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c886 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op()
996vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
1066 vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
1319 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;
/hardware/qcom/bt/msm8998/libbt-vendor/include/
Dhci_uart.h171 extern vnd_userial_cb_t vnd_userial;