Lines Matching refs:card_dev
131 dev->parent = &card->card_dev; in snd_device_initialize()
332 device_initialize(&card->card_dev); in snd_card_init()
333 card->card_dev.parent = parent; in snd_card_init()
334 card->card_dev.class = sound_class; in snd_card_init()
335 card->card_dev.release = release_card_device; in snd_card_init()
336 card->card_dev.groups = card->dev_groups; in snd_card_init()
338 err = kobject_set_name(&card->card_dev.kobj, "card%d", idx); in snd_card_init()
343 dev_driver_string(card->dev), dev_name(&card->card_dev)); in snd_card_init()
367 put_device(&card->card_dev); in snd_card_init()
387 get_device(&card->card_dev); in snd_card_ref()
537 device_del(&card->card_dev); in snd_card_disconnect()
625 put_device(&card->card_dev); in snd_card_free_when_closed()
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()
889 err = device_add(&card->card_dev); in snd_card_register()
1089 get_device(&card->card_dev); in snd_card_file_add()
1133 put_device(&card->card_dev); in snd_card_file_remove()