Home | History | Annotate | Download | only in libsensors

Lines Matching refs:mPollFds

170     for (i = 0; i < ARRAY_SIZE(mPollFds); i++) {
171 mPollFds[i].fd = -1;
172 mPollFds[i].events = 0;
184 mPollFds[MPUIRQ_FD].fd = mpu_int_fd;
185 mPollFds[MPUIRQ_FD].events = POLLIN;
195 mPollFds[ACCELIRQ_FD].fd = accel_fd;
196 mPollFds[ACCELIRQ_FD].events = POLLIN;
206 mPollFds[TIMERIRQ_FD].fd = timer_fd;
207 mPollFds[TIMERIRQ_FD].events = POLLIN;
307 poll(mPollFds, ARRAY_SIZE(mPollFds), 0); //check which ones need to be cleared
309 for (i = 0; i < ARRAY_SIZE(mPollFds); i++) {
310 int cur_fd = mPollFds[i].fd;
312 if (mPollFds[i].revents & POLLIN) {
320 mPollFds[i].revents = 0;