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()
221 struct snd_card **card_ret) in snd_devm_card_new()
223 struct snd_card *card; in snd_devm_card_new()
257 struct snd_card *card; in snd_card_free_on_error()
268 static int snd_card_init(struct snd_card *card, struct device *parent, in snd_card_init()
278 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_init()
380 struct snd_card *snd_card_ref(int idx) in snd_card_ref()
382 struct snd_card *card; in snd_card_ref()
492 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
564 void snd_card_disconnect_sync(struct snd_card *card) in snd_card_disconnect_sync()
584 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
620 int snd_card_free_when_closed(struct snd_card *card) in snd_card_free_when_closed()
643 int snd_card_free(struct snd_card *card) in snd_card_free()
682 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok()
696 static void copy_valid_id_string(struct snd_card *card, const char *src, in copy_valid_id_string()
716 static void snd_card_set_id_no_lock(struct snd_card *card, const char *src, in snd_card_set_id_no_lock()
772 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
786 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_show()
793 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_store()
824 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in number_show()
847 int snd_card_add_dev_attr(struct snd_card *card, in snd_card_add_dev_attr()
881 int snd_card_register(struct snd_card *card) in snd_card_register()
944 struct snd_card *card; in snd_card_info_read()
969 struct snd_card *card; in snd_card_info_read_oss()
992 struct snd_card *card; in snd_card_module_info_read()
1040 int snd_component_add(struct snd_card *card, const char *component) in snd_component_add()
1072 int snd_card_file_add(struct snd_card *card, struct file *file) in snd_card_file_add()
1108 int snd_card_file_remove(struct snd_card *card, struct file *file) in snd_card_file_remove()
1154 int snd_power_ref_and_wait(struct snd_card *card) in snd_power_ref_and_wait()
1175 int snd_power_wait(struct snd_card *card) in snd_power_wait()