Lines Matching defs:revents
1835 unsigned int nfds, unsigned short *revents);
1842 * \param revents pointer to the returned (single) event
1845 * This function does "demangling" of the revents mask returned from
1865 int snd_pcm_poll_descriptors_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)
1869 assert(pcm && pfds && revents);
1871 err = __snd_pcm_poll_revents(pcm, pfds, nfds, revents);
1877 unsigned int nfds, unsigned short *revents)
1880 return pcm->fast_ops->poll_revents(pcm->fast_op_arg, pfds, nfds, revents);
1882 *revents = pfds->revents;
2970 unsigned short revents = 0;
3003 err = __snd_pcm_poll_revents(pcm, pfd, npfds, &revents);
3006 if (revents & (POLLERR | POLLNVAL)) {
3011 } while (!(revents & (POLLIN | POLLOUT)));