/hardware/broadcom/libbt/src/ |
D | userial_vendor.c | 71 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/ |
D | hci_uart.c | 55 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 …]
|
D | bt_vendor_qcom.c | 769 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/ |
D | hci_uart.c | 56 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 …]
|
D | bt_vendor_qcom.c | 750 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op() 842 … vnd_userial.fd = fd_filter = connect_to_local_socket("bt_sock"); in op()
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hci_uart.c | 58 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 …]
|
D | bt_vendor_qcom.c | 797 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op() 897 … vnd_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/ |
D | hci_uart.c | 57 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 …]
|
D | bt_vendor_qcom.c | 886 if(ath3k_init(fd,3000000,115200,NULL,&vnd_userial.termios)<0) in op() 996 … vnd_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/ |
D | hci_uart.h | 167 extern vnd_userial_cb_t vnd_userial;
|
/hardware/qcom/bt/msm8992/libbt-vendor/include/ |
D | hci_uart.h | 167 extern vnd_userial_cb_t vnd_userial;
|
/hardware/qcom/bt/msm8909/libbt-vendor/include/ |
D | hci_uart.h | 167 extern vnd_userial_cb_t vnd_userial;
|
/hardware/qcom/bt/msm8998/libbt-vendor/include/ |
D | hci_uart.h | 171 extern vnd_userial_cb_t vnd_userial;
|