core.h (4b440be667c6187717c99e4d427119fa415ced29) | core.h (0fcd9f4b3c60382205e5819c456aa9ea17b6f20f) |
---|---|
1#ifndef __SOUND_CORE_H 2#define __SOUND_CORE_H 3 4/* 5 * Main header file for the ALSA driver 6 * Copyright (c) 1994-2001 by Jaroslav Kysela <perex@perex.cz> 7 * 8 * --- 95 unchanged lines hidden (view full) --- 104 space */ 105 struct module *module; /* top-level module */ 106 107 void *private_data; /* private data for soundcard */ 108 void (*private_free) (struct snd_card *card); /* callback for freeing of 109 private data */ 110 struct list_head devices; /* devices */ 111 | 1#ifndef __SOUND_CORE_H 2#define __SOUND_CORE_H 3 4/* 5 * Main header file for the ALSA driver 6 * Copyright (c) 1994-2001 by Jaroslav Kysela <perex@perex.cz> 7 * 8 * --- 95 unchanged lines hidden (view full) --- 104 space */ 105 struct module *module; /* top-level module */ 106 107 void *private_data; /* private data for soundcard */ 108 void (*private_free) (struct snd_card *card); /* callback for freeing of 109 private data */ 110 struct list_head devices; /* devices */ 111 |
112 struct device ctl_dev; /* control device */ |
|
112 unsigned int last_numid; /* last used numeric ID */ 113 struct rw_semaphore controls_rwsem; /* controls list lock */ 114 rwlock_t ctl_files_rwlock; /* ctl_files list lock */ 115 int controls_count; /* count of all controls */ 116 int user_ctl_count; /* count of all user controls */ 117 struct list_head controls; /* all controls for this card */ 118 struct list_head ctl_files; /* active control files */ 119 struct mutex user_ctl_lock; /* protects user controls against --- 371 unchanged lines hidden --- | 113 unsigned int last_numid; /* last used numeric ID */ 114 struct rw_semaphore controls_rwsem; /* controls list lock */ 115 rwlock_t ctl_files_rwlock; /* ctl_files list lock */ 116 int controls_count; /* count of all controls */ 117 int user_ctl_count; /* count of all user controls */ 118 struct list_head controls; /* all controls for this card */ 119 struct list_head ctl_files; /* active control files */ 120 struct mutex user_ctl_lock; /* protects user controls against --- 371 unchanged lines hidden --- |