/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUsbALSA.cpp | 688 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/ |
D | sensors_mpl.cpp | 143 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/ |
D | sensors_mpl.cpp | 171 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/ |
D | hypv_intercept.cpp | 298 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/ |
D | i2clayer.cc | 98 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/ |
D | i2clayer.c | 89 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/ |
D | uevent.c | 82 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/ |
D | hw_events_drm.cpp | 233 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/ |
D | hw_events_drm.cpp | 233 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/ |
D | mm_camera_thread.c | 301 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/ |
D | hw_events_drm.cpp | 239 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/ |
D | sndmonitor.c | 504 #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/ |
D | cld80211_lib.c | 429 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/ |
D | mpu_iio.c | 465 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/ |
D | hw_events.cpp | 192 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/ |
D | hw_events.cpp | 192 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/ |
D | InteractionHandler.cpp | 255 else if (pfd[0].revents) in WaitForIdle() 257 else if (pfd[1].revents) in WaitForIdle()
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_events.cpp | 203 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/ |
D | inv_gesture_test.c | 595 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/ |
D | hw_events.cpp | 204 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/ |
D | hw_events.cpp | 210 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/ |
D | hw_events.cpp | 203 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/ |
D | qhdmi_cec.cpp | 552 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/ |
D | qhdmi_cec.cpp | 552 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/ |
D | idle_invalidator.cpp | 102 if (pFd.revents & POLLPRI) { in threadLoop()
|