Home | History | Annotate | Download | only in sound

Lines Matching refs:snd_card

78 	struct snd_card *card;		/* card which holds this device */
98 struct snd_card {
112 void (*private_free) (struct snd_card *card); /* callback for freeing of
153 static inline void snd_power_lock(struct snd_card *card)
158 static inline void snd_power_unlock(struct snd_card *card)
163 static inline unsigned int snd_power_get_state(struct snd_card *card)
168 static inline void snd_power_change_state(struct snd_card *card, unsigned int state)
175 int snd_power_wait(struct snd_card *card, unsigned int power_state);
181 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
197 static inline struct device *snd_card_get_device_link(struct snd_card *card)
214 int snd_register_device_for_dev(int type, struct snd_card *card,
238 static inline int snd_register_device(int type, struct snd_card *card, int dev,
248 int snd_unregister_device(int type, struct snd_card *card, int dev);
250 int snd_add_device_sysfs_file(int type, struct snd_card *card, int dev,
254 int snd_register_oss_device(int type, struct snd_card *card, int dev,
257 int snd_unregister_oss_device(int type, struct snd_card *card, int dev);
281 extern struct snd_card *snd_cards[SNDRV_CARDS];
287 extern int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int cmd);
290 struct snd_card *snd_card_new(int idx, const char *id,
292 int snd_card_disconnect(struct snd_card *card);
293 int snd_card_free(struct snd_card *card);
294 int snd_card_free_when_closed(struct snd_card *card);
295 int snd_card_register(struct snd_card *card);
298 int snd_component_add(struct snd_card *card, const char *component);
299 int snd_card_file_add(struct snd_card *card, struct file *file);
300 int snd_card_file_remove(struct snd_card *card, struct file *file);
308 int snd_device_new(struct snd_card *card, snd_device_type_t type,
310 int snd_device_register(struct snd_card *card, void *device_data);
311 int snd_device_register_all(struct snd_card *card);
312 int snd_device_disconnect(struct snd_card *card, void *device_data);
313 int snd_device_disconnect_all(struct snd_card *card);
314 int snd_device_free(struct snd_card *card, void *device_data);
315 int snd_device_free_all(struct snd_card *card, snd_device_cmd_t cmd);