/external/bluetooth/bluedroid/udrv/ulinux/ |
uipc.c | 113 static int uipc_close_ch_locked(tUIPC_CH_ID ch_id); 149 static void uipc_wait(tUIPC_CH_ID ch_id, tUIPC_EVENT wait_event_flags) 152 tUIPC_CHAN *p = &uipc_main.ch[ch_id]; 154 //BTIF_TRACE_EVENT2("WAIT UIPC CH %d EVT %x BEGIN", ch_id, wait_event_flags); 159 //BTIF_TRACE_EVENT2("WAIT UIPC CH %d EVT %x DONE", ch_id, wait_event_flags); 162 static void uipc_signal(tUIPC_CH_ID ch_id, tUIPC_EVENT event) 165 tUIPC_CHAN *p = &uipc_main.ch[ch_id]; 167 //BTIF_TRACE_EVENT2("SIGNAL UIPC CH %d EVT %x BEGIN", ch_id, dump_uipc_event(event)); 314 static int uipc_check_fd_locked(tUIPC_CH_ID ch_id) 316 if (ch_id >= UIPC_CH_NUM 516 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/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera_interface.h | 187 uint32_t ch_id; member in struct:__anon2097 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/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:__anon1745 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...] |
/hardware/qcom/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:__anon33174 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/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...] |
mm_camera.c | 184 uint32_t ch_id, 192 /* TODO: need to change the ch evt struct to include ch_id and stream_id. */ 414 uint32_t ch_id, 419 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); 776 uint32_t ch_id) 779 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 798 uint32_t ch_id, 804 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 829 uint32_t ch_id, 834 mm_camera_util_get_channel_by_handler(my_obj, 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...] |
/hardware/qcom/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 | 460 * @ch_id : channel handle 468 uint32_t ch_id, 473 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); 745 * @ch_id : channel handle 754 uint32_t ch_id) 758 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 784 * @ch_id : channel handle 794 uint32_t ch_id, 799 mm_camera_util_get_channel_by_handler(my_obj, ch_id); 822 * @ch_id : channel handl [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...] |
/hardware/qcom/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/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))) {
|
mm_qcamera_preview.c | 231 uint32_t ch_id, uint32_t stream_id, 250 uint32_t ch_id, uint32_t stream_id, 325 uint32_t ch_id, uint32_t stream_id, 408 uint32_t ch_id, uint32_t stream_id, 434 ch_id, stream_id, 443 ch_id, stream_id, 452 ch_id, stream_id, 461 ch_id, stream_id, 477 uint32_t ch_id, uint32_t stream_id, 499 uint32_t ch_id, uint32_t stream_id [all...] |
mm_qcamera_video.c | 88 uint32_t ch_id, uint32_t stream_id, 107 uint32_t ch_id, uint32_t stream_id, 203 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) 222 if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id, 235 if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, 251 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 264 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 287 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id))){ 292 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id))){ 314 if(MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,1,&stream[1])) [all...] |
mm_qcamera_snapshot.c | 322 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,main_frame)) { 325 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,thumb_frame)) { 568 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 579 pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 611 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, 620 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id, 649 pme->cam->camera_handle,pme->ch_id,snapshot_raw_cb,pme,&attr,2,stream))) { 654 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id, 660 if (MM_CAMERA_OK != (rc =pme->cam->ops->request_super_buf(pme->cam->camera_handle,pme->ch_id))) { 680 if (MM_CAMERA_OK != (rc = pme->cam->ops->stop_streams(pme->cam->camera_handle,pme->ch_id,2,&stream))) [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 97 uint32_t ch_id; member in struct:__anon2113 188 uint32_t ch_id, uint32_t stream_id, 196 uint32_t ch_id, uint32_t stream_id,
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 624 uint32_t ch_id = 0; local 627 ch_id = test_obj->cam->ops->add_channel(test_obj->cam->camera_handle, 631 if (ch_id == 0) { 636 channel->ch_id = ch_id; 644 channel->ch_id); 658 channel->ch_id); 674 channel->ch_id, 682 channel->ch_id, 693 channel->ch_id, [all...] |
mm_qcamera_preview.c | 46 bufs->ch_id, 71 if (pme->channels[i].ch_id == bufs->ch_id) { 77 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); 130 bufs->ch_id, 139 bufs->ch_id,
|
mm_qcamera_snapshot.c | 63 pme->current_job_frames->ch_id, 175 if (pme->channels[i].ch_id == bufs->ch_id) { 181 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); 252 bufs->ch_id,
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 624 uint32_t ch_id = 0; local 627 ch_id = test_obj->cam->ops->add_channel(test_obj->cam->camera_handle, 631 if (ch_id == 0) { 636 channel->ch_id = ch_id; 644 channel->ch_id); 658 channel->ch_id); 674 channel->ch_id, 682 channel->ch_id, 693 channel->ch_id, [all...] |
mm_qcamera_preview.c | 46 bufs->ch_id, 71 if (pme->channels[i].ch_id == bufs->ch_id) { 77 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); 130 bufs->ch_id, 139 bufs->ch_id,
|