Home
last modified time | relevance | path

Searched refs:ch_id (Results 1 – 3 of 3) sorted by relevance

/system/bt/udrv/ulinux/
Duipc.c114 static int uipc_close_ch_locked(tUIPC_CH_ID ch_id);
286 static int uipc_check_fd_locked(tUIPC_CH_ID ch_id) in uipc_check_fd_locked() argument
288 if (ch_id >= UIPC_CH_NUM) in uipc_check_fd_locked()
293 if (SAFE_FD_ISSET(uipc_main.ch[ch_id].srvfd, &uipc_main.read_set)) in uipc_check_fd_locked()
295 BTIF_TRACE_EVENT("INCOMING CONNECTION ON CH %d", ch_id); in uipc_check_fd_locked()
297 uipc_main.ch[ch_id].fd = accept_server_socket(uipc_main.ch[ch_id].srvfd); in uipc_check_fd_locked()
299 BTIF_TRACE_EVENT("NEW FD %d", uipc_main.ch[ch_id].fd); in uipc_check_fd_locked()
301 if ((uipc_main.ch[ch_id].fd > 0) && uipc_main.ch[ch_id].cback) in uipc_check_fd_locked()
305 BTIF_TRACE_EVENT("ADD FD %d TO ACTIVE SET", uipc_main.ch[ch_id].fd); in uipc_check_fd_locked()
306 FD_SET(uipc_main.ch[ch_id].fd, &uipc_main.active_set); in uipc_check_fd_locked()
[all …]
/system/bt/udrv/include/
Duipc.h49 typedef void (tUIPC_RCV_CBACK)(tUIPC_CH_ID ch_id, tUIPC_EVENT event); /* points to BT_HDR which des…
73 BOOLEAN UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback);
84 void UIPC_Close(tUIPC_CH_ID ch_id);
95 BOOLEAN UIPC_Send(tUIPC_CH_ID ch_id, UINT16 msg_evt, UINT8 *p_buf, UINT16 msglen);
106 UINT32 UIPC_Read(tUIPC_CH_ID ch_id, UINT16 *p_msg_evt, UINT8 *p_buf, UINT32 len);
117 BOOLEAN UIPC_Ioctl(tUIPC_CH_ID ch_id, UINT32 request, void *param);
/system/bt/btif/src/
Dbtif_media_task.c351 static void btif_a2dp_data_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event);
352 static void btif_a2dp_ctrl_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event);
695 static void btif_a2dp_ctrl_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event) in btif_a2dp_ctrl_cb() argument
697 UNUSED(ch_id); in btif_a2dp_ctrl_cb()
724 static void btif_a2dp_data_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event) in btif_a2dp_data_cb() argument
726 UNUSED(ch_id); in btif_a2dp_data_cb()