25 |
#include <linux/sched.h> /* wake_up() */ |
#include <linux/sched.h> /* wake_up() */ |
26 |
#include <asm/semaphore.h> /* struct semaphore */ |
#include <asm/semaphore.h> /* struct semaphore */ |
27 |
#include <linux/rwsem.h> /* struct rw_semaphore */ |
#include <linux/rwsem.h> /* struct rw_semaphore */ |
28 |
|
#include <linux/workqueue.h> /* struct workqueue_struct */ |
29 |
|
|
30 |
/* Typedef's */ |
/* Typedef's */ |
31 |
typedef struct timespec snd_timestamp_t; |
typedef struct timespec snd_timestamp_t; |
159 |
spinlock_t files_lock; /* lock the files for this card */ |
spinlock_t files_lock; /* lock the files for this card */ |
160 |
int shutdown; /* this card is going down */ |
int shutdown; /* this card is going down */ |
161 |
wait_queue_head_t shutdown_sleep; |
wait_queue_head_t shutdown_sleep; |
162 |
|
struct work_struct free_workq; /* for free in workqueue */ |
163 |
|
|
164 |
#ifdef CONFIG_PM |
#ifdef CONFIG_PM |
165 |
int (*set_power_state) (snd_card_t *card, unsigned int state); |
int (*set_power_state) (snd_card_t *card, unsigned int state); |
222 |
/* sound.c */ |
/* sound.c */ |
223 |
|
|
224 |
extern int snd_ecards_limit; |
extern int snd_ecards_limit; |
|
extern int device_mode; |
|
|
extern int device_gid; |
|
|
extern int device_uid; |
|
225 |
|
|
226 |
void snd_request_card(int card); |
void snd_request_card(int card); |
227 |
|
|