Home
last modified time | relevance | path

Searched refs:pollfds (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dquectel-mbim-proxy.c271 struct pollfd pollfds[2+CM_MAX_CLIENT]; in proxy_loop() local
274 pollfds[nevents].fd = mbim_dev_fd; in proxy_loop()
275 pollfds[nevents].events = POLLIN; in proxy_loop()
276 pollfds[nevents].revents= 0; in proxy_loop()
280 pollfds[nevents].fd = mbim_server_fd; in proxy_loop()
281 pollfds[nevents].events = POLLIN; in proxy_loop()
282 pollfds[nevents].revents= 0; in proxy_loop()
287 pollfds[nevents].fd = cm_clients[i].client_fd; in proxy_loop()
288 pollfds[nevents].events = POLLIN; in proxy_loop()
289 pollfds[nevents].revents= 0; in proxy_loop()
[all …]
H A Dquectel-qmi-proxy.c613 struct pollfd pollfds[]= {{cdc_wdm_fd, POLLOUT, 0}}; in send_qmi_to_cdc_wdm() local
617 ret = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), 5000); in send_qmi_to_cdc_wdm()
620 if (pollfds[0].revents & POLLOUT) { in send_qmi_to_cdc_wdm()
630 struct pollfd pollfds[]= {{clientFd, POLLOUT, 0}}; in send_qmi_to_client() local
634 ret = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), 5000); in send_qmi_to_client()
637 if (pollfds[0].revents & POLLOUT) { in send_qmi_to_client()
801 struct pollfd pollfds[2+64]; in qmi_proxy_loop() local
805 pollfds[nevents].fd = cdc_wdm_fd; in qmi_proxy_loop()
806 pollfds[nevents].events = POLLIN; in qmi_proxy_loop()
807 pollfds[nevents].revents= 0; in qmi_proxy_loop()
[all …]
H A DQmiWwanCM.c126 struct pollfd pollfds[]= {{cdc_wdm_fd, POLLOUT, 0}}; in QmiWwanSendQMI() local
146 ret = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), 5000); in QmiWwanSendQMI()
149 if (pollfds[0].revents & POLLOUT) { in QmiWwanSendQMI()
158 …dbg_time("%s poll=%d, revents = 0x%x, errno: %d (%s)", __func__, ret, pollfds[0].revents, errno, s… in QmiWwanSendQMI()
345 struct pollfd pollfds[] = {{qmidevice_control_fd[1], POLLIN, 0}, {cdc_wdm_fd, POLLIN, 0}}; in QmiWwanThread() local
346 int ne, ret, nevents = sizeof(pollfds)/sizeof(pollfds[0]); in QmiWwanThread()
349 ret = poll(pollfds, nevents, wait_for_request_quit ? 1000 : -1); in QmiWwanThread()
363 int fd = pollfds[ne].fd; in QmiWwanThread()
364 short revents = pollfds[ne].revents; in QmiWwanThread()
H A DGobiNetCM.c134 struct pollfd pollfds[16] = {{qmidevice_control_fd[1], POLLIN, 0}}; in GobiNetThread() local
142 pollfds[nevents].fd = qmiclientId[i]; in GobiNetThread()
143 pollfds[nevents].events = POLLIN; in GobiNetThread()
144 pollfds[nevents].revents = 0; in GobiNetThread()
150 ret = poll(pollfds, nevents, wait_for_request_quit ? 1000: -1); in GobiNetThread()
164 int fd = pollfds[ne].fd; in GobiNetThread()
165 short revents = pollfds[ne].revents; in GobiNetThread()
H A Datchannel.c373 struct pollfd pollfds[1] = {{s_fd, POLLIN, 0}}; in readline() local
377 ret = poll(pollfds, 1, -1); in readline()
380 if (pollfds[0].revents & (POLLERR | POLLHUP | POLLNVAL)) { in readline()
382 } else if (pollfds[0].revents & (POLLIN)) { in readline()
596 struct pollfd pollfds[1] = {{s_fd, POLLOUT, 0}}; in writeraw() local
599 ret = poll(pollfds, 1, -1); in writeraw()
H A Dmain.c368 …struct pollfd pollfds[] = {{signal_control_fd[1], POLLIN, 0}, {qmidevice_control_fd[0], POLLIN, 0}… in qmi_main() local
369 int ne, ret, nevents = sizeof(pollfds)/sizeof(pollfds[0]); in qmi_main()
372 ret = poll(pollfds, nevents, 15*1000); in qmi_main()
387 int fd = pollfds[ne].fd; in qmi_main()
388 short revents = pollfds[ne].revents; in qmi_main()
H A Datc.c120 struct pollfd pollfds[] = {{atc_fd, POLLIN, 0}, {qmidevice_control_fd[1], POLLIN, 0}}; in atc_read_thread() local
123 ret = poll(pollfds, nevents, wait_for_request_quit ? 1000 : -1); in atc_read_thread()
135 int fd = pollfds[ne].fd; in atc_read_thread()
136 short revents = pollfds[ne].revents; in atc_read_thread()
H A Dmbim-cm.c1462 struct pollfd pollfds[] = {{mbim_fd, POLLIN, 0}, {qmidevice_control_fd[1], POLLIN, 0}}; in mbim_read_thread() local
1465 ret = poll(pollfds, nevents, wait_for_request_quit ? 1000 : -1); in mbim_read_thread()
1477 int fd = pollfds[ne].fd; in mbim_read_thread()
1478 short revents = pollfds[ne].revents; in mbim_read_thread()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dsigio.c37 struct pollfds { struct
47 static struct pollfds current_poll; argument
48 static struct pollfds next_poll;
49 static struct pollfds all_sigio_fds;
53 struct pollfds *fds, tmp; in write_sigio_thread()
103 static int need_poll(struct pollfds *polls, int n) in need_poll()
298 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
325 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()
H A Dfile.c675 struct pollfd pollfds[2] = {}; in os_poll() local
679 if (n > ARRAY_SIZE(pollfds)) in os_poll()
683 pollfds[i].fd = fds[i]; in os_poll()
684 pollfds[i].events = POLLIN; in os_poll()
687 ret = poll(pollfds, n, -1); in os_poll()
693 if (pollfds[i].revents) in os_poll()
/OK3568_Linux_fs/kernel/tools/firewire/
H A Dnosy-dump.c904 struct pollfd pollfds[2]; in main() local
968 pollfds[0].fd = fd; in main()
969 pollfds[0].events = POLLIN; in main()
970 pollfds[1].fd = STDIN_FILENO; in main()
971 pollfds[1].events = POLLIN; in main()
979 poll(pollfds, 2, -1); in main()
980 if (pollfds[1].revents) { in main()
990 if (pollfds[0].revents) in main()
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_103.0.5060/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_105.0.5195/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_100.0.4896/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_98.0.4758/
H A D0007-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/buildroot/package/qt5/qt5webengine-chromium/
H A D0009-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_96.0.4664/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_109.0.5414/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_104.0.5112/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_97.0.4692/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_101.0.4951/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_111.0.5563/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);