Lines Matching refs:pfdUsbPlayback
51 struct pollfd pfdUsbPlayback[2]; variable
727 int err_poll = poll(pfdUsbPlayback, mnfdsPlayback, mtimeOut); in pollForUsbData()
731 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
732 pfdUsbPlayback[1].revents = 0; in pollForUsbData()
736 if (pfdUsbPlayback[1].revents & POLLIN) { in pollForUsbData()
740 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
741 pfdUsbPlayback[1].revents = 0; in pollForUsbData()
750 } else if (pfdUsbPlayback[1].revents & POLLERR || pfdUsbPlayback[1].revents & POLLHUP || in pollForUsbData()
751 pfdUsbPlayback[1].revents & POLLNVAL) { in pollForUsbData()
754 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
755 pfdUsbPlayback[1].revents = 0; in pollForUsbData()
759 if (pfdUsbPlayback[0].revents & POLLERR || pfdProxyPlayback[0].revents & POLLHUP || in pollForUsbData()
760 pfdUsbPlayback[0].revents & POLLNVAL) { in pollForUsbData()
763 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
811 pfdUsbPlayback[0].fd = musbPlaybackHandle->timer_fd; in PlaybackThreadEntry()
812 pfdUsbPlayback[0].events = POLLIN; in PlaybackThreadEntry()
814 pfdUsbPlayback[1].fd = musbpfdPlayback; in PlaybackThreadEntry()
815 pfdUsbPlayback[1].events = (POLLIN | POLLOUT | POLLERR | POLLNVAL | POLLHUP); in PlaybackThreadEntry()