Home
last modified time | relevance | path

Searched refs:userial_cb (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/bluedroid/hci/src/
Duserial.c87 static tUSERIAL_CB userial_cb; variable
238 rx_length = select_read(userial_cb.fd, p, READ_LIMIT); in userial_read_thread()
252 utils_enqueue(&(userial_cb.rx_q), p_buf); in userial_read_thread()
290 memset(&userial_cb, 0, sizeof(tUSERIAL_CB)); in userial_init()
291 userial_cb.fd = -1; in userial_init()
292 utils_queue_init(&(userial_cb.rx_q)); in userial_init()
342 userial_cb.fd = fd_array[0]; in userial_open()
351 if (userial_cb.fd == -1) in userial_open()
357 USERIALDBG( "fd = %d", userial_cb.fd); in userial_open()
359 userial_cb.port = port; in userial_open()
[all …]
Duserial_mct.c90 static tUSERIAL_CB userial_cb; variable
157 FD_SET(userial_cb.fd[CH_EVT], &input); in userial_read_thread()
158 FD_SET(userial_cb.fd[CH_ACL_IN], &input); in userial_read_thread()
162 fd_max = (fd_max>userial_cb.fd[CH_EVT]) ? fd_max : userial_cb.fd[CH_EVT]; in userial_read_thread()
163 fd_max = (fd_max>userial_cb.fd[CH_ACL_IN]) ? fd_max : userial_cb.fd[CH_ACL_IN]; in userial_read_thread()
192 if (FD_ISSET(userial_cb.fd[CH_EVT], &input)) in userial_read_thread()
197 if (FD_ISSET(userial_cb.fd[CH_ACL_IN], &input)) in userial_read_thread()
234 memset(&userial_cb, 0, sizeof(tUSERIAL_CB)); in userial_init()
236 userial_cb.fd[idx] = -1; in userial_init()
237 utils_queue_init(&(userial_cb.rx_q)); in userial_init()
[all …]