Lines Matching refs:timer
2 * Timer Interface - main file
36 #define SNDRV_FILE_TIMER ALSA_DEVICE_DIRECTORY "timer"
59 static int snd_timer_hw_nonblock(snd_timer_t *timer, int nonblock)
62 assert(timer);
63 if ((flags = fcntl(timer->poll_fd, F_GETFL)) < 0)
69 if (fcntl(timer->poll_fd, F_SETFL, flags) < 0)
74 static int snd_timer_hw_async(snd_timer_t *timer, int sig, pid_t pid)
79 assert(timer);
80 fd = timer->poll_fd;
300 int _snd_timer_hw_open(snd_timer_t **timer, char *name,
359 return snd_timer_hw_open(timer, name, dev_class, dev_sclass, card, device, subdevice, mode);