/linux/sound/soc/ |
H A D | soc-card-test.c | 13 struct device *card_dev; member 85 priv->card_dev = kunit_device_register(test, "sound-soc-card-test"); in soc_card_test_case_init() 86 priv->card_dev = get_device(priv->card_dev); in soc_card_test_case_init() 87 if (!priv->card_dev) in soc_card_test_case_init() 91 priv->card->dev = priv->card_dev; in soc_card_test_case_init() 96 put_device(priv->card_dev); in soc_card_test_case_init() 110 if (priv->card_dev) in soc_card_test_case_exit() 111 put_device(priv->card_dev); in soc_card_test_case_exit()
|
/linux/sound/core/ |
H A D | init.c | 137 dev->parent = &card->card_dev; in snd_device_alloc() 336 device_initialize(&card->card_dev); in snd_card_init() 337 card->card_dev.parent = parent; in snd_card_init() 338 card->card_dev.class = &sound_class; in snd_card_init() 339 card->card_dev.release = release_card_device; in snd_card_init() 340 card->card_dev.groups = card->dev_groups; in snd_card_init() 342 err = kobject_set_name(&card->card_dev.kobj, "card%d", idx); in snd_card_init() 347 dev_driver_string(card->dev), dev_name(&card->card_dev)); in snd_card_init() 363 card->debugfs_root = debugfs_create_dir(dev_name(&card->card_dev), in snd_card_init() 371 put_device(&card->card_dev); in snd_card_init() [all...] |
H A D | seq_device.c | 226 dev->dev.parent = &card->card_dev; in snd_seq_device_new()
|
H A D | sound_oss.c | 37 get_device(&mreg->card_ptr->card_dev); in snd_lookup_oss_minor_data()
|
H A D | sound.c | 111 get_device(&mreg->card_ptr->card_dev); in snd_lookup_minor_data()
|
H A D | timer.c | 363 get_device(&timer->card->card_dev); in snd_timer_open() 364 card_dev_to_put = &timer->card->card_dev; in snd_timer_open() 460 *card_devp_to_put = &timer->card->card_dev; in snd_timer_close_locked()
|
H A D | control_led.c | 673 WARN(sysfs_create_link(&led_card->dev.kobj, &card->card_dev.kobj, "card"), in snd_ctl_led_sysfs_add()
|
/linux/include/sound/ |
H A D | core.h | 123 struct device card_dev; /* cardX object for sysfs */ member 150 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev) 228 return card ? &card->card_dev : NULL; in snd_card_get_device_link() 314 put_device(&card->card_dev); in snd_card_unref()
|
/linux/drivers/misc/genwqe/ |
H A D | Makefile | 7 genwqe_card-objs := card_base.o card_dev.o card_ddcb.o card_sysfs.o \
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw-stream.c | 671 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats() 690 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats() 753 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, len, in fill_stream_formats()
|
H A D | oxfw-spkr.c | 273 spkr = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_spkr), in snd_oxfw_add_spkr()
|
H A D | oxfw-scs1x.c | 374 scs = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_scs1x), in snd_oxfw_scs1x_add()
|
/linux/sound/firewire/motu/ |
H A D | motu-command-dsp-message-parser.c | 40 parser = devm_kzalloc(&motu->card->card_dev, sizeof(*parser), GFP_KERNEL); in snd_motu_command_dsp_message_parser_new()
|
H A D | motu-register-dsp-message-parser.c | 104 parser = devm_kzalloc(&motu->card->card_dev, sizeof(*parser), GFP_KERNEL); in snd_motu_register_dsp_message_parser_new()
|
/linux/sound/pci/hda/ |
H A D | hda_beep.c | 245 input_dev->dev.parent = &codec->card->card_dev; in snd_hda_attach_beep_device()
|
/linux/sound/xen/ |
H A D | xen_snd_front_alsa.c | 698 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance() 708 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
|
/linux/sound/firewire/fireworks/ |
H A D | fireworks.c | 242 efw->resp_buf = devm_kzalloc(&card->card_dev, snd_efw_resp_buf_size, GFP_KERNEL); in efw_probe()
|
/linux/sound/firewire/bebob/ |
H A D | bebob_maudio.c | 263 params = devm_kzalloc(&bebob->card->card_dev, in snd_bebob_maudio_special_discover()
|