Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 23 of 23) sorted by relevance

/AliOS-Things-master/components/select/poll/
A Dpoll.c115 static int pre_poll(struct pollfd *fds, int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, void *p… in pre_poll()
121 struct pollfd *pfd = &fds[i]; in pre_poll()
127 struct pollfd *pfd = &fds[i]; in pre_poll()
154 static int post_poll(struct pollfd *fds, int nfds) in post_poll()
160 struct pollfd *pfd = &fds[j]; in post_poll()
178 int aos_poll(struct pollfd *fds, int nfds, int timeout) in aos_poll()
208 struct pollfd *pfd = &fds[i]; in aos_poll()
/AliOS-Things-master/components/posix/src/
A Dpoll.c7 extern int aos_poll(struct pollfd *fds, int nfds, int timeout);
8 int poll(struct pollfd fds[], nfds_t nfds, int timeout) in poll()
/AliOS-Things-master/components/posix/include/
A Dpoll.h24 struct pollfd { struct
30 int poll(struct pollfd fds[], nfds_t nfds, int timeout); argument
/AliOS-Things-master/components/epoll/include/private/
A Depoll_inner.h42 struct pollfd { struct
55 struct pollfd compat_evt;//compat to vfs poll argument
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi_dev.c27 struct pollfd *fd;
373 struct pollfd *fd = NULL; in spi_rx_notify()
389 fd = (struct pollfd *)spi_poll->fd; in spi_rx_notify()
439 spi_poll->fd = (struct pollfd *)fd; in spi_device_poll()
443 ((struct pollfd *)fd)->revents &= ~POLLIN; in spi_device_poll()
448 ((struct pollfd *)fd)->events |= POLLIN; in spi_device_poll()
453 ((struct pollfd *)fd)->events |= POLLOUT; in spi_device_poll()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Duart_dev.c28 struct pollfd *fd;
411 struct pollfd *fd = NULL; in uart_rx_notify()
428 fd = (struct pollfd *)uart_poll->fd; in uart_rx_notify()
481 uart_poll->fd = (struct pollfd *)fd; in uart_device_poll()
485 ((struct pollfd *)fd)->revents &= ~POLLIN; in uart_device_poll()
490 ((struct pollfd *)fd)->events |= POLLIN; in uart_device_poll()
495 ((struct pollfd *)fd)->events |= POLLOUT; in uart_device_poll()
/AliOS-Things-master/components/SDL2/src/audio/sndio/
A DSDL_sndioaudio.h44 struct pollfd *pfd;
A DSDL_sndioaudio.c64 static int (*SNDIO_sio_pollfd)(struct sio_hdl *, struct pollfd *, int);
65 static int (*SNDIO_sio_revents)(struct sio_hdl *, struct pollfd *);
264 SDL_malloc(sizeof(struct pollfd) * SNDIO_sio_nfds(this->hidden->dev))) == NULL) { in SNDIO_OpenDevice()
/AliOS-Things-master/components/select/include/
A Dselect.h17 int aos_poll(struct pollfd *fds, int nfds, int timeout);
/AliOS-Things-master/components/select/select/
A Dselect.c25 struct pollfd pfd;
128 struct pollfd *pfd = NULL; in pre_select()
211 struct pollfd *pfd = &node->pfd; in post_select()
/AliOS-Things-master/components/SDL2/src/core/unix/
A DSDL_poll.c46 struct pollfd info; in SDL_IOReady()
/AliOS-Things-master/components/epoll/example/
A Dtest_device.c24 struct pollfd *fd;
177 pdev->fd = (struct pollfd *)fd; in event_poll()
/AliOS-Things-master/components/select/example/
A Dtest_device.c24 struct pollfd *fd;
177 pdev->fd = (struct pollfd *)fd; in event_poll()
A Dselect_example.c67 struct pollfd poll_array[2] = {0}; in poll_example()
/AliOS-Things-master/components/epoll/src/
A Ddevice.c68 struct pollfd *pfd = (struct pollfd *)data; in vfs_epoll_notify()
/AliOS-Things-master/components/drivers/peripheral/uart/
A DREADME.md68 int poll(struct pollfd *fds, nfds_t nfds, int timeout);
/AliOS-Things-master/components/vfs/include/aos/
A Dvfs.h89 typedef void (*poll_notify_t)(void *pollfd, void *arg);
/AliOS-Things-master/components/amp_adapter/portfiles/aos/
A Dvfs.h89 typedef void (*poll_notify_t)(void *pollfd, void *arg);
/AliOS-Things-master/components/amp_adapter/
A Dvfs.h89 typedef void (*poll_notify_t)(void *pollfd, void *arg);
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c262 struct pollfd rfd = { in aos_queue_recv()
/AliOS-Things-master/components/SDL2/src/hidapi/linux/
A Dhid.c778 struct pollfd fds; in hid_read_timeout()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c319 struct pollfd pfd = {0}; in KMSDRM_WaitPageFlip()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick.c336 struct pollfd PollUdev; in HIDAPI_UpdateDiscovery()

Completed in 102 milliseconds