Lines Matching defs:timer
29 #define SNDRV_FILE_TIMER ALSA_DEVICE_DIRECTORY "timer"
52 static int snd_timer_hw_nonblock(snd_timer_t *timer, int nonblock)
55 assert(timer);
56 if ((flags = fcntl(timer->poll_fd, F_GETFL)) < 0)
62 if (fcntl(timer->poll_fd, F_SETFL, flags) < 0)
67 static int snd_timer_hw_async(snd_timer_t *timer, int sig, pid_t pid)
72 assert(timer);
73 fd = timer->poll_fd;
284 int _snd_timer_hw_open(snd_timer_t **timer, char *name,
333 return snd_timer_hw_open(timer, name, dev_class, dev_sclass, card, device, subdevice, mode);