Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DWebServer.c117 pFdListNew[ Index ].revents = 0; in PortAdd()
194 pFdList[ pWebServer->Entries ].revents = 0; in PortAdd()
283 pFdList[ Index ].revents = 0; in PortRemove()
516 if ( 0 != pPoll->revents ) { in SocketPoll()
522 pPoll->revents, in SocketPoll()
524 pPoll->revents = 0; in SocketPoll()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dpoll.h60 short revents; /* events returned */ member
/device/google/dragon/sensor_hub/
Dsensors.cpp598 mPollFds[crosEcRingFd].revents = 0; in cros_ec_sensors_poll_context_t()
609 mPollFds[crosEcWakeFd].revents = 0; in cros_ec_sensors_poll_context_t()
641 if (mPollFds[crosEcRingFd].revents & POLLIN) { in pollEvents()
645 mPollFds[crosEcRingFd].revents = 0; in pollEvents()
664 if (mPollFds[crosEcWakeFd].revents & POLLIN) { in pollEvents()
671 mPollFds[crosEcWakeFd].revents = 0; in pollEvents()
/device/google/marlin/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()
/device/asus/fugu/libaudio/
DAudioHotplugThread.cpp312 } else if (fds[1].revents & POLLIN) { in threadLoop()
317 if (!(fds[0].revents & POLLIN)) { in threadLoop()
357 } else if (pfd.revents & POLLIN) { in threadLoop()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c299 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
300 (poll_cb->poll_fds[0].revents & POLLRDNORM)) { in mm_camera_poll_fn()
308 (poll_cb->poll_fds[i].revents & POLLPRI)) { in mm_camera_poll_fn()
316 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
317 (poll_cb->poll_fds[i].revents & POLLRDNORM)) { in mm_camera_poll_fn()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c299 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
300 (poll_cb->poll_fds[0].revents & POLLRDNORM)) { in mm_camera_poll_fn()
308 (poll_cb->poll_fds[i].revents & POLLPRI)) { in mm_camera_poll_fn()
316 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
317 (poll_cb->poll_fds[i].revents & POLLRDNORM)) { in mm_camera_poll_fn()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSink/
DDataSink.c143 PollFd[ Index ].revents = 0; in SocketAccept()
320 if ( 0 != PollFd[ Index ].revents ) { in SocketPoll()
327 if ( 0 != ( PollFd[ Index ].revents & POLLHUP )) { in SocketPoll()
450 if ( 0 != ( PollFd[ Index ].revents & POLLRDNORM )) { in SocketPoll()
604 PollFd[ Index ].revents = 0; in SocketPoll()
802 PollFd[ EntryPrevious ].revents = PollFd[ Entry ].revents; in SocketPoll()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp130 if ((pfd.revents & POLLIN)) { in discard_inotify_evt()
239 if (myFds[IDX_NANOHUB].revents & POLLIN) { // we have data in runDeviceRx()
278 if (myFds[IDX_CLOSE_PIPE].revents & POLLIN) { // we have been asked to die in runDeviceRx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
DTftpServer.c728 int revents; in PortWork() local
742 revents = pTftpPort->revents; in PortWork()
743 pTftpPort->revents = 0; in PortWork()
744 if ( 0 != ( revents & POLLRDNORM )) { in PortWork()
812 revents |= POLLHUP; in PortWork()
819 if ( 0 != ( revents & POLLHUP )) { in PortWork()
1924 pTftpPort->revents = 0; in TftpServerSocket()
/device/linaro/hikey/wpan/uim/
Duim.c535 p.revents = 0; in main()
537 UIM_DBG("poll broke due to event %d(PRI:%d/ERR:%d)\n", p.revents, POLLPRI, POLLERR); in main()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Dselect.c130 pfd.revents = 0; in selscan()
DSysCalls.c820 pPollFD->revents = pDescriptor->f_ops->fo_poll ( pDescriptor, in poll()
826 if ( 0 != pPollFD->revents ) { in poll()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp133 mPollFds[0].revents = 0; in HubConnection()
150 mPollFds[mNumPollFds].revents = 0; in HubConnection()
164 mPollFds[mNumPollFds].revents = 0; in HubConnection()
889 if ((ret > 0) && (pfd->revents & POLLIN)) { in waitOnNanohubLock()
1435 if (mInotifyPollIndex >= 0 && mPollFds[mInotifyPollIndex].revents & POLLIN) { in threadLoop()
1441 if (mMagBiasPollIndex >= 0 && mPollFds[mMagBiasPollIndex].revents & POLLERR) { in threadLoop()
1453 if (mDoubleTouchPollIndex >= 0 && mPollFds[mDoubleTouchPollIndex].revents & POLLERR) { in threadLoop()
1464 if (mPollFds[0].revents & POLLIN) { in threadLoop()
1714 mPollFds[mNumPollFds].revents = 0; in initNanohubLock()
/device/generic/goldfish/fingerprint/
Dfingerprint.c703 pfd.revents = 0; in listenerFunction()
723 if (pfd.revents & POLLIN) { in listenerFunction()
725 disconnected = pfd.revents & (POLLERR | POLLHUP); in listenerFunction()
/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c273 if (fds[0].revents & POLLIN) { in callback_thread_loop()
296 } else if (fds[1].revents & POLLIN) { in callback_thread_loop()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dselectmodule.c545 while (!self->ufds[i].revents) { in poll_poll()
565 num = PyInt_FromLong(self->ufds[i].revents & 0xffff); in poll_poll()
684 } else if (poll_test == 0 && poll_struct.revents != POLLNVAL) { in select_have_broken_poll()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Dselectmodule.c545 while (!self->ufds[i].revents) { in poll_poll()
565 num = PyInt_FromLong(self->ufds[i].revents & 0xffff); in poll_poll()
684 } else if (poll_test == 0 && poll_struct.revents != POLLNVAL) { in select_have_broken_poll()
/device/lge/bullhead/original-kernel-headers/linux/
Dfuse.h642 uint32_t revents; member
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp237 if (pollfds[i].revents & POLLIN) { in ReadEvent()
/device/huawei/angler/kernel-headers/linux/
Dfuse.h480 uint32_t revents; member
/device/lge/bullhead/kernel-headers/linux/
Dfuse.h480 uint32_t revents; member
/device/huawei/angler/original-kernel-headers/linux/
Dfuse.h642 uint32_t revents; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dselectmodule.c578 while (!self->ufds[i].revents) { in poll_poll()
598 num = PyInt_FromLong(self->ufds[i].revents & 0xffff); in poll_poll()
718 } else if (poll_test == 0 && poll_struct.revents != POLLNVAL) { in select_have_broken_poll()