/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 122 poll_cb->num_fds = 0; in mm_camera_poll_proc_pipe() 123 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 124 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 125 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 130 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; in mm_camera_poll_proc_pipe() 131 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 132 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 138 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe() 139 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 140 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 121 poll_cb->num_fds = 0; in mm_camera_poll_proc_pipe() 122 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 123 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 124 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 129 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; in mm_camera_poll_proc_pipe() 130 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 131 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 137 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe() 138 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 139 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 220 poll_cb->num_fds = 0; in mm_camera_poll_proc_pipe() 221 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 222 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 223 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 226 poll_cb->num_fds < MAX_STREAM_NUM_IN_BUNDLE) { in mm_camera_poll_proc_pipe() 229 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; in mm_camera_poll_proc_pipe() 230 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 231 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 234 poll_cb->num_fds <= MAX_STREAM_NUM_IN_BUNDLE) { in mm_camera_poll_proc_pipe() 238 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 217 poll_cb->num_fds = 0; in mm_camera_poll_proc_pipe() 218 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 219 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 220 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 225 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; in mm_camera_poll_proc_pipe() 226 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 227 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 233 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe() 234 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 235 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 220 poll_cb->num_fds = 0; in mm_camera_poll_proc_pipe() 221 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 222 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 223 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 228 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; in mm_camera_poll_proc_pipe() 229 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 230 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() 236 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe() 237 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 238 poll_cb->num_fds++; in mm_camera_poll_proc_pipe() [all …]
|
/device/lge/mako/camera/mm-camera-interface/ |
D | mm_camera_poll_thread.c | 122 for(i = 0; i < poll_cb->data.num_fds-1; i++) { in mm_camera_poll_proc_msm() 175 … poll_cb->data.poll_fd[poll_cb->data.num_fds + i] = poll_cb->data.poll_streams[i]->fd; in mm_camera_poll_proc_pipe() 179 poll_cb->data.num_fds += mm_camera_ch_util_get_num_stream(poll_cb->data.my_obj, in mm_camera_poll_proc_pipe() 182 CDBG("Num fds after MM_CAMERA_PIPE_CMD_ADD_CH = %d",poll_cb->data.num_fds); in mm_camera_poll_proc_pipe() 186 poll_cb->data.num_fds -= mm_camera_ch_util_get_num_stream(poll_cb->data.my_obj, in mm_camera_poll_proc_pipe() 189 CDBG("Num fds after MM_CAMERA_PIPE_CMD_DEL_CH = %d",poll_cb->data.num_fds); in mm_camera_poll_proc_pipe() 261 __func__, poll_cb->data.poll_type, poll_cb->data.num_fds); in mm_camera_poll_fn() 263 for(i = 0; i < poll_cb->data.num_fds; i++) { in mm_camera_poll_fn() 268 rc = poll(fds, poll_cb->data.num_fds, timeoutms); in mm_camera_poll_fn() 290 poll_cb->data.poll_fd[poll_cb->data.num_fds++] = poll_cb->data.pfds[0]; in mm_camera_poll_thread() [all …]
|
D | mm_camera.h | 202 int num_fds; member
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_socket.c | 621 int num_fds = 0; in eztune_proc() local 640 num_fds = TUNESERVER_MAX(server_socket, prev_server_socket); in eztune_proc() 641 CDBG_HIGH("num_fds = %d\n", num_fds); in eztune_proc() 655 result = select(num_fds + 1, &tsfds, NULL, NULL, NULL); in eztune_proc() 675 num_fds = TUNESERVER_MAX(num_fds, client_socket); in eztune_proc() 766 num_fds = TUNESERVER_MAX(num_fds, prev_client_socket); in eztune_proc()
|
/device/generic/goldfish/qemud/ |
D | qemud.c | 335 int num_fds; member 346 l->num_fds = 0; in looper_init() 359 l->num_fds = 0; in looper_done() 372 LoopHook* end = hook + l->num_fds; in looper_find() 394 for (n = 0; n < l->num_fds; n++) { in looper_grow() 413 if (l->num_fds >= l->max_fds) in looper_add() 416 hook = l->hooks + l->num_fds; in looper_add() 431 l->num_fds += 1; in looper_add() 511 count = epoll_wait( l->epoll_fd, l->events, l->num_fds, -1 ); in looper_loop() 533 for (n = 0; n < l->num_fds; n++) { in looper_loop() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 136 uint8_t num_fds; member
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 155 uint8_t num_fds; member
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 136 uint8_t num_fds; member
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 156 uint8_t num_fds; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 160 uint8_t num_fds; member
|