Home
last modified time | relevance | path

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

12

/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/akm/AK8975_FS/libsensors/
Dsensors.cpp171 mPollFds[acc].revents = 0; in sensors_poll_context_t()
176 mPollFds[akm].revents = 0; in sensors_poll_context_t()
187 mPollFds[wake].revents = 0; in sensors_poll_context_t()
286 if ((mPollFds[i].revents & POLLIN) || (sensor->hasPendingEvents())) { in pollEvents()
290 mPollFds[i].revents = 0; in pollEvents()
310 if (mPollFds[wake].revents & POLLIN) { in pollEvents()
315 mPollFds[wake].revents = 0; in pollEvents()
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DUeventObserver.cpp164 fds[0].revents = 0; in threadLoop()
167 fds[1].revents = 0; in threadLoop()
170 if (nr > 0 && fds[0].revents == POLLIN) { in threadLoop()
175 } else if (fds[1].revents) { in threadLoop()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DUeventObserver.cpp164 fds[0].revents = 0; in threadLoop()
167 fds[1].revents = 0; in threadLoop()
170 if (nr > 0 && fds[0].revents == POLLIN) { in threadLoop()
175 } else if (fds[1].revents) { in threadLoop()
/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/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/audio/hal/audio_extn/
Dsndmonitor.c467 #define READY_TO_READ(p) ((p)->revents & (POLLIN|POLLPRI)) in monitor_thread_loop()
468 #define ERROR_IN_FD(p) ((p)->revents & (POLLERR|POLLHUP|POLLNVAL)) in monitor_thread_loop()
482 pfd[0].revents); in monitor_thread_loop()
497 pfd[i].revents); in monitor_thread_loop()
513 pfd[i].revents); in monitor_thread_loop()
/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/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/qcom/display/sdm845/sdm/libs/core/drm/
Dhw_events_drm.cpp257 if ((poll_fd.revents & POLLIN) && in DisplayEventHandler()
267 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && in DisplayEventHandler()
298 if (poll_fds_[vsync_index_].revents & (POLLIN | POLLPRI)) { in HandleVSync()
/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/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/qcom/display/sdm845/sdm/libs/core/fb/
Dhw_events.cpp196 if ((poll_fd.revents & POLLIN) && (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { in DisplayEventHandler()
200 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/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/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp427 pfd[0].revents = 0; in wifi_event_loop()
428 pfd[1].revents = 0; in wifi_event_loop()
433 } else if (pfd[0].revents & POLLERR) { in wifi_event_loop()
438 } else if (pfd[0].revents & POLLHUP) { in wifi_event_loop()
441 } else if (pfd[0].revents & POLLIN) { in wifi_event_loop()
444 } else if (pfd[1].revents & POLLIN) { in wifi_event_loop()
459 ALOGE("Unknown event - %0x, %0x", pfd[0].revents, pfd[1].revents); in wifi_event_loop()
/hardware/qcom/display/msm8226/libqdutils/
Didle_invalidator.cpp102 if (pFd.revents & POLLPRI) { in threadLoop()
/hardware/qcom/display/msm8084/libqdutils/
Didle_invalidator.cpp102 if (pFd.revents & POLLPRI) { in threadLoop()
/hardware/qcom/display/msm8994/libqdutils/
Didle_invalidator.cpp123 if (pFd.revents & POLLPRI) { in threadLoop()
/hardware/qcom/display/msm8909/libqdutils/
Didle_invalidator.cpp123 if (pFd.revents & POLLPRI) { in threadLoop()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp842 pfd[0].revents = 0; in wifi_event_loop()
843 pfd[1].revents = 0; in wifi_event_loop()
844 pfd[2].revents = 0; in wifi_event_loop()
850 if (pfd[0].revents & (POLLIN | POLLHUP | POLLERR)) { in wifi_event_loop()
851 internal_event_handler(handle, pfd[0].revents, info->event_sock); in wifi_event_loop()
853 if (pfd[1].revents & (POLLIN | POLLHUP | POLLERR)) { in wifi_event_loop()
854 internal_event_handler(handle, pfd[1].revents, info->user_sock); in wifi_event_loop()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_vsync.cpp167 if (pfd[dpy][ev].revents & POLLPRI) { in vsync_loop()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_vsync.cpp155 if (pfd[dpy][ev].revents & POLLPRI) { in vsync_loop()

12