#include <linux/delay.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/string.h>
#include <sound/core.h>
#include <sound/timer.h>
#include <sound/control.h>
#include <sound/info.h>
#include <sound/minors.h>
#include <sound/initval.h>
#include <linux/kmod.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>, Takashi Iwai <[email protected]>") |
|
| MODULE_DESCRIPTION ("ALSA timer interface") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (timer_limit, int, 0444) |
|
| MODULE_PARM_DESC (timer_limit,"Maximum global timers in system.") |
|
| module_param (timer_tstamp_monotonic, int, 0444) |
|
| MODULE_PARM_DESC (timer_tstamp_monotonic,"Use posix monotonic clock source for timestamps (default).") |
|
| MODULE_ALIAS_CHARDEV (CONFIG_SND_MAJOR, SNDRV_MINOR_TIMER) |
|
| MODULE_ALIAS ("devname:snd/timer") |
|
int | snd_timer_open (struct snd_timer_instance **ti, char *owner, struct snd_timer_id *tid, unsigned int slave_id) |
|
int | snd_timer_close (struct snd_timer_instance *timeri) |
|
unsigned long | snd_timer_resolution (struct snd_timer_instance *timeri) |
|
int | snd_timer_start (struct snd_timer_instance *timeri, unsigned int ticks) |
|
int | snd_timer_stop (struct snd_timer_instance *timeri) |
|
int | snd_timer_continue (struct snd_timer_instance *timeri) |
|
int | snd_timer_pause (struct snd_timer_instance *timeri) |
|
void | snd_timer_interrupt (struct snd_timer *timer, unsigned long ticks_left) |
|
int | snd_timer_new (struct snd_card *card, char *id, struct snd_timer_id *tid, struct snd_timer **rtimer) |
|
void | snd_timer_notify (struct snd_timer *timer, int event, struct timespec *tstamp) |
|
int | snd_timer_global_new (char *id, int device, struct snd_timer **rtimer) |
|
int | snd_timer_global_free (struct snd_timer *timer) |
|
int | snd_timer_global_register (struct snd_timer *timer) |
|
#define DEFAULT_TIMER_LIMIT 1 |
#define snd_timer_proc_done |
( |
| ) |
|
#define snd_timer_proc_init |
( |
| ) |
|
#define snd_timer_user_ioctl_compat NULL |
- Enumerator:
SNDRV_TIMER_IOCTL_START_OLD |
|
SNDRV_TIMER_IOCTL_STOP_OLD |
|
SNDRV_TIMER_IOCTL_CONTINUE_OLD |
|
SNDRV_TIMER_IOCTL_PAUSE_OLD |
|
Definition at line 1768 of file timer.c.
MODULE_ALIAS |
( |
"devname:snd/timer" |
| ) |
|
MODULE_AUTHOR |
( |
"Jaroslav Kysela <[email protected]> |
, |
|
|
Takashi Iwai< tiwai @suse.de >" |
|
|
) |
| |
module_param |
( |
timer_limit |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
timer_tstamp_monotonic |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
timer_limit |
, |
|
|
"Maximum global timers in system." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
timer_tstamp_monotonic |
, |
|
|
"Use posix monotonic clock source for timestamps (default)." |
|
|
) |
| |