Lines Matching defs:revents
346 * \param revents returned events
349 int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)
351 assert(ctl && pfds && revents);
353 return ctl->ops->poll_revents(ctl, pfds, nfds, revents);
355 *revents = pfds->revents;
1360 unsigned short revents;
1382 err = snd_ctl_poll_descriptors_revents(ctl, pfd, npfds, &revents);
1385 if (revents & (POLLERR | POLLNVAL))
1387 if (revents & (POLLIN | POLLOUT))