Home
last modified time | relevance | path

Searched refs:num_fds (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c222 poll_cb->num_fds = 0; in mm_camera_poll_proc_pipe()
223 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe()
224 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
225 poll_cb->num_fds++; in mm_camera_poll_proc_pipe()
228 poll_cb->num_fds < MAX_STREAM_NUM_IN_BUNDLE) { in mm_camera_poll_proc_pipe()
231 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; in mm_camera_poll_proc_pipe()
232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
233 poll_cb->num_fds++; in mm_camera_poll_proc_pipe()
236 poll_cb->num_fds <= MAX_STREAM_NUM_IN_BUNDLE) { in mm_camera_poll_proc_pipe()
240 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c622 int num_fds = 0; in eztune_proc() local
641 num_fds = TUNESERVER_MAX(server_socket, prev_server_socket); in eztune_proc()
642 CDBG_HIGH("num_fds = %d\n", num_fds); in eztune_proc()
656 result = select(num_fds + 1, &tsfds, NULL, NULL, NULL); in eztune_proc()
676 num_fds = TUNESERVER_MAX(num_fds, client_socket); in eztune_proc()
767 num_fds = TUNESERVER_MAX(num_fds, prev_client_socket); in eztune_proc()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c601 void parse_events(struct pollfd pfd[], int num_fds) in parse_events() argument
605 for (i = 0; i < num_fds; i++) { in parse_events()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h164 uint8_t num_fds; member