Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 25 of 43) 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/ti/omap4-aah/libtiutils/
DMessageQueue.cpp250 pfd.revents = 0; in isEmpty()
267 if(pfd.revents & POLLIN) in isEmpty()
345 pfd[0].revents = 0; in waitForMsg()
358 pfd[1].revents = 0; in waitForMsg()
374 pfd[2].revents = 0; in waitForMsg()
393 if (pfd[0].revents & POLLIN) in waitForMsg()
400 if (pfd[1].revents & POLLIN) in waitForMsg()
408 if (pfd[2].revents & POLLIN) in waitForMsg()
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp249 pfd.revents = 0; in isEmpty()
266 if(pfd.revents & POLLIN) in isEmpty()
342 pfd[0].revents = 0; in waitForMsg()
355 pfd[1].revents = 0; in waitForMsg()
371 pfd[2].revents = 0; in waitForMsg()
390 if (pfd[0].revents & POLLIN) in waitForMsg()
397 if (pfd[1].revents & POLLIN) in waitForMsg()
405 if (pfd[2].revents & POLLIN) in waitForMsg()
/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/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/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/libhardware_legacy/uevent/
Duevent.c82 fds.revents = 0; in uevent_next_event()
85 if(nr > 0 && (fds.revents & POLLIN)) { in uevent_next_event()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c300 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
301 (poll_cb->poll_fds[0].revents & POLLRDNORM)) { in mm_camera_poll_fn()
309 (poll_cb->poll_fds[i].revents & POLLPRI)) { in mm_camera_poll_fn()
317 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
318 (poll_cb->poll_fds[i].revents & POLLRDNORM)) { in mm_camera_poll_fn()
/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/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/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp411 pfd[0].revents = 0; in wifi_event_loop()
412 pfd[1].revents = 0; in wifi_event_loop()
417 } else if (pfd[0].revents & POLLERR) { in wifi_event_loop()
421 } else if (pfd[0].revents & POLLHUP) { in wifi_event_loop()
424 } else if (pfd[0].revents & POLLIN) { in wifi_event_loop()
427 } else if (pfd[1].revents & POLLIN) { in wifi_event_loop()
441 ALOGE("Unknown event - %0x, %0x", pfd[0].revents, pfd[1].revents); in wifi_event_loop()
/hardware/qcom/audio/msm8909/audiod/
DAudioDaemon.cpp348 if (pfd[i].revents & POLLPRI) { in threadLoop()
396 if (pfd[i + mSndCardFd.size()].revents & POLLPRI) { in threadLoop()
398 pfd[i + mSndCardFd.size()].revents, in threadLoop()
/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.cpp729 pfd[0].revents = 0; in wifi_event_loop()
730 pfd[1].revents = 0; in wifi_event_loop()
731 pfd[2].revents = 0; in wifi_event_loop()
737 if (pfd[0].revents & (POLLIN | POLLHUP | POLLERR)) { in wifi_event_loop()
738 internal_event_handler(handle, pfd[0].revents, info->event_sock); in wifi_event_loop()
740 if (pfd[1].revents & (POLLIN | POLLHUP | POLLERR)) { in wifi_event_loop()
741 internal_event_handler(handle, pfd[1].revents, info->user_sock); in wifi_event_loop()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_vsync.cpp172 if (pfd[dpy][ev].revents & POLLPRI) { in vsync_loop()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_vsync.cpp168 if (pfd[dpy][ev].revents & POLLPRI) { in vsync_loop()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_vsync.cpp156 if (pfd[dpy][ev].revents & POLLPRI) { in vsync_loop()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_vsync.cpp174 if (pfd[dpy][ev].revents & POLLPRI) { in vsync_loop()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c309 pfd[i].revents = 0; in get_dmp_event()
319 if(pfd[i].revents != 0) { in get_dmp_event()
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dfuse.h662 uint32_t revents; member

12