Lines Matching refs:pfds
262 * \param pfds array of poll descriptors
266 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space)
270 pfds->fd = hwdep->poll_fd;
273 pfds->events = POLLOUT|POLLERR|POLLNVAL;
276 pfds->events = POLLIN|POLLERR|POLLNVAL;
279 pfds->events = POLLOUT|POLLIN|POLLERR|POLLNVAL;
292 * \param pfds array of poll descriptors
297 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)
299 assert(hwdep && pfds && revents);
301 *revents = pfds->revents;