Searched refs:poll_fds (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 225 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; 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() 233 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].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() 242 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; in mm_camera_poll_proc_pipe() 243 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 253 poll_cb->poll_fds[poll_cb->num_fds].fd = -1; in mm_camera_poll_proc_pipe() 254 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 296 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn() 299 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms); in mm_camera_poll_fn() [all …]
|
/hardware/qcom/display/msm8909w_3100/hdmi_cec/ |
D | qhdmi_cec.cpp | 543 err = poll(ctx->poll_fds.data(), (nfds_t)ctx->event_data_list.size(), -1); in event_monitor() 550 pollfd &poll_fd = ctx->poll_fds[event]; in event_monitor() 565 ctx->poll_fds.resize(ctx->node_list.size()); in populate_event_data() 617 ctx->poll_fds[node_event] = poll_fd; in set_event_params() 622 if ((ctx->poll_fds[node_event].revents & POLLPRI) && in handle_cec_msg_event() 623 (pread(ctx->poll_fds[node_event].fd, ctx->data, MAX_STRING_LENGTH, 0) > 0)) { in handle_cec_msg_event() 635 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_hdmihotplug_event() 636 count = static_cast<int> (recv(ctx->poll_fds[node_event].fd, uevent_data, in handle_hdmihotplug_event() 652 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_exit_event() 660 for (uint32_t event = 0; event < ctx->poll_fds.size(); event++) { in cec_monitor_deinit() [all …]
|
D | qhdmi_cec.h | 71 std::vector<pollfd> poll_fds; // poll fds for cec message monitor and exit signal member
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
D | qhdmi_cec.cpp | 543 err = poll(ctx->poll_fds.data(), (nfds_t)ctx->event_data_list.size(), -1); in event_monitor() 550 pollfd &poll_fd = ctx->poll_fds[event]; in event_monitor() 565 ctx->poll_fds.resize(ctx->node_list.size()); in populate_event_data() 617 ctx->poll_fds[node_event] = poll_fd; in set_event_params() 622 if ((ctx->poll_fds[node_event].revents & POLLPRI) && in handle_cec_msg_event() 623 (pread(ctx->poll_fds[node_event].fd, ctx->data, MAX_STRING_LENGTH, 0) > 0)) { in handle_cec_msg_event() 635 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_hdmihotplug_event() 636 count = static_cast<int> (recv(ctx->poll_fds[node_event].fd, uevent_data, in handle_hdmihotplug_event() 652 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_exit_event() 660 for (uint32_t event = 0; event < ctx->poll_fds.size(); event++) { in cec_monitor_deinit() [all …]
|
D | qhdmi_cec.h | 71 std::vector<pollfd> poll_fds; // poll fds for cec message monitor and exit signal member
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 181 struct pollfd poll_fds[MAX_STREAM_NUM_IN_BUNDLE + 1]; member
|