Home
last modified time | relevance | path

Searched refs:pfds (Results 1 – 10 of 10) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c79 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
115 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
117 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); 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()
221 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
305 poll_cb->pfds[0] = 0; in mm_camera_poll_thread_launch()
306 poll_cb->pfds[1] = 0; in mm_camera_poll_thread_launch()
307 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
317 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch()
350 if(poll_cb->pfds[0]) { in mm_camera_poll_thread_release()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c98 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
143 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
213 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
215 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); 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()
348 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
498 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch()
499 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch()
500 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
510 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c97 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
143 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
215 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
217 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); 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()
350 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
512 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch()
513 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch()
514 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
524 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c97 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
143 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
215 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
217 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); 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()
350 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
512 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch()
513 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch()
514 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
524 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch()
[all …]
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp365 int AndroidContextHub::ResetPollFds(struct pollfd *pfds, size_t count) { in ResetPollFds() argument
366 memset(pfds, 0, sizeof(struct pollfd) * count); in ResetPollFds()
367 pfds[0].fd = sensor_fd_; in ResetPollFds()
368 pfds[0].events = POLLIN; in ResetPollFds()
372 pfds[1].fd = comms_fd_; in ResetPollFds()
373 pfds[1].events = POLLIN; in ResetPollFds()
Dandroidcontexthub.h63 int ResetPollFds(struct pollfd *pfds, size_t count);
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h150 int32_t pfds[2]; member
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h158 int32_t pfds[2]; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h154 int32_t pfds[2]; member
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h158 int32_t pfds[2]; member