Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 25 of 65) sorted by relevance

123

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp688 pfdProxyPlayback[0].revents = 0; in pollForProxyData()
689 pfdProxyPlayback[1].revents = 0; in pollForProxyData()
693 if (pfdProxyPlayback[1].revents & POLLIN) { in pollForProxyData()
697 pfdProxyPlayback[1].revents = 0; in pollForProxyData()
701 pfdProxyPlayback[0].revents = 0; in pollForProxyData()
702 pfdProxyPlayback[1].revents = 0; in pollForProxyData()
708 } else if (pfdProxyPlayback[1].revents & POLLERR || pfdProxyPlayback[1].revents & POLLHUP || in pollForProxyData()
709 pfdProxyPlayback[1].revents & POLLNVAL) { in pollForProxyData()
712 pfdProxyPlayback[0].revents = 0; in pollForProxyData()
713 pfdProxyPlayback[1].revents = 0; in pollForProxyData()
[all …]
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp143 mPollFds[mpl].revents = 0; in sensors_poll_context_t()
147 mPollFds[compass].revents = 0; in sensors_poll_context_t()
151 mPollFds[dmpOrient].revents = 0; in sensors_poll_context_t()
155 mPollFds[dmpSign].revents = 0; in sensors_poll_context_t()
159 mPollFds[dmpPed].revents = 0; in sensors_poll_context_t()
171 mPollFds[numSensorDrivers].revents = 0; in sensors_poll_context_t()
218 if (mPollFds[i].revents & (POLLIN | POLLPRI)) { in pollEvents()
222 mPollFds[i].revents = 0; in pollEvents()
225 mPollFds[i].revents = 0; in pollEvents()
229 mPollFds[dmpOrient].revents= 0; in pollEvents()
[all …]
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp171 mPollFds[mpl].revents = 0; in sensors_poll_context_t()
175 mPollFds[compass].revents = 0; in sensors_poll_context_t()
179 mPollFds[dmpOrient].revents = 0; in sensors_poll_context_t()
183 mPollFds[dmpSign].revents = 0; in sensors_poll_context_t()
187 mPollFds[dmpPed].revents = 0; in sensors_poll_context_t()
269 if (mPollFds[i].revents & (POLLIN | POLLPRI)) { in pollEvents()
273 mPollFds[i].revents = 0; in pollEvents()
276 mPollFds[i].revents = 0; in pollEvents()
280 mPollFds[dmpOrient].revents= 0; in pollEvents()
289 mPollFds[i].revents = 0; in pollEvents()
[all …]
/hardware/qcom/sm8150/media/hypv-intercept/
Dhypv_intercept.cpp298 if ((exit_fd.revents & POLLIN) || (exit_fd.revents & POLLERR)) { in exit_thread()
331 fds[1].revents = fds[0].revents = 0; in hypv_poll()
356 fds[1].revents = POLLIN; in hypv_poll()
360 fds[0].revents = handle->event_flags[handle->event_q_front++]; in hypv_poll()
363 fds[0].fd, fds[0].revents, in hypv_poll()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc98 event_table[0].revents = 0; in I2cWorkerThread()
102 event_table[1].revents = 0; in I2cWorkerThread()
106 event_table[2].revents = 0; in I2cWorkerThread()
117 if (event_table[0].revents & POLLIN) { in I2cWorkerThread()
181 if (event_table[1].revents & POLLIN) { in I2cWorkerThread()
216 if (event_table[2].revents & POLLPRI && eventNum > 2) { in I2cWorkerThread()
/hardware/st/nfc/1.0/adaptation/
Di2clayer.c89 event_table[0].revents = 0; in I2cWorkerThread()
93 event_table[1].revents = 0; in I2cWorkerThread()
104 if (event_table[0].revents & POLLIN) { in I2cWorkerThread()
164 if (event_table[1].revents & POLLIN) { in I2cWorkerThread()
/hardware/libhardware_legacy/
Duevent.c82 fds.revents = 0; in uevent_next_event()
85 if(nr > 0 && (fds.revents & POLLIN)) { in uevent_next_event()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_events_drm.cpp233 if ((poll_fd.revents & POLLIN) && in DisplayEventHandler()
242 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && in DisplayEventHandler()
273 if (poll_fds_[vsync_index_].revents & (POLLIN | POLLPRI)) { in HandleVSync()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_events_drm.cpp233 if ((poll_fd.revents & POLLIN) && in DisplayEventHandler()
242 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && in DisplayEventHandler()
273 if (poll_fds_[vsync_index_].revents & (POLLIN | POLLPRI)) { in HandleVSync()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c301 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
302 (poll_cb->poll_fds[0].revents & POLLRDNORM)) { in mm_camera_poll_fn()
310 (poll_cb->poll_fds[i].revents & POLLPRI)) { in mm_camera_poll_fn()
318 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
319 (poll_cb->poll_fds[i].revents & POLLRDNORM)) { in mm_camera_poll_fn()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_events_drm.cpp239 if ((poll_fd.revents & POLLIN) && in DisplayEventHandler()
250 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && in DisplayEventHandler()
281 if (poll_fds_[vsync_index_].revents & (POLLIN | POLLPRI)) { in HandleVSync()
/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c504 #define READY_TO_READ(p) ((p)->revents & (POLLIN|POLLPRI)) in monitor_thread_loop()
505 #define ERROR_IN_FD(p) ((p)->revents & (POLLERR|POLLHUP|POLLNVAL)) in monitor_thread_loop()
519 pfd[0].revents); in monitor_thread_loop()
534 pfd[i].revents); in monitor_thread_loop()
550 pfd[i].revents); in monitor_thread_loop()
/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c429 pfd[0].revents = 0; in cld80211_recv()
430 pfd[1].revents = 0; in cld80211_recv()
434 } else if (pfd[0].revents & (POLLIN | POLLHUP | POLLERR)) { in cld80211_recv()
435 cld80211_handle_event(pfd[0].revents, ctx->sock, cb); in cld80211_recv()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c465 VARVAL("%d", dmp_feat[i].pollfd->revents); in dump_dmp_event_struct()
474 VARVAL("%d", pollfds[i].revents); in dump_dmp_event_struct()
495 pollfds[j].revents = 0; in init_dmp_event_fds()
529 if (dmp_feat[i].pollfd->revents != 0) { in poll_dmp_event_fds()
543 dmp_feat[i].pollfd->revents = 0; in poll_dmp_event_fds()
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_events.cpp192 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
196 if ((poll_fd.revents & POLLPRI) && in DisplayEventHandler()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_events.cpp192 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
196 if ((poll_fd.revents & POLLPRI) && in DisplayEventHandler()
/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp255 else if (pfd[0].revents) in WaitForIdle()
257 else if (pfd[1].revents) in WaitForIdle()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_events.cpp203 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
207 if ((poll_fd.revents & POLLPRI) && in DisplayEventHandler()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c595 pfd[i].revents = 0; in init_fds()
606 if(pfd[i].revents != 0) { in parse_events()
632 pfd[i].revents = 0; // no need: reset anyway in parse_events()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_events.cpp204 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
208 if ((poll_fd.revents & POLLPRI) && in DisplayEventHandler()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_events.cpp210 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
214 if ((poll_fd.revents & POLLPRI) && in DisplayEventHandler()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_events.cpp203 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
207 if ((poll_fd.revents & POLLPRI) && in DisplayEventHandler()
/hardware/qcom/display/msm8909w_3100/hdmi_cec/
Dqhdmi_cec.cpp552 if (poll_fd.revents & POLLIN || poll_fd.revents & POLLPRI) { in event_monitor()
622 if ((ctx->poll_fds[node_event].revents & POLLPRI) && in handle_cec_msg_event()
635 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_hdmihotplug_event()
652 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_exit_event()
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.cpp552 if (poll_fd.revents & POLLIN || poll_fd.revents & POLLPRI) { in event_monitor()
622 if ((ctx->poll_fds[node_event].revents & POLLPRI) && in handle_cec_msg_event()
635 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_hdmihotplug_event()
652 if (ctx->poll_fds[node_event].revents & POLLIN) { in handle_exit_event()
/hardware/qcom/display/msm8226/libqdutils/
Didle_invalidator.cpp102 if (pFd.revents & POLLPRI) { in threadLoop()

123