Searched refs:event_table (Results 1 – 2 of 2) sorted by relevance
52 static struct pollfd event_table[2]; variable87 event_table[0].fd = fidI2c; in I2cWorkerThread()88 event_table[0].events = POLLIN; in I2cWorkerThread()89 event_table[0].revents = 0; in I2cWorkerThread()91 event_table[1].fd = cmdPipe[0]; in I2cWorkerThread()92 event_table[1].events = POLLIN; in I2cWorkerThread()93 event_table[1].revents = 0; in I2cWorkerThread()97 int poll_status = poll(event_table, 2, -1); in I2cWorkerThread()104 if (event_table[0].revents & POLLIN) { in I2cWorkerThread()164 if (event_table[1].revents & POLLIN) { in I2cWorkerThread()
57 static struct pollfd event_table[3]; variable96 event_table[0].fd = fidI2c; in I2cWorkerThread()97 event_table[0].events = POLLIN; in I2cWorkerThread()98 event_table[0].revents = 0; in I2cWorkerThread()100 event_table[1].fd = cmdPipe[0]; in I2cWorkerThread()101 event_table[1].events = POLLIN; in I2cWorkerThread()102 event_table[1].revents = 0; in I2cWorkerThread()104 event_table[2].fd = notifyResetRequest; in I2cWorkerThread()105 event_table[2].events = POLLPRI; in I2cWorkerThread()106 event_table[2].revents = 0; in I2cWorkerThread()[all …]