Lines Matching refs:snd_card
37 static struct snd_card *snd_cards[SNDRV_CARDS];
83 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
125 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
135 static int snd_card_do_free(struct snd_card *card);
162 struct snd_card **card_ret) in snd_card_new()
164 struct snd_card *card; in snd_card_new()
177 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_new()
267 struct snd_card *snd_card_ref(int idx) in snd_card_ref()
269 struct snd_card *card; in snd_card_ref()
379 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
449 void snd_card_disconnect_sync(struct snd_card *card) in snd_card_disconnect_sync()
469 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
497 int snd_card_free_when_closed(struct snd_card *card) in snd_card_free_when_closed()
520 int snd_card_free(struct snd_card *card) in snd_card_free()
549 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok()
563 static void copy_valid_id_string(struct snd_card *card, const char *src, in copy_valid_id_string()
583 static void snd_card_set_id_no_lock(struct snd_card *card, const char *src, in snd_card_set_id_no_lock()
639 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
654 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in card_id_show_attr()
662 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in card_id_store_attr()
694 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in card_number_show_attr()
715 int snd_card_add_dev_attr(struct snd_card *card, in snd_card_add_dev_attr()
744 int snd_card_register(struct snd_card *card) in snd_card_register()
797 struct snd_card *card; in snd_card_info_read()
821 struct snd_card *card; in snd_card_info_read_oss()
843 struct snd_card *card; in snd_card_module_info_read()
890 int snd_component_add(struct snd_card *card, const char *component) in snd_component_add()
922 int snd_card_file_add(struct snd_card *card, struct file *file) in snd_card_file_add()
958 int snd_card_file_remove(struct snd_card *card, struct file *file) in snd_card_file_remove()
998 int snd_power_wait(struct snd_card *card, unsigned int power_state) in snd_power_wait()