Home
last modified time | relevance | path

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

/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c80 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
116 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
118 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); 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()
222 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
306 poll_cb->pfds[0] = 0; in mm_camera_poll_thread_launch()
307 poll_cb->pfds[1] = 0; in mm_camera_poll_thread_launch()
308 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
318 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch()
351 if(poll_cb->pfds[0]) { in mm_camera_poll_thread_release()
[all …]
/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/lge/mako/camera/mm-camera-interface/
Dmm_camera_poll_thread.c83 len = write(poll_cb->data.pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
156 read_len = read(poll_cb->data.pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
158 __func__, poll_cb->data.pfds[0], (int)read_len, (int)sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
222 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd)); in mm_camera_poll_dispatch_buffered_frames()
248 poll_cb->data.pfds[0], poll_cb->data.pfds[1]); in mm_camera_poll_send_ch_event()
250 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd)); in mm_camera_poll_send_ch_event()
290 poll_cb->data.poll_fd[poll_cb->data.num_fds++] = poll_cb->data.pfds[0]; in mm_camera_poll_thread()
352 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd)); in mm_camera_poll_thread_add_ch()
373 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd)); in mm_camera_poll_thread_del_ch()
391 rc = pipe(poll_cb->data.pfds); in mm_camera_poll_thread_launch()
[all …]
Dmm_camera.h200 int32_t pfds[2]; member
/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/hammerhead/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()
342 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
497 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch()
498 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch()
499 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/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c95 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
140 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
210 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe()
212 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); 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()
335 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread()
470 poll_cb->pfds[0] = 0; in mm_camera_poll_thread_launch()
471 poll_cb->pfds[1] = 0; in mm_camera_poll_thread_launch()
472 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
483 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h130 int32_t pfds[2]; member
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h149 int32_t pfds[2]; member
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h130 int32_t pfds[2]; member
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h150 int32_t pfds[2]; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h154 int32_t pfds[2]; member