Home
last modified time | relevance | path

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

/hardware/broadcom/libbt/src/
Duserial_vendor.c72 static vnd_userial_cb_t vnd_userial; variable
146 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) in userial_ioctl_init_bt_wake()
179 vnd_userial.fd = -1; in userial_vendor_init()
180 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", \ in userial_vendor_init()
200 vnd_userial.fd = -1; in userial_vendor_open()
243 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
245 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) in userial_vendor_open()
247 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
251 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
253 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhci_uart.c59 vnd_userial_cb_t vnd_userial; variable
217 vnd_userial.fd = -1; in userial_vendor_init()
218 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
237 vnd_userial.fd = -1; in userial_vendor_open()
280 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
282 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
284 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); in userial_vendor_open()
288 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
290 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
291 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/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/msm8998/libbt-vendor/src/
Dhci_uart.c61 vnd_userial_cb_t vnd_userial; variable
219 vnd_userial.fd = -1; in userial_vendor_init()
220 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE); in userial_vendor_init()
239 vnd_userial.fd = -1; in userial_vendor_open()
282 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); in userial_vendor_open()
284 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR|O_NOCTTY)) == -1) in userial_vendor_open()
286 ALOGE("userial vendor open: unable to open %s: %s(%d)", vnd_userial.port_name, in userial_vendor_open()
291 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
293 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
294 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c866 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op()
976vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
1048 vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
1300 ret = write (vnd_userial.fd, &trig_ssr, 1); in ssr_cleanup()
/hardware/qcom/sdm845/bt/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: %s(%d)", vnd_userial.port_name, in userial_vendor_open()
288 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
290 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
291 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
[all …]
Dbt_vendor_qcom.c906 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in __op()
1016vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in __op()
1089 vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in __op()
1360 ret = write (vnd_userial.fd, &trig_ssr, 1); in ssr_cleanup()
/hardware/qcom/bt/msm8909w_3100/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.c902 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in __op()
1010vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in __op()
1076 vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in __op()
1347 ret = write (vnd_userial.fd, &trig_ssr, 1); in ssr_cleanup()
/hardware/qcom/bt/msm8909/libbt-vendor/include/
Dhci_uart.h167 extern vnd_userial_cb_t vnd_userial;
/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/sdm845/bt/libbt-vendor/include/
Dhci_uart.h171 extern vnd_userial_cb_t vnd_userial;
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/include/
Dhci_uart.h171 extern vnd_userial_cb_t vnd_userial;
/hardware/qcom/bt/msm8998/libbt-vendor/include/
Dhci_uart.h172 extern vnd_userial_cb_t vnd_userial;