Lines Matching defs:snd_card

80 struct snd_card {  struct
95 void (*private_free) (struct snd_card *card); /* callback for freeing of argument
97 struct list_head devices; /* devices */
99 struct device *ctl_dev; /* control device */
100 unsigned int last_numid; /* last used numeric ID */
101 struct rw_semaphore controls_rwsem; /* controls lock (list and values) */
102 rwlock_t ctl_files_rwlock; /* ctl_files list lock */
103 int controls_count; /* count of all controls */
104 size_t user_ctl_alloc_size; // current memory allocation by user controls.
105 struct list_head controls; /* all controls for this card */
106 struct list_head ctl_files; /* active control files */
108 struct xarray ctl_numids; /* hash table for numids */
109 struct xarray ctl_hash; /* hash table for ctl id matching */
110 bool ctl_hash_collision; /* ctl_hash collision seen? */
113 struct snd_info_entry *proc_root; /* root for soundcard specific files */
114 struct proc_dir_entry *proc_root_link; /* number link to real id */
116 struct list_head files_list; /* all files associated to this card */
117 struct snd_shutdown_f_ops *s_f_ops; /* file operations in the shutdown
119 spinlock_t files_lock; /* lock the files for this card */
120 int shutdown; /* this card is going down */
121 struct completion *release_completion;
122 struct device *dev; /* device assigned to this card */
123 struct device card_dev; /* cardX object for sysfs */
124 const struct attribute_group *dev_groups[4]; /* assigned sysfs attr */
125 bool registered; /* card_dev is registered? */
126 bool managed; /* managed via devres */
150 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev) argument