/external/bluetooth/bluedroid/udrv/ulinux/ |
uipc.c | 118 static int uipc_close_ch_locked(tUIPC_CH_ID ch_id); 277 static int uipc_check_fd_locked(tUIPC_CH_ID ch_id) 279 if (ch_id >= UIPC_CH_NUM) 282 //BTIF_TRACE_EVENT("CHECK SRVFD %d (ch %d)", uipc_main.ch[ch_id].srvfd, ch_id); 284 if (SAFE_FD_ISSET(uipc_main.ch[ch_id].srvfd, &uipc_main.read_set)) 286 BTIF_TRACE_EVENT("INCOMING CONNECTION ON CH %d", ch_id); 288 uipc_main.ch[ch_id].fd = accept_server_socket(uipc_main.ch[ch_id].srvfd); 290 BTIF_TRACE_EVENT("NEW FD %d", uipc_main.ch[ch_id].fd) 489 int ch_id; local [all...] |
/external/bluetooth/bluedroid/udrv/include/ |
uipc.h | 53 typedef void (tUIPC_RCV_CBACK)(tUIPC_CH_ID ch_id, tUIPC_EVENT event); /* points to BT_HDR which describes event type and length of data; len contains the number of bytes of entire message (sizeof(BT_HDR) + offset + size of data) */ 83 UDRV_API extern BOOLEAN UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback); 94 UDRV_API extern void UIPC_Close(tUIPC_CH_ID ch_id); 106 UDRV_API extern BOOLEAN UIPC_SendBuf(tUIPC_CH_ID ch_id, BT_HDR *p_msg); 117 UDRV_API extern BOOLEAN UIPC_Send(tUIPC_CH_ID ch_id, UINT16 msg_evt, UINT8 *p_buf, UINT16 msglen); 128 UDRV_API extern UINT32 UIPC_Read(tUIPC_CH_ID ch_id, UINT16 *p_msg_evt, UINT8 *p_buf, UINT32 len); 139 UDRV_API extern BOOLEAN UIPC_Ioctl(tUIPC_CH_ID ch_id, UINT32 request, void *param);
|
/external/libnfc-nci/src/udrv/include/ |
uipc.h | 93 UDRV_API extern BOOLEAN UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback); 104 UDRV_API extern void UIPC_Close(tUIPC_CH_ID ch_id); 116 UDRV_API extern BOOLEAN UIPC_SendBuf(tUIPC_CH_ID ch_id, BT_HDR *p_msg); 127 UDRV_API extern BOOLEAN UIPC_Send(tUIPC_CH_ID ch_id, UINT16 msg_evt, UINT8 *p_buf, UINT16 msglen); 138 UDRV_API extern UINT32 UIPC_Read(tUIPC_CH_ID ch_id, UINT16 *p_msg_evt, UINT8 *p_buf, UINT32 len); 149 UDRV_API extern BOOLEAN UIPC_Ioctl(tUIPC_CH_ID ch_id, UINT32 request, void *param);
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera_interface.h | 207 uint32_t ch_id; member in struct:__anon4041 223 uint32_t ch_id, uint32_t stream_id, 230 uint32_t ch_id, uint32_t stream_id, 267 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id, 290 /* ch_id returned, zero is invalid ch_id */ 293 void (*ch_release) (uint32_t camera_handle, uint32_t ch_id); 299 uint32_t (*add_stream) (uint32_t camera_handle, uint32_t ch_id, 303 int32_t (*del_stream) (uint32_t camera_handle, uint32_t ch_id, 306 int32_t (*config_stream) (uint32_t camera_handle, uint32_t ch_id, [all...] |
mm_camera.h | 495 uint32_t ch_id, 513 uint32_t ch_id); 515 uint32_t ch_id, 519 uint32_t ch_id, 522 uint32_t ch_id, 526 uint32_t ch_id, 533 uint32_t ch_id); 535 uint32_t ch_id, 539 uint32_t ch_id, 543 uint32_t ch_id, [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera_interface.h | 187 uint32_t ch_id; member in struct:__anon3556 203 uint32_t ch_id, uint32_t stream_id, 210 uint32_t ch_id, uint32_t stream_id, 228 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id, 247 /* ch_id returned, zero is invalid ch_id */ 250 void (*ch_release) (uint32_t camera_handle, uint32_t ch_id); 256 uint32_t (*add_stream) (uint32_t camera_handle, uint32_t ch_id, 260 int32_t (*del_stream) (uint32_t camera_handle, uint32_t ch_id, 263 int32_t (*config_stream) (uint32_t camera_handle, uint32_t ch_id, [all...] |
mm_camera.h | 459 uint32_t ch_id, 475 uint32_t ch_id); 477 uint32_t ch_id, 481 uint32_t ch_id, 484 uint32_t ch_id, 488 uint32_t ch_id, 495 uint32_t ch_id); 497 uint32_t ch_id, 501 uint32_t ch_id, 505 uint32_t ch_id, [all...] |
/device/moto/shamu/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 84 * @ch_id : channel handler to uniquely ideentify a channel 92 uint32_t ch_id; member in struct:__anon4360 399 * @ch_id : channel id 403 int32_t (*start_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 408 * @ch_id : channel id 412 int32_t (*stop_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 416 * @ch_id : channel handler 420 * Return value: channel id, zero is invalid ch_id 431 * @ch_id : channel handler 436 uint32_t ch_id); [all...] |
/device/asus/flo/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 83 * @ch_id : channel handler to uniquely ideentify a channel 91 uint32_t ch_id; member in struct:__anon2758 394 * @ch_id : channel handler 398 * Return value: channel id, zero is invalid ch_id 409 * @ch_id : channel handler 414 uint32_t ch_id); 419 * @ch_id : channel handler 425 uint32_t ch_id, 430 * @ch_id : channel handler 434 uint32_t ch_id); [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 83 * @ch_id : channel handler to uniquely ideentify a channel 91 uint32_t ch_id; member in struct:__anon3264 394 * @ch_id : channel handler 398 * Return value: channel id, zero is invalid ch_id 409 * @ch_id : channel handler 414 uint32_t ch_id); 419 * @ch_id : channel handler 425 uint32_t ch_id, 430 * @ch_id : channel handler 434 uint32_t ch_id); [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 251 uint32_t ch_id = 0; local 261 ch_id = mm_camera_add_channel(my_obj); 265 CDBG("%s :X ch_id = %d",__func__,ch_id); 266 return ch_id; 269 static void mm_camera_intf_del_channel(uint32_t camera_handler, uint32_t ch_id) 273 CDBG("%s :E ch_id = %d",__func__,ch_id); 280 mm_camera_del_channel(my_obj, ch_id); 347 uint32_t ch_id, [all...] |
mm_camera.c | 250 uint32_t ch_id, 258 /* TODO: need to change the ch evt struct to include ch_id and stream_id. */ 474 uint32_t ch_id, 479 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 414 uint32_t ch_id = 0; local 424 ch_id = mm_camera_add_channel(my_obj, attr, channel_cb, userdata); 428 CDBG("%s :X ch_id = %d", __func__, ch_id); 429 return ch_id; 439 * @ch_id : channel handle 448 uint32_t ch_id) 453 CDBG("%s :E ch_id = %d", __func__, ch_id); 460 rc = mm_camera_del_channel(my_obj, ch_id); [all...] |
mm_camera.c | 468 * @ch_id : channel handle 476 uint32_t ch_id, 481 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); 750 * @ch_id : channel handle 759 uint32_t ch_id) 763 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 789 * @ch_id : channel handle 799 uint32_t ch_id, 804 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 827 * @ch_id : channel handl [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 217 uint32_t ch_id = 0; local 227 ch_id = mm_camera_add_channel(my_obj); 231 CDBG("%s :X ch_id = %d",__func__,ch_id); 232 return ch_id; 235 static void mm_camera_intf_del_channel(uint32_t camera_handler, uint32_t ch_id) 239 CDBG("%s :E ch_id = %d",__func__,ch_id); 246 mm_camera_del_channel(my_obj, ch_id); 313 uint32_t ch_id, [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 469 uint32_t ch_id = 0; local 479 ch_id = mm_camera_add_channel(my_obj, attr, channel_cb, userdata); 483 CDBG("%s :X ch_id = %d", __func__, ch_id); 484 return ch_id; 494 * @ch_id : channel handle 503 uint32_t ch_id) 508 CDBG("%s :E ch_id = %d", __func__, ch_id); 515 rc = mm_camera_del_channel(my_obj, ch_id); [all...] |
mm_camera.c | 459 * @ch_id : channel handle 467 uint32_t ch_id, 472 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); 744 * @ch_id : channel handle 753 uint32_t ch_id) 757 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 783 * @ch_id : channel handle 793 uint32_t ch_id, 798 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 821 * @ch_id : channel handl [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 469 uint32_t ch_id = 0; local 479 ch_id = mm_camera_add_channel(my_obj, attr, channel_cb, userdata); 483 CDBG("%s :X ch_id = %d", __func__, ch_id); 484 return ch_id; 494 * @ch_id : channel handle 503 uint32_t ch_id) 508 CDBG("%s :E ch_id = %d", __func__, ch_id); 515 rc = mm_camera_del_channel(my_obj, ch_id); [all...] |
mm_camera.c | 461 * @ch_id : channel handle 469 uint32_t ch_id, 474 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); 746 * @ch_id : channel handle 755 uint32_t ch_id) 759 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 785 * @ch_id : channel handle 795 uint32_t ch_id, 800 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 823 * @ch_id : channel handl [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 478 uint32_t ch_id, 498 uint32_t ch_id); 500 uint32_t ch_id); 506 uint32_t ch_id); 508 uint32_t ch_id, 511 uint32_t ch_id); 513 uint32_t ch_id, 516 uint32_t ch_id, 520 uint32_t ch_id); 522 uint32_t ch_id); [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_pp.c | 73 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); 79 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) { 109 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); 115 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) 149 pme->ch_id, 188 pme->ch_id, 203 pme->ch_id, 213 pme->ch_id, 222 pme->ch_id, 232 pme->ch_id, [all...] |
mm_qcamera_preview.c | 299 uint32_t ch_id, uint32_t stream_id, 318 uint32_t ch_id, uint32_t stream_id, 393 uint32_t ch_id, uint32_t stream_id, 444 uint32_t ch_id, uint32_t stream_id, 470 ch_id, stream_id, 479 ch_id, stream_id, 488 ch_id, stream_id, 497 ch_id, stream_id, 513 uint32_t ch_id, uint32_t stream_id, 544 uint32_t ch_id, uint32_t stream_id [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 427 uint32_t ch_id, 451 uint32_t ch_id); 453 uint32_t ch_id, 456 uint32_t ch_id); 458 uint32_t ch_id, 461 uint32_t ch_id, 465 uint32_t ch_id); 467 uint32_t ch_id); 469 uint32_t ch_id, 472 uint32_t ch_id); [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 429 uint32_t ch_id, 453 uint32_t ch_id); 455 uint32_t ch_id, 458 uint32_t ch_id); 460 uint32_t ch_id, 463 uint32_t ch_id, 467 uint32_t ch_id); 469 uint32_t ch_id); 471 uint32_t ch_id, 474 uint32_t ch_id); [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { 138 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 153 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_RDI].id, 160 pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 176 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_PREVIEW].id, 209 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,num_of_streams,&stream))) { 265 if (MM_CAMERA_OK != (rc = pme->cam->ops->stop_streams(pme->cam->camera_handle,pme->ch_id,num_of_streams,&stream))) { 271 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_PREVIEW].id))) 277 if (MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_RDI].id))) {
|