Home
last modified time | relevance | path

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

/AliOS-Things-master/components/epoll/src/
A Ddevice.c50 item->revents = revent; in lwip_epoll_notify()
82 if (poll2epoll(pfd->revents) & item->event.events) { in vfs_epoll_notify()
83 item->revents = poll2epoll(pfd->revents); in vfs_epoll_notify()
335 node->revents = 0; in epoll_waitting()
349 if (!(node->event.events & node->revents)) { in epoll_waitting()
351 node->revents = 0; in epoll_waitting()
356 data->events[i].events = node->event.events & node->revents; in epoll_waitting()
361 node->revents = 0; in epoll_waitting()
397 if (!(node->event.events & node->revents)) { in epoll_waitting()
399 node->revents = 0; in epoll_waitting()
[all …]
/AliOS-Things-master/components/select/poll/
A Dpoll.c123 pfd->revents = 0; in pre_poll()
170 if (pfd->revents) { in post_poll()
211 pfd->revents |= POLLIN; in aos_poll()
214 pfd->revents |= POLLOUT; in aos_poll()
217 pfd->revents |= POLLERR; in aos_poll()
/AliOS-Things-master/components/epoll/include/private/
A Depoll_inner.h45 short revents; member
56 uint32_t revents; member
/AliOS-Things-master/components/epoll/example/
A Dtest_device.c103 pdev->fd->revents |= POLLIN; in _event_write()
156 pdev->fd->revents &= ~POLLIN; in event_read()
181 pdev->fd->revents |= POLLIN; in event_poll()
184 pdev->fd->revents &= ~POLLIN; in event_poll()
/AliOS-Things-master/components/select/example/
A Dtest_device.c103 pdev->fd->revents |= POLLIN; in _event_write()
156 pdev->fd->revents &= ~POLLIN; in event_read()
181 pdev->fd->revents |= POLLIN; in event_poll()
184 pdev->fd->revents &= ~POLLIN; in event_poll()
A Dselect_example.c87 if (poll_array[0].revents & POLLIN) { in poll_example()
/AliOS-Things-master/components/SDL2/src/audio/sndio/
A DSDL_sndioaudio.c188 int revents; in SNDIO_CaptureFromDevice() local
198 revents = SNDIO_sio_revents(this->hidden->dev, this->hidden->pfd); in SNDIO_CaptureFromDevice()
199 if (revents & POLLIN) { in SNDIO_CaptureFromDevice()
202 if (revents & POLLHUP) { in SNDIO_CaptureFromDevice()
/AliOS-Things-master/components/posix/include/
A Dpoll.h27 short revents; /* returned events */ member
/AliOS-Things-master/components/select/select/
A Dselect.c222 if ((pfd->revents & POLLIN) && (readset != NULL)) { in post_select()
227 if ((pfd->revents & POLLOUT) && (writeset != NULL)) { in post_select()
232 if ((pfd->revents & POLLERR) && (exceptset != NULL)) { in post_select()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi_dev.c390 fd->revents |= POLLIN; in spi_rx_notify()
392 fd->revents |= POLLOUT; in spi_rx_notify()
443 ((struct pollfd *)fd)->revents &= ~POLLIN; in spi_device_poll()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Duart_dev.c429 fd->revents |= POLLIN; in uart_rx_notify()
431 fd->revents |= POLLOUT; in uart_rx_notify()
485 ((struct pollfd *)fd)->revents &= ~POLLIN; in uart_device_poll()
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/kernel/include/network/curl/
A Dmulti.h115 short revents; /* not supported yet */ member
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c328 pfd.revents = 0; in KMSDRM_WaitPageFlip()
335 if (pfd.revents & (POLLHUP | POLLERR)) { in KMSDRM_WaitPageFlip()
341 if (pfd.revents & POLLIN) { in KMSDRM_WaitPageFlip()
/AliOS-Things-master/components/SDL2/src/hidapi/linux/
A Dhid.c782 fds.revents = 0; in hid_read_timeout()
791 if (fds.revents & (POLLERR | POLLHUP | POLLNVAL)) in hid_read_timeout()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c268 if (rfd.revents & POLLIN) { in aos_queue_recv()
/AliOS-Things-master/components/lwip/lwip2.0.0/api/
A Dsockets.c2042 uint32_t revents = 0; in event_callback() local
2044 revents |= EPOLLIN; in event_callback()
2047 revents |= EPOLLOUT; in event_callback()
2050 revents |= EPOLLERR; in event_callback()
2052 sock->epoll_cb(revents, sock->epoll_cb_data); in event_callback()

Completed in 26 milliseconds