Lines Matching refs:snd_card
87 struct snd_card *card; /* card which holds this device */
107 struct snd_card { struct
121 void (*private_free) (struct snd_card *card); /* callback for freeing of argument
162 static inline void snd_power_lock(struct snd_card *card) in snd_power_lock() argument
167 static inline void snd_power_unlock(struct snd_card *card) in snd_power_unlock()
172 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state()
177 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state()
184 int snd_power_wait(struct snd_card *card, unsigned int power_state);
190 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait()
206 static inline struct device *snd_card_get_device_link(struct snd_card *card) in snd_card_get_device_link()
223 int snd_register_device_for_dev(int type, struct snd_card *card,
247 static inline int snd_register_device(int type, struct snd_card *card, int dev, in snd_register_device()
257 int snd_unregister_device(int type, struct snd_card *card, int dev);
259 int snd_add_device_sysfs_file(int type, struct snd_card *card, int dev,
263 int snd_register_oss_device(int type, struct snd_card *card, int dev,
266 int snd_unregister_oss_device(int type, struct snd_card *card, int dev);
290 extern struct snd_card *snd_cards[SNDRV_CARDS];
296 extern int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int cmd);
299 struct snd_card *snd_card_new(int idx, const char *id,
301 int snd_card_disconnect(struct snd_card *card);
302 int snd_card_free(struct snd_card *card);
303 int snd_card_free_when_closed(struct snd_card *card);
304 int snd_card_register(struct snd_card *card);
307 int snd_component_add(struct snd_card *card, const char *component);
308 int snd_card_file_add(struct snd_card *card, struct file *file);
309 int snd_card_file_remove(struct snd_card *card, struct file *file);
317 int snd_device_new(struct snd_card *card, snd_device_type_t type,
319 int snd_device_register(struct snd_card *card, void *device_data);
320 int snd_device_register_all(struct snd_card *card);
321 int snd_device_disconnect(struct snd_card *card, void *device_data);
322 int snd_device_disconnect_all(struct snd_card *card);
323 int snd_device_free(struct snd_card *card, void *device_data);
324 int snd_device_free_all(struct snd_card *card, snd_device_cmd_t cmd);