Lines Matching refs:snd_card
39 static struct snd_card *snd_cards[SNDRV_CARDS];
85 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
127 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
137 static int snd_card_init(struct snd_card *card, struct device *parent,
140 static int snd_card_do_free(struct snd_card *card);
165 struct snd_card **card_ret) in snd_card_new()
167 struct snd_card *card; in snd_card_new()
215 struct snd_card **card_ret) in snd_devm_card_new()
217 struct snd_card *card; in snd_devm_card_new()
238 static int snd_card_init(struct snd_card *card, struct device *parent, in snd_card_init()
248 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_init()
342 struct snd_card *snd_card_ref(int idx) in snd_card_ref()
344 struct snd_card *card; in snd_card_ref()
454 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
526 void snd_card_disconnect_sync(struct snd_card *card) in snd_card_disconnect_sync()
546 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
580 int snd_card_free_when_closed(struct snd_card *card) in snd_card_free_when_closed()
603 int snd_card_free(struct snd_card *card) in snd_card_free()
642 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok()
656 static void copy_valid_id_string(struct snd_card *card, const char *src, in copy_valid_id_string()
676 static void snd_card_set_id_no_lock(struct snd_card *card, const char *src, in snd_card_set_id_no_lock()
732 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
746 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_show()
753 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_store()
784 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in number_show()
805 int snd_card_add_dev_attr(struct snd_card *card, in snd_card_add_dev_attr()
839 int snd_card_register(struct snd_card *card) in snd_card_register()
902 struct snd_card *card; in snd_card_info_read()
927 struct snd_card *card; in snd_card_info_read_oss()
950 struct snd_card *card; in snd_card_module_info_read()
998 int snd_component_add(struct snd_card *card, const char *component) in snd_component_add()
1030 int snd_card_file_add(struct snd_card *card, struct file *file) in snd_card_file_add()
1066 int snd_card_file_remove(struct snd_card *card, struct file *file) in snd_card_file_remove()
1112 int snd_power_ref_and_wait(struct snd_card *card) in snd_power_ref_and_wait()
1148 int snd_power_wait(struct snd_card *card) in snd_power_wait()