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 int snd_device_alloc(struct device **dev_p, struct snd_card *card) in snd_device_alloc()
145 static int snd_card_init(struct snd_card *card, struct device *parent,
148 static int snd_card_do_free(struct snd_card *card);
173 struct snd_card **card_ret) in snd_card_new()
175 struct snd_card *card; in snd_card_new()
229 struct snd_card **card_ret) in snd_devm_card_new()
231 struct snd_card *card; in snd_devm_card_new()
265 struct snd_card *card; in snd_card_free_on_error()
276 static int snd_card_init(struct snd_card *card, struct device *parent, in snd_card_init()
283 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_init()
385 struct snd_card *snd_card_ref(int idx) in snd_card_ref()
387 struct snd_card *card; in snd_card_ref()
497 void snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
568 void snd_card_disconnect_sync(struct snd_card *card) in snd_card_disconnect_sync()
580 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
616 void snd_card_free_when_closed(struct snd_card *card) in snd_card_free_when_closed()
640 void snd_card_free(struct snd_card *card) in snd_card_free()
675 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok()
689 static void copy_valid_id_string(struct snd_card *card, const char *src, in copy_valid_id_string()
709 static void snd_card_set_id_no_lock(struct snd_card *card, const char *src, in snd_card_set_id_no_lock()
765 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
779 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_show()
786 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_store()
817 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in number_show()
840 int snd_card_add_dev_attr(struct snd_card *card, in snd_card_add_dev_attr()
874 int snd_card_register(struct snd_card *card) in snd_card_register()
937 struct snd_card *card; in snd_card_info_read()
962 struct snd_card *card; in snd_card_info_read_oss()
985 struct snd_card *card; in snd_card_module_info_read()
1033 int snd_component_add(struct snd_card *card, const char *component) in snd_component_add()
1065 int snd_card_file_add(struct snd_card *card, struct file *file) in snd_card_file_add()
1101 int snd_card_file_remove(struct snd_card *card, struct file *file) in snd_card_file_remove()
1147 int snd_power_ref_and_wait(struct snd_card *card) in snd_power_ref_and_wait()
1168 int snd_power_wait(struct snd_card *card) in snd_power_wait()