Lines Matching refs:snd_card
52 struct snd_card *snd_cards[SNDRV_CARDS];
99 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
110 static int init_info_for_card(struct snd_card *card) in init_info_for_card()
166 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
176 static int snd_card_do_free(struct snd_card *card);
203 struct snd_card **card_ret) in snd_card_new()
205 struct snd_card *card; in snd_card_new()
218 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_new()
393 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
455 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
484 int snd_card_free_when_closed(struct snd_card *card) in snd_card_free_when_closed()
507 int snd_card_free(struct snd_card *card) in snd_card_free()
537 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok()
551 static void copy_valid_id_string(struct snd_card *card, const char *src, in copy_valid_id_string()
571 static void snd_card_set_id_no_lock(struct snd_card *card, const char *src, in snd_card_set_id_no_lock()
627 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
642 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in card_id_show_attr()
650 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in card_id_store_attr()
682 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in card_number_show_attr()
703 int snd_card_add_dev_attr(struct snd_card *card, in snd_card_add_dev_attr()
732 int snd_card_register(struct snd_card *card) in snd_card_register()
783 struct snd_card *card; in snd_card_info_read()
807 struct snd_card *card; in snd_card_info_read_oss()
829 struct snd_card *card; in snd_card_module_info_read()
876 int snd_component_add(struct snd_card *card, const char *component) in snd_component_add()
909 int snd_card_file_add(struct snd_card *card, struct file *file) in snd_card_file_add()
946 int snd_card_file_remove(struct snd_card *card, struct file *file) in snd_card_file_remove()
987 int snd_power_wait(struct snd_card *card, unsigned int power_state) in snd_power_wait()