Lines Matching refs:poll_fds
122 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
123 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
128 /* fd is valid, we update poll_fds */
129 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
130 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
136 /* fd is valid, we update poll_fds to this fd */
137 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
138 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
148 poll_cb->poll_fds[poll_cb->num_fds].fd = -1;
149 poll_cb->poll_fds[poll_cb->num_fds].events = 0;
173 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI;
176 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms);
178 if ((poll_cb->poll_fds[0].revents & POLLIN) &&
179 (poll_cb->poll_fds[0].revents & POLLRDNORM)) {
187 (poll_cb->poll_fds[i].revents & POLLPRI)) {
195 (poll_cb->poll_fds[i].revents & POLLIN) &&
196 (poll_cb->poll_fds[i].revents & POLLRDNORM)) {
221 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];
223 //poll_cb->poll_fds[poll_cb->num_fds++].fd = (((mm_camera_obj_t *)poll_cb->my_obj)->ctrl_fd);